Skip to content

Commit 3a571bb

Browse files
Fix casing of class
The issue doesn't appear on case-insensitive filesystems.
1 parent cb5b59d commit 3a571bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

phpstan-bootstrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

3-
use PHPStanMagento1\Autoload\Magento\ModuleControllerAutoLoader;
3+
use PHPStanMagento1\Autoload\Magento\ModuleControllerAutoloader;
44

55
if (!class_exists(Mage::class)) {
66
require_once __DIR__ . '/../../../public/app/Mage.php';
77
}
88

9-
(new ModuleControllerAutoLoader('local'))->register();
9+
(new ModuleControllerAutoloader('local'))->register();
1010

1111
// workaround Magento's use of date phpdoc typehint for string type
1212
// better would be to implement the typehint to make it appear string type

src/Autoload/Magento/ModuleControllerAutoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use ReflectionClass;
77
use Exception;
88

9-
class ModuleControllerAutoLoader
9+
class ModuleControllerAutoloader
1010
{
1111
/**
1212
* @var string

0 commit comments

Comments
 (0)