minor #24345 [Routing] Enhance PHP DSL traits docblocks (ogizanagi)

This PR was merged into the 3.4 branch.

Discussion
----------

[Routing] Enhance PHP DSL traits docblocks

| Q             | A
| ------------- | ---
| Branch?       | 3.4 <!-- see comment below -->
| Bug fix?      | no
| New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->
| BC breaks?    | no
| Deprecations? | no <!-- don't forget updating UPGRADE-*.md files -->
| Tests pass?   | yes
| Fixed tickets | N/A <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | N/A

Commits
-------

7d749bf [Routing] Enhance PHP DSL traits docblocks
This commit is contained in:
Nicolas Grekas 2017-09-28 10:15:16 +02:00
commit bd3bc69036
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
*/