Skip to content

Commit 07ada25

Browse files
DQNEOfabpot
authored andcommitted
declare type for arguments of anonymous functions for v2.7
1 parent 51b4c07 commit 07ada25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/DebugCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private function getMetadata($type, $entity)
199199
}
200200

201201
// format args
202-
$args = array_map(function ($param) {
202+
$args = array_map(function (\ReflectionParameter $param) {
203203
if ($param->isDefaultValueAvailable()) {
204204
return $param->getName().' = '.json_encode($param->getDefaultValue());
205205
}

0 commit comments

Comments
 (0)