upgrade to laravel 8.x
This commit is contained in:
@@ -131,7 +131,7 @@ class RegisterControllerArgumentLocatorsPass implements CompilerPassInterface
|
||||
$args = [];
|
||||
foreach ($parameters as $p) {
|
||||
/** @var \ReflectionParameter $p */
|
||||
$type = ltrim($target = ProxyHelper::getTypeHint($r, $p), '\\');
|
||||
$type = ltrim($target = (string) ProxyHelper::getTypeHint($r, $p), '\\');
|
||||
$invalidBehavior = ContainerInterface::IGNORE_ON_INVALID_REFERENCE;
|
||||
|
||||
if (isset($arguments[$r->name][$p->name])) {
|
||||
|
||||
@@ -164,7 +164,7 @@ class RouterListener implements EventSubscriberInterface
|
||||
private function createWelcomeResponse(): Response
|
||||
{
|
||||
$version = Kernel::VERSION;
|
||||
$projectDir = realpath($this->projectDir).\DIRECTORY_SEPARATOR;
|
||||
$projectDir = realpath((string) $this->projectDir).\DIRECTORY_SEPARATOR;
|
||||
$docVersion = substr(Kernel::VERSION, 0, 3);
|
||||
|
||||
ob_start();
|
||||
|
||||
6
vendor/symfony/http-kernel/Kernel.php
vendored
6
vendor/symfony/http-kernel/Kernel.php
vendored
@@ -74,11 +74,11 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl
|
||||
|
||||
private static $freshCache = [];
|
||||
|
||||
public const VERSION = '5.2.8';
|
||||
public const VERSION_ID = 50208;
|
||||
public const VERSION = '5.2.9';
|
||||
public const VERSION_ID = 50209;
|
||||
public const MAJOR_VERSION = 5;
|
||||
public const MINOR_VERSION = 2;
|
||||
public const RELEASE_VERSION = 8;
|
||||
public const RELEASE_VERSION = 9;
|
||||
public const EXTRA_VERSION = '';
|
||||
|
||||
public const END_OF_MAINTENANCE = '07/2021';
|
||||
|
||||
Reference in New Issue
Block a user