Skip to content

Commit 61ad601

Browse files
DQNEOfabpot
authored andcommitted
declare type for arguments of anonymous functions for v2.7
1 parent 4140d87 commit 61ad601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mapping/Factory/LazyLoadingMetadataFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ private function mergeConstraints(ClassMetadata $metadata)
124124

125125
$interfaces = $metadata->getReflectionClass()->getInterfaces();
126126

127-
$interfaces = array_filter($interfaces, function ($interface) use ($parent, $interfaces) {
127+
$interfaces = array_filter($interfaces, function (\ReflectionClass $interface) use ($parent, $interfaces) {
128128
$interfaceName = $interface->getName();
129129

130130
if ($parent && $parent->implementsInterface($interfaceName)) {

0 commit comments

Comments
 (0)