Skip to content

Commit 879bfaa

Browse files
author
Oleksii Korshenko
committed
Merge remote-tracking branch 'origin/MAGETWO-63930' into develop-prs
2 parents a940aa1 + 22f0cfc commit 879bfaa

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)