Skip to content

Commit 22f0cfc

Browse files
committed
MAGETWO-63930: Merge branch 'patch-2' of github.com:qrz-io/magento2 into MAGETWO-63930
2 parents e7f5340 + fb0e089 commit 22f0cfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Code/Reader/ArgumentsReader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getConstructorArguments(\ReflectionClass $class, $groupByPositio
2525
/**
2626
* Skip native PHP types, classes without constructor
2727
*/
28-
if (!$class->getFileName() || false == $class->hasMethod(
28+
if ($class->isInterface() || !$class->getFileName() || false == $class->hasMethod(
2929
'__construct'
3030
) || !$inherited && $class->getConstructor()->class != $class->getName()
3131
) {

0 commit comments

Comments
 (0)