Skip to content

Commit

Permalink
Changed scalar $value type-hint to scalar|null
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Niedzielski <pawel.niedzielski@ibexa.co>
  • Loading branch information
alongosz and Steveb-p authored Jun 27, 2023
1 parent 6cb1ff5 commit 167e192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contracts/Output/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function valueElement(string $name, $value): void
}

/**
* @phpstan-param scalar $value
* @phpstan-param scalar|null $value
* @phpstan-param array<string, scalar> $attributes
*/
abstract public function startValueElement(string $name, $value, array $attributes = []): void;
Expand Down

0 comments on commit 167e192

Please sign in to comment.