Skip to content

Commit

Permalink
Fix: Add return type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 13, 2024
1 parent e0af30f commit cb17c53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function processNode(

return \array_values(\array_reduce(
$node->params,
function (array $errors, Node\Param $node) use ($scope, $containingClass, $methodName) {
function (array $errors, Node\Param $node) use ($scope, $containingClass, $methodName): array {
$type = $node->type;

if (!$type instanceof Node\Name) {
Expand Down

0 comments on commit cb17c53

Please sign in to comment.