Skip to content

Commit 3e01ccd

Browse files
committed
Fix CS
1 parent bd60068 commit 3e01ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RouteCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function count()
8989
/**
9090
* @param int $priority
9191
*/
92-
public function add(string $name, Route $route/*, int $priority = 0*/)
92+
public function add(string $name, Route $route/* , int $priority = 0 */)
9393
{
9494
if (\func_num_args() < 3 && __CLASS__ !== static::class && __CLASS__ !== (new \ReflectionMethod($this, __FUNCTION__))->getDeclaringClass()->getName() && !$this instanceof \PHPUnit\Framework\MockObject\MockObject && !$this instanceof \Prophecy\Prophecy\ProphecySubjectInterface && !$this instanceof \Mockery\MockInterface) {
9595
trigger_deprecation('symfony/routing', '5.1', 'The "%s()" method will have a new "int $priority = 0" argument in version 6.0, not defining it is deprecated.', __METHOD__);

0 commit comments

Comments
 (0)