Skip to content

Commit 8cbb223

Browse files
committed
MAGETWO-67626: Auto-generated classes behave differently in unit tests and application
- fixed code style
1 parent 1052d28 commit 8cbb223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/TestFramework/Unit/Autoloader/GeneratedClassesAutoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(array $generators, Io $generatorIo)
3434
throw new \InvalidArgumentException(
3535
sprintf(
3636
"Instance of '%s' is expected, instance of '%s' is received",
37-
'\Magento\Framework\TestFramework\Unit\Autoloader\GeneratorInterface',
37+
\Magento\Framework\TestFramework\Unit\Autoloader\GeneratorInterface::class,
3838
get_class($generator)
3939
)
4040
);

0 commit comments

Comments
 (0)