mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-02 04:59:49 +09:00
Update to laravel 7
This commit is contained in:
26
vendor/symfony/routing/CompiledRoute.php
vendored
26
vendor/symfony/routing/CompiledRoute.php
vendored
@@ -64,10 +64,9 @@ class CompiledRoute implements \Serializable
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal since Symfony 4.3
|
||||
* @final since Symfony 4.3
|
||||
* @internal
|
||||
*/
|
||||
public function serialize()
|
||||
final public function serialize(): string
|
||||
{
|
||||
return serialize($this->__serialize());
|
||||
}
|
||||
@@ -85,10 +84,9 @@ class CompiledRoute implements \Serializable
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal since Symfony 4.3
|
||||
* @final since Symfony 4.3
|
||||
* @internal
|
||||
*/
|
||||
public function unserialize($serialized)
|
||||
final public function unserialize($serialized)
|
||||
{
|
||||
$this->__unserialize(unserialize($serialized, ['allowed_classes' => false]));
|
||||
}
|
||||
@@ -96,7 +94,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the static prefix.
|
||||
*
|
||||
* @return string The static prefix
|
||||
* @return string
|
||||
*/
|
||||
public function getStaticPrefix()
|
||||
{
|
||||
@@ -106,7 +104,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the regex.
|
||||
*
|
||||
* @return string The regex
|
||||
* @return string
|
||||
*/
|
||||
public function getRegex()
|
||||
{
|
||||
@@ -116,7 +114,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the host regex.
|
||||
*
|
||||
* @return string|null The host regex or null
|
||||
* @return string|null
|
||||
*/
|
||||
public function getHostRegex()
|
||||
{
|
||||
@@ -126,7 +124,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the tokens.
|
||||
*
|
||||
* @return array The tokens
|
||||
* @return array
|
||||
*/
|
||||
public function getTokens()
|
||||
{
|
||||
@@ -136,7 +134,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the host tokens.
|
||||
*
|
||||
* @return array The tokens
|
||||
* @return array
|
||||
*/
|
||||
public function getHostTokens()
|
||||
{
|
||||
@@ -146,7 +144,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the variables.
|
||||
*
|
||||
* @return array The variables
|
||||
* @return array
|
||||
*/
|
||||
public function getVariables()
|
||||
{
|
||||
@@ -156,7 +154,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the path variables.
|
||||
*
|
||||
* @return array The variables
|
||||
* @return array
|
||||
*/
|
||||
public function getPathVariables()
|
||||
{
|
||||
@@ -166,7 +164,7 @@ class CompiledRoute implements \Serializable
|
||||
/**
|
||||
* Returns the host variables.
|
||||
*
|
||||
* @return array The variables
|
||||
* @return array
|
||||
*/
|
||||
public function getHostVariables()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user