Skip to content

Commit 6975eed

Browse files
committed
Merge branch '3.4'
* 3.4: [DI] Fix missing use + minor tweaks [Routing] Enhance PHP DSL traits docblocks Fix AclSchemaListener deprecation Set a NullLogger in ApcuAdapter when Apcu is disabled in CLI Minor reword [HttpKernel] Make array vs "::" controller definitions consistent Fix tests [TwigBundle] Remove profiler related scripting [TwigBundle][WebProfilerBundle] Switch to DOMContentLoaded event [WebProfilerBundle] Hide inactive tabs from CSS [TwigBundle] Make deprecations scream in logs [TwigBundle] Hide logs if unavailable, i.e. webprofiler [TwigBundle] Break long lines in exceptions [WebProfilerBundle] Added missing link to profile token [DI] Fix decorated service merge in ResolveInstanceofConditionalsPass Preserve URI fragment in HttpUtils::generateUri() [PhpUnitBridge] do not require an error context
2 parents c898455 + 27b5744 commit 6975eed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Loader/Configurator/Traits/AddTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ trait AddTrait
2828
* Adds a route.
2929
*
3030
* @param string $name
31-
* @param string $value
31+
* @param string $path
3232
*
3333
* @return RouteConfigurator
3434
*/

Loader/Configurator/Traits/RouteTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ final public function host($pattern)
9595
* Sets the schemes (e.g. 'https') this route is restricted to.
9696
* So an empty array means that any scheme is allowed.
9797
*
98-
* @param array $schemes
98+
* @param string[] $schemes
9999
*
100100
* @return $this
101101
*/
@@ -110,7 +110,7 @@ final public function schemes(array $schemes)
110110
* Sets the HTTP methods (e.g. 'POST') this route is restricted to.
111111
* So an empty array means that any method is allowed.
112112
*
113-
* @param array $methods
113+
* @param string[] $methods
114114
*
115115
* @return $this
116116
*/
@@ -124,7 +124,7 @@ final public function methods(array $methods)
124124
/**
125125
* Adds the "_controller" entry to defaults.
126126
*
127-
* @param callable $controller a callable or parseable pseudo-callable
127+
* @param callable|string $controller a callable or parseable pseudo-callable
128128
*
129129
* @return $this
130130
*/

0 commit comments

Comments
 (0)