Skip to content

Commit a623ba4

Browse files
committed
Widen NoRoute annotation scope and allow overwriting it with Route annotation
1 parent 558837b commit a623ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Annotations/NoRoute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* No Route annotation class
1616
* @Annotation
17-
* @Target("METHOD")
17+
* @Target({"METHOD","CLASS"})
1818
*/
1919
class NoRoute extends Route
2020
{

0 commit comments

Comments
 (0)