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 dc25cfd commit 855e29cCopy full SHA for 855e29c
Attribute/When.php
@@ -16,7 +16,7 @@
16
*
17
* @author Nicolas Grekas <[email protected]>
18
*/
19
-#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
+#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_FUNCTION | \Attribute::IS_REPEATABLE)]
20
class When
21
{
22
public function __construct(
0 commit comments