We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb5b59d commit 3a571bbCopy full SHA for 3a571bb
phpstan-bootstrap.php
@@ -1,12 +1,12 @@
1
<?php
2
3
-use PHPStanMagento1\Autoload\Magento\ModuleControllerAutoLoader;
+use PHPStanMagento1\Autoload\Magento\ModuleControllerAutoloader;
4
5
if (!class_exists(Mage::class)) {
6
require_once __DIR__ . '/../../../public/app/Mage.php';
7
}
8
9
-(new ModuleControllerAutoLoader('local'))->register();
+(new ModuleControllerAutoloader('local'))->register();
10
11
// workaround Magento's use of date phpdoc typehint for string type
12
// better would be to implement the typehint to make it appear string type
src/Autoload/Magento/ModuleControllerAutoloader.php
@@ -6,7 +6,7 @@
use ReflectionClass;
use Exception;
-class ModuleControllerAutoLoader
+class ModuleControllerAutoloader
{
/**
* @var string
0 commit comments