We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fcbb2f commit 97d3fe1Copy full SHA for 97d3fe1
src/Attribute/Parameter/ToArrayOfIntegers.php
@@ -8,6 +8,9 @@
8
9
/**
10
* Casts the resolved value to array of integers.
11
+ *
12
+ * If the resolved value is iterable, each element is cast to an integer.
13
+ * If the resolved value is not iterable, it is cast to an integer and wrapped in an array.
14
*/
15
#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_PARAMETER | Attribute::IS_REPEATABLE)]
16
final class ToArrayOfIntegers implements ParameterAttributeInterface
0 commit comments