Skip to content

Commit 3babf20

Browse files
committed
added missing typehints
1 parent b13bb73 commit 3babf20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpGenerator/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function fromClassReflection(\ReflectionClass $from): ClassType
3030

3131
$ifaces = $from->getInterfaceNames();
3232
foreach ($ifaces as $iface) {
33-
$ifaces = array_filter($ifaces, function ($item) use ($iface) {
33+
$ifaces = array_filter($ifaces, function (string $item) use ($iface): bool {
3434
return !is_subclass_of($iface, $item);
3535
});
3636
}

0 commit comments

Comments
 (0)