[Routing] Enhance PHP DSL traits docblocks

This commit is contained in:
Maxime Steinhausser 2017-09-27 19:08:26 +02:00
parent f56f28b0f3
commit 7d749bfb77
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ trait AddTrait
* Adds a route.
*
* @param string $name
* @param string $value
* @param string $path
*
* @return RouteConfigurator
*/

View File

@ -95,7 +95,7 @@ trait RouteTrait
* Sets the schemes (e.g. 'https') this route is restricted to.
* So an empty array means that any scheme is allowed.
*
* @param array $schemes
* @param string[] $schemes
*
* @return $this
*/
@ -110,7 +110,7 @@ trait RouteTrait
* Sets the HTTP methods (e.g. 'POST') this route is restricted to.
* So an empty array means that any method is allowed.
*
* @param array $methods
* @param string[] $methods
*
* @return $this
*/
@ -124,7 +124,7 @@ trait RouteTrait
/**
* Adds the "_controller" entry to defaults.
*
* @param callable $controller a callable or parseable pseudo-callable
* @param callable|string $controller a callable or parseable pseudo-callable
*
* @return $this
*/