diff --git a/src/PropertyDescriber/RequiredPropertyDescriber.php b/src/PropertyDescriber/RequiredPropertyDescriber.php index f4d88fc41..a51f31509 100644 --- a/src/PropertyDescriber/RequiredPropertyDescriber.php +++ b/src/PropertyDescriber/RequiredPropertyDescriber.php @@ -66,7 +66,7 @@ public function describe(array $types, OA\Schema $property, ?array $groups = nul $schema->required = array_values(array_unique($existingRequiredFields)); } - public function supports(array $types): bool + public function supports(array $types, array $context = []): bool { return true; }