File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Loader/Configurator/Traits Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ trait AddTrait
28
28
* Adds a route.
29
29
*
30
30
* @param string $name
31
- * @param string $value
31
+ * @param string $path
32
32
*
33
33
* @return RouteConfigurator
34
34
*/
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ final public function host($pattern)
95
95
* Sets the schemes (e.g. 'https') this route is restricted to.
96
96
* So an empty array means that any scheme is allowed.
97
97
*
98
- * @param array $schemes
98
+ * @param string[] $schemes
99
99
*
100
100
* @return $this
101
101
*/
@@ -110,7 +110,7 @@ final public function schemes(array $schemes)
110
110
* Sets the HTTP methods (e.g. 'POST') this route is restricted to.
111
111
* So an empty array means that any method is allowed.
112
112
*
113
- * @param array $methods
113
+ * @param string[] $methods
114
114
*
115
115
* @return $this
116
116
*/
@@ -124,7 +124,7 @@ final public function methods(array $methods)
124
124
/**
125
125
* Adds the "_controller" entry to defaults.
126
126
*
127
- * @param callable $controller a callable or parseable pseudo-callable
127
+ * @param callable|string $controller a callable or parseable pseudo-callable
128
128
*
129
129
* @return $this
130
130
*/
You can’t perform that action at this time.
0 commit comments