Skip to content

Commit

Permalink
Fix PSR-4 autoloading
Browse files Browse the repository at this point in the history
  • Loading branch information
assertchris committed Sep 18, 2018
1 parent 74bf789 commit 0758882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
return;
}

if (!file_exists("{$base}/composer/autoload_psr4.php")) {
if (!file_exists("{$base}/vendor/composer/autoload_psr4.php")) {
return;
}

$definitions = require "{$base}/composer/autoload_psr4.php";
$definitions = require "{$base}/vendor/composer/autoload_psr4.php";

foreach ($definitions as $prefix => $paths) {
$prefixLength = strlen($prefix);
Expand Down

0 comments on commit 0758882

Please sign in to comment.