Skip to content
This repository was archived by the owner on May 13, 2021. It is now read-only.

Commit a001289

Browse files
committed
Removed unused variable
1 parent 4233ac3 commit a001289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WillemJan/CheckBundles/Util/ComposerHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ public function getFQCN(PackageInterface $package, $bundleFileName)
126126
{
127127
$bundleName = substr(basename($bundleFileName), 0, -4);
128128
$autoload = $package->getAutoload();
129+
129130
if (isset($autoload['psr-0'])) {
130131
$namespace = key($autoload['psr-0']);
131-
$target = current($autoload['psr-0']);
132132

133133
return rtrim($namespace, '\\') . '\\' . $bundleName;
134134
}

0 commit comments

Comments
 (0)