Skip to content

Commit

Permalink
Removed usage of deprecated NullablePropertyTrait in UuidPropertyDesc…
Browse files Browse the repository at this point in the history
…iber
  • Loading branch information
stollr committed Apr 2, 2024
1 parent 1fd45c3 commit 72830ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/PropertyDescriber/UuidPropertyDescriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@

class UuidPropertyDescriber implements PropertyDescriberInterface
{
use NullablePropertyTrait;

public function describe(array $types, OA\Schema $property, array $groups = null, ?OA\Schema $schema = null)
{
$property->type = 'string';
$property->format = 'uuid';
$this->setNullableProperty($types[0], $property, $schema);
}

public function supports(array $types): bool
Expand Down

0 comments on commit 72830ba

Please sign in to comment.