Allow PHP-8.2 and up Compatibility instead of just PHP-8.4

This commit is contained in:
johnnyq
2026-06-12 17:06:10 -04:00
parent 2204bd52f4
commit d3a93652f3
220 changed files with 7198 additions and 2635 deletions

View File

@@ -8,7 +8,7 @@ namespace Illuminate\Support\Facades;
* @method static int defaultRouteBlockLockSeconds()
* @method static int defaultRouteBlockWaitSeconds()
* @method static array getSessionConfig()
* @method static string getDefaultDriver()
* @method static string|null getDefaultDriver()
* @method static void setDefaultDriver(string $name)
* @method static mixed driver(string|null $driver = null)
* @method static \Illuminate\Session\SessionManager extend(string $driver, \Closure $callback)
@@ -22,27 +22,28 @@ namespace Illuminate\Support\Facades;
* @method static array all()
* @method static array only(array $keys)
* @method static array except(array $keys)
* @method static bool exists(string|array $key)
* @method static bool missing(string|array $key)
* @method static bool has(string|array $key)
* @method static bool hasAny(string|array $key)
* @method static mixed get(string $key, mixed $default = null)
* @method static mixed pull(string $key, mixed $default = null)
* @method static bool exists(\UnitEnum|string|array $key)
* @method static bool missing(\UnitEnum|string|array $key)
* @method static bool has(\UnitEnum|string|array $key)
* @method static bool hasAny(\UnitEnum|string|array $key)
* @method static mixed get(\UnitEnum|string $key, mixed $default = null)
* @method static mixed pull(\UnitEnum|string $key, mixed $default = null)
* @method static bool hasOldInput(string|null $key = null)
* @method static mixed getOldInput(string|null $key = null, mixed $default = null)
* @method static void replace(array $attributes)
* @method static void put(string|array $key, mixed $value = null)
* @method static mixed remember(string $key, \Closure $callback)
* @method static void push(string $key, mixed $value)
* @method static mixed increment(string $key, int $amount = 1)
* @method static int decrement(string $key, int $amount = 1)
* @method static void flash(string $key, mixed $value = true)
* @method static void now(string $key, mixed $value)
* @method static void put(\UnitEnum|string|array $key, mixed $value = null)
* @method static mixed remember(\UnitEnum|string $key, \Closure $callback)
* @method static void push(\UnitEnum|string $key, mixed $value)
* @method static mixed increment(\UnitEnum|string $key, int $amount = 1)
* @method static int decrement(\UnitEnum|string $key, int $amount = 1)
* @method static void flash(\UnitEnum|string $key, mixed $value = true)
* @method static void now(\UnitEnum|string $key, mixed $value)
* @method static void reflash()
* @method static void keep(mixed $keys = null)
* @method static void flashInput(array $value)
* @method static mixed remove(string $key)
* @method static void forget(string|array $keys)
* @method static \Illuminate\Contracts\Cache\Repository cache()
* @method static mixed remove(\UnitEnum|string $key)
* @method static void forget(\UnitEnum|string|array $keys)
* @method static void flush()
* @method static bool invalidate()
* @method static bool regenerate(bool $destroy = false)
@@ -61,6 +62,8 @@ namespace Illuminate\Support\Facades;
* @method static \Illuminate\Support\Uri previousUri()
* @method static string|null previousUrl()
* @method static void setPreviousUrl(string $url)
* @method static string|null previousRoute()
* @method static void setPreviousRoute(string|null $route)
* @method static void passwordConfirmed()
* @method static \SessionHandlerInterface getHandler()
* @method static \SessionHandlerInterface setHandler(\SessionHandlerInterface $handler)