Skip to content

Commit

Permalink
fix config scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth committed Aug 27, 2020
1 parent f96c306 commit c5cd3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scanners/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function scan($filename): ?PhConfig
/** @noinspection PhpIncludeInspection */
$config = include($probablyConfig);
if (is_array($config)) {
$config = new Config($config);
$config = new PhConfig($config);
}
} else {
$config = new $adapter($probablyConfig);
Expand Down

0 comments on commit c5cd3e9

Please sign in to comment.