Skip to content

Commit 2ad099f

Browse files
committed
fix: Fixed dynamic decorators
1 parent cdd7212 commit 2ad099f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Decorators/Dynamic_Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @template H of Ajax_Handler<T>
1616
* @extends Dynamic_Filter<T,H>
1717
*/
18-
#[\Attribute( \Attribute::TARGET_METHOD )]
18+
#[\Attribute( \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE )]
1919
class Dynamic_Action extends Dynamic_Filter {
2020
protected function get_type(): string {
2121
return 'action';

src/Decorators/Dynamic_Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @template H of Ajax_Handler<T>
1919
* @extends Filter<T,H>
2020
*/
21-
#[\Attribute( \Attribute::TARGET_METHOD )]
21+
#[\Attribute( \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE )]
2222
class Dynamic_Filter extends Filter {
2323
/**
2424
* Variables to fetch.

0 commit comments

Comments
 (0)