From a71436a283611ed10eb9c82051f1d1e83f928337 Mon Sep 17 00:00:00 2001 From: Djordy Koert Date: Wed, 19 Jun 2024 14:58:52 +0200 Subject: [PATCH] fix(#2300) --- src/PropertyDescriber/UuidPropertyDescriber.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/PropertyDescriber/UuidPropertyDescriber.php b/src/PropertyDescriber/UuidPropertyDescriber.php index 865124f4f..843d4ef63 100644 --- a/src/PropertyDescriber/UuidPropertyDescriber.php +++ b/src/PropertyDescriber/UuidPropertyDescriber.php @@ -17,7 +17,10 @@ final class UuidPropertyDescriber implements PropertyDescriberInterface { - public function describe(array $types, OA\Schema $property, ?array $groups = null, ?OA\Schema $schema = null) + /** + * @param array $context Context options for describing the property + */ + public function describe(array $types, OA\Schema $property, ?array $groups = null, ?OA\Schema $schema = null, array $context = []) { $property->type = 'string'; $property->format = 'uuid';