Skip to content

Commit 1736be2

Browse files
arrow func return typing
Co-authored-by: Kévin Dunglas <[email protected]>
1 parent 3e69994 commit 1736be2

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) use ($class) {
114+
function (?string $type): void use ($class) {
115115
if (null !== $type) {
116116
$class->addUse(new Use_(str_replace('[]', '', $type)));
117117
}

0 commit comments

Comments
 (0)