Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Feb 29, 2024
1 parent 08560a7 commit 41393de
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Dto/Collection/PetCollectionFilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

final class PetCollectionFilters implements \JsonSerializable
{
public null|string $name;
public ?string $name;

/**
* @return array{name: null|string}
Expand Down
2 changes: 1 addition & 1 deletion src/Dto/Collection/PetCollectionSort.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

final class PetCollectionSort implements \JsonSerializable
{
public null|string $name = null;
public ?string $name = null;

/**
* @return array{name: null|string}
Expand Down
2 changes: 1 addition & 1 deletion src/Dto/Model/PetRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class PetRequest implements ModelRequestInterface
{
public string $name;

public null|string $tag;
public ?string $tag;

/**
* @var array<VaccinationRequest>
Expand Down
4 changes: 2 additions & 2 deletions src/Dto/Model/PetResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ final class PetResponse implements \JsonSerializable

public string $createdAt;

public null|string $updatedAt;
public ?string $updatedAt;

public string $name;

public null|string $tag;
public ?string $tag;

/**
* @var array<VaccinationResponse>
Expand Down
8 changes: 4 additions & 4 deletions src/Parsing/PetParsing.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

final class PetParsing implements ParsingInterface
{
private null|ObjectSchemaInterface $collectionRequestSchema = null;
private ?ObjectSchemaInterface $collectionRequestSchema = null;

private null|ObjectSchemaInterface $collectionResponseSchema = null;
private ?ObjectSchemaInterface $collectionResponseSchema = null;

private null|ObjectSchemaInterface $modelRequestSchema = null;
private ?ObjectSchemaInterface $modelRequestSchema = null;

private null|ObjectSchemaInterface $modelResponseSchema = null;
private ?ObjectSchemaInterface $modelResponseSchema = null;

public function __construct(
private ParserInterface $parser,
Expand Down

0 comments on commit 41393de

Please sign in to comment.