Skip to content

Commit

Permalink
add missing question mark
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Feb 11, 2025
1 parent c6c9acb commit f155f88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions src/Visitor/NullVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@

namespace PSX\Schema\Visitor;

use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\ArrayTypeInterface;
use PSX\Schema\Type\BooleanPropertyType;
use PSX\Schema\Type\IntegerPropertyType;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\MapTypeInterface;
use PSX\Schema\Type\NumberPropertyType;
use PSX\Schema\Type\StringPropertyType;
Expand Down
6 changes: 1 addition & 5 deletions src/Visitor/TypeVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@

namespace PSX\Schema\Visitor;

use PSX\DateTime\Duration;
use PSX\DateTime\LocalDate;
use PSX\DateTime\LocalDateTime;
use PSX\DateTime\LocalTime;
use PSX\DateTime\Period;
use PSX\Record\Record;
use PSX\Schema\Exception\TraverserException;
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\ArrayTypeInterface;
use PSX\Schema\Type\BooleanPropertyType;
use PSX\Schema\Type\DefinitionTypeAbstract;
Expand All @@ -40,7 +37,6 @@
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\Validation\ValidatorInterface;
use PSX\Schema\VisitorInterface;
use PSX\Uri\Uri;

/**
* TypeVisitor
Expand All @@ -53,7 +49,7 @@ class TypeVisitor implements VisitorInterface
{
private ?ValidatorInterface $validator;

public function __construct(ValidatorInterface $validator = null)
public function __construct(?ValidatorInterface $validator = null)
{
$this->validator = $validator;
}
Expand Down

0 comments on commit f155f88

Please sign in to comment.