Update to laravel 7

This commit is contained in:
KodeStar
2022-03-10 11:54:29 +00:00
parent 61a5a1a8b0
commit f9a19fce91
7170 changed files with 274189 additions and 283773 deletions

View File

@@ -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()
{