Skip to content

Commit d234983

Browse files
committed
bugfix
1 parent 40ea773 commit d234983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StaticMethodMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(string $className)
2323
if ($class === $this->className) {
2424
$namespace = substr($this->className, 0, strrpos($this->className, '\\') + 0);
2525
$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); } } }');
26+
eval('namespace ' . $namespace . ' { class ' . $shortClassName . ' { public static function __callStatic($name, $arguments) { return \MintyPHP\Mocking\StaticMethodMock::handleStaticCall(\'' . $this->className . '\', $name, $arguments); } } }');
2727
}
2828
};
2929
spl_autoload_register(self::$autoloader, true, true);

0 commit comments

Comments
 (0)