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 40ea773 commit d234983Copy full SHA for d234983
src/StaticMethodMock.php
@@ -23,7 +23,7 @@ public function __construct(string $className)
23
if ($class === $this->className) {
24
$namespace = substr($this->className, 0, strrpos($this->className, '\\') + 0);
25
$shortClassName = substr($this->className, strrpos($this->className, '\\') + 1);
26
- eval('namespace ' . $namespace . ' { class ' . $shortClassName . ' { public static function __callStatic($name, $arguments) { return \MintyPHP\Tests\StaticMethodMock::handleStaticCall(\'' . $this->className . '\', $name, $arguments); } } }');
+ eval('namespace ' . $namespace . ' { class ' . $shortClassName . ' { public static function __callStatic($name, $arguments) { return \MintyPHP\Mocking\StaticMethodMock::handleStaticCall(\'' . $this->className . '\', $name, $arguments); } } }');
27
}
28
};
29
spl_autoload_register(self::$autoloader, true, true);
0 commit comments