Skip to content

Commit 4abcf57

Browse files
authored
Merge pull request #479 from PHPCSStandards/feature/autoload-consistent-return-value
Autoloader: fix missing return value
2 parents bb267bb + 58410f4 commit 4abcf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function load($class)
7373
// Make sure we don't try to load any of Composer's classes
7474
// while the autoloader is being setup.
7575
if (strpos($class, 'Composer\\') === 0) {
76-
return;
76+
return false;
7777
}
7878

7979
if (strpos(__DIR__, 'phar://') !== 0

0 commit comments

Comments
 (0)