Skip to content

Commit

Permalink
Update ExpectedValues.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thesebas authored and isfedorov committed Oct 1, 2024
1 parent b60ab73 commit 7145ff1
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 @@ -29,7 +29,7 @@
* <li><b>#[ExpectedValues(values: MY_CONST]</b> - default value of MY_CONST is expected to be array creation expression, in this case value of MY_CONST will be inlined</li>
* <li><b>#[ExpectedValues(flags: [1,2,3])]</b> means that a bitmask of the following is expected: `1`, `2`, or `3`</li>
* <li><b>#[ExpectedValues(valuesFromClass: MyClass::class)]</b> means that one of the constants from the class `MyClass` is expected</li>
* <li><b>#[ExpectedValues(flagsFromClass: ExpectedValues::class)]</b> means that a bitmask of the constants from the class `MyClass` is expected</li>
* <li><b>#[ExpectedValues(flagsFromClass: MyClass::class)]</b> means that a bitmask of the constants from the class `MyClass` is expected</li>
* </ul>
*
* The attribute with the number of provided constructor arguments different from 1 will result in undefined behavior.
Expand Down

0 comments on commit 7145ff1

Please sign in to comment.