Skip to content

Commit 330af5f

Browse files
committed
cleanup remaining param and internal Intl FulLTransformer
1 parent dcb7211 commit 330af5f

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

Generator/Dumper/GeneratorDumperInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ interface GeneratorDumperInterface
2424
* Dumps a set of routes to a string representation of executable code
2525
* that can then be used to generate a URL of such a route.
2626
*
27-
* @param array $options An array of options
28-
*
2927
* @return string Executable code
3028
*/
3129
public function dump(array $options = []);

Matcher/Dumper/MatcherDumperInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ interface MatcherDumperInterface
2424
* Dumps a set of routes to a string representation of executable code
2525
* that can then be used to match a request against these routes.
2626
*
27-
* @param array $options An array of options
28-
*
2927
* @return string Executable code
3028
*/
3129
public function dump(array $options = []);

Route.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ class Route implements \Serializable
4545
* @param array $defaults An array of default parameter values
4646
* @param array $requirements An array of requirements for parameters (regexes)
4747
* @param array $options An array of options
48-
* @param string $host The host pattern to match
48+
* @param string|null $host The host pattern to match
4949
* @param string|string[] $schemes A required URI scheme or an array of restricted schemes
5050
* @param string|string[] $methods A required HTTP method or an array of restricted methods
51-
* @param string $condition A condition that should evaluate to true for the route to match
51+
* @param string|null $condition A condition that should evaluate to true for the route to match
5252
*/
5353
public function __construct(string $path, array $defaults = [], array $requirements = [], array $options = [], ?string $host = '', $schemes = [], $methods = [], ?string $condition = '')
5454
{

RouteCollection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ public function addRequirements(array $requirements)
239239
* Adds options to all routes.
240240
*
241241
* An existing option value under the same name in a route will be overridden.
242-
*
243-
* @param array $options An array of options
244242
*/
245243
public function addOptions(array $options)
246244
{

Router.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ class Router implements RouterInterface, RequestMatcherInterface
9797

9898
/**
9999
* @param mixed $resource The main resource to load
100-
* @param array $options An array of options
101100
*/
102101
public function __construct(LoaderInterface $loader, $resource, array $options = [], RequestContext $context = null, LoggerInterface $logger = null, string $defaultLocale = null)
103102
{
@@ -124,8 +123,6 @@ public function __construct(LoaderInterface $loader, $resource, array $options =
124123
* * strict_requirements: Configure strict requirement checking for generators
125124
* implementing ConfigurableRequirementsInterface (default is true)
126125
*
127-
* @param array $options An array of options
128-
*
129126
* @throws \InvalidArgumentException When unsupported option is provided
130127
*/
131128
public function setOptions(array $options)

0 commit comments

Comments
 (0)