Skip to content

Commit 29f9512

Browse files
authored
add missing inerface type hint on SwaggerDecorator (#1167)
1 parent cfa13f9 commit 29f9512

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
@@ -581,7 +581,7 @@ final class SwaggerDecorator implements NormalizerInterface
581581
$this->decorated = $decorated;
582582
}
583583

584-
public function normalize($object, $format = null, array $context = [])
584+
public function normalize($object, string $format = null, array $context = [])
585585
{
586586
$docs = $this->decorated->normalize($object, $format, $context);
587587

0 commit comments

Comments
 (0)