mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 13:09:53 +09:00
upgrade to laravel 8.0
This commit is contained in:
committed by
Attila Jozsef Kerekes
parent
43f894b58d
commit
27f58c0866
2
vendor/symfony/routing/RouteCollection.php
vendored
2
vendor/symfony/routing/RouteCollection.php
vendored
@@ -89,7 +89,7 @@ class RouteCollection implements \IteratorAggregate, \Countable
|
||||
/**
|
||||
* @param int $priority
|
||||
*/
|
||||
public function add(string $name, Route $route/*, int $priority = 0*/)
|
||||
public function add(string $name, Route $route/* , int $priority = 0 */)
|
||||
{
|
||||
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) {
|
||||
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__);
|
||||
|
||||
Reference in New Issue
Block a user