Skip to content

Commit

Permalink
Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_…
Browse files Browse the repository at this point in the history
…null_value
  • Loading branch information
nicolas-grekas committed Jan 23, 2024
1 parent ff4bce3 commit abe6d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Comparator/Comparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Comparator
private $target;
private $operator = '==';

public function __construct(string $target = null, string $operator = '==')
public function __construct(?string $target = null, string $operator = '==')
{
if (null === $target) {
trigger_deprecation('symfony/finder', '5.4', 'Constructing a "%s" without setting "$target" is deprecated.', __CLASS__);
Expand Down

0 comments on commit abe6d6f

Please sign in to comment.