Skip to content

Commit

Permalink
make explicit nullable types in ExpectedValues attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Sep 6, 2024
1 parent bb5ac40 commit 7481959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta/attributes/ExpectedValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
#[Attribute(Attribute::TARGET_FUNCTION|Attribute::TARGET_METHOD|Attribute::TARGET_PARAMETER|Attribute::TARGET_PROPERTY)]
class ExpectedValues
{
public function __construct(array $values = [], array $flags = [], string $valuesFromClass = null, string $flagsFromClass = null) {}
public function __construct(array $values = [], array $flags = [], ?string $valuesFromClass = null, ?string $flagsFromClass = null) {}
}

0 comments on commit 7481959

Please sign in to comment.