Skip to content

Commit 7e3390d

Browse files
authored
#25806 Reflection: Fix null as first return type
1 parent 253f881 commit 7e3390d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Reflection/TypeProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public function getGetterReturnType($methodReflection)
288288
$types = $returnAnnotation->getTypes();
289289
$returnType = null;
290290
foreach ($types as $type) {
291-
if ($type != 'null') {
291+
if ($type !== 'null') {
292292
$returnType = $type;
293293
break;
294294
}

0 commit comments

Comments
 (0)