Skip to content

Commit 6ff0783

Browse files
arrow func return typing
Co-authored-by: Kévin Dunglas <[email protected]>
1 parent c451ff4 commit 6ff0783

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
@@ -157,7 +157,7 @@ private static function extractParameters(string $type, array $values): array
157157
$shortName = (new \ReflectionClass($type))->getShortName();
158158
$parameters[$name] = $isArrayType
159159
? array_map(
160-
static fn (array $values) => Literal::new(
160+
static fn (array $values): Literal => Literal::new(
161161
$shortName,
162162
self::extractParameters($type, $values)
163163
),

0 commit comments

Comments
 (0)