Skip to content

Commit

Permalink
fix(#2300)
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert authored Jun 19, 2024
1 parent 221a1fe commit a71436a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/PropertyDescriber/UuidPropertyDescriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, mixed> $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';
Expand Down

0 comments on commit a71436a

Please sign in to comment.