Skip to content

Commit 874ff1c

Browse files
alxvgtTilleuls-Valentin-BOUT
authored andcommitted
add missing inerface type hint on SwaggerDecorator (api-platform#1167)
1 parent df72960 commit 874ff1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ final class SwaggerDecorator implements NormalizerInterface
555555
private NormalizerInterface $decorated
556556
) {}
557557

558-
public function normalize($object, $format = null, array $context = [])
558+
public function normalize($object, string $format = null, array $context = [])
559559
{
560560
$docs = $this->decorated->normalize($object, $format, $context);
561561

0 commit comments

Comments
 (0)