Skip to content

Commit

Permalink
修改ComposerHelper::getDirByNamespace匹配有误的BUG (swoft-cloud/swoft-comp…
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored and huangzhhui committed Jul 18, 2018
1 parent 43088e6 commit a30bf58
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Helper/ComposerHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public static function getDirByNamespace(string $namespace): string
$strLen = strlen($prefix);
if ($strLen > $maxLength) {
$dir = current($path) . DIRECTORY_SEPARATOR . substr($namespace, $strLen);
$maxLength = $strLen;
}
}
}
Expand Down

0 comments on commit a30bf58

Please sign in to comment.