Skip to content

Commit 79524b5

Browse files
committed
anon func return typing
1 parent 336fab7 commit 79524b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AttributeGenerator/ApiPlatformCoreAttributeGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function generateClassAttributes(Class_ $class): array
111111
$class->addUse(new Use_(Operation::class));
112112
array_walk_recursive(
113113
self::$parameterTypes,
114-
function (?string $type): void use ($class) {
114+
function (?string $type) use ($class): void {
115115
if (null !== $type) {
116116
$class->addUse(new Use_(str_replace('[]', '', $type)));
117117
}

0 commit comments

Comments
 (0)