Skip to content

Commit d2a0cb9

Browse files
authored
Merge pull request #2411 from vracini/3.x
Update route requirements docblock
2 parents db7d9a1 + c6873ad commit d2a0cb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Controller/Annotations/Route.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ class CompatRoute extends BaseAnnotationRoute
4545
class Route extends CompatRoute
4646
{
4747
/**
48-
* @param array|string $data
49-
* @param array|string|null $path
50-
* @param string[] $requirements
51-
* @param string[]|string $methods
52-
* @param string[]|string $schemes
48+
* @param array|string $data
49+
* @param array|string|null $path
50+
* @param array<string|\Stringable> $requirements
51+
* @param string[]|string $methods
52+
* @param string[]|string $schemes
5353
*
5454
* @throws \TypeError if the $data argument is an unsupported type
5555
*/

0 commit comments

Comments
 (0)