Skip to content

Commit a58d9dc

Browse files
Merge branch '3.4' into 4.3
* 3.4: Fix return statements [TwigBridge] add missing dep Add false type to ChoiceListFactoryInterface::createView $label argument
2 parents 23d3999 + 76a5165 commit a58d9dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LazyProxy/ProxyHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static function getTypeHint(\ReflectionFunctionAbstract $r, \ReflectionPa
2929
$type = $r->getReturnType();
3030
}
3131
if (!$type) {
32-
return;
32+
return null;
3333
}
3434
if (!\is_string($type)) {
3535
$name = $type->getName();
@@ -45,7 +45,7 @@ public static function getTypeHint(\ReflectionFunctionAbstract $r, \ReflectionPa
4545
return $prefix.$name;
4646
}
4747
if (!$r instanceof \ReflectionMethod) {
48-
return;
48+
return null;
4949
}
5050
if ('self' === $lcName) {
5151
return $prefix.$r->getDeclaringClass()->name;

0 commit comments

Comments
 (0)