From a6745c28a6baa67136dbc90afc145ecdad4f311f Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Mon, 15 Apr 2024 00:44:18 +0200 Subject: [PATCH] Add authentications log --- _ide_helper.php | 7919 +++++++---------- .../v1/Controllers/UserManagerController.php | 22 +- app/Api/v1/Resources/UserAuthentication.php | 63 + app/Console/Commands/Utils/ResetTrait.php | 1 + app/Http/Controllers/Auth/UserController.php | 1 - app/Models/User.php | 6 +- app/Notifications/SignedInWithNewDevice.php | 49 + composer.json | 4 +- composer.lock | 270 +- config/authentication-log.php | 61 + ...082519_create_authentication_log_table.php | 28 + resources/js/components/AccessLogViewer.vue | 90 + resources/js/icons.js | 8 +- resources/js/router/index.js | 1 + resources/js/services/userService.js | 9 + resources/js/stores/bus.js | 1 + resources/js/views/admin/logs/Access.vue | 46 + resources/js/views/admin/users/Manage.vue | 20 +- resources/lang/en/admin.php | 7 + resources/lang/en/commons.php | 10 + resources/lang/en/notifications.php | 9 +- resources/lang/en/titles.php | 3 + resources/views/emails/newDevice.blade.php | 17 + routes/api/v1.php | 1 + routes/web.php | 10 + 25 files changed, 3944 insertions(+), 4712 deletions(-) create mode 100644 app/Api/v1/Resources/UserAuthentication.php create mode 100644 app/Notifications/SignedInWithNewDevice.php create mode 100644 config/authentication-log.php create mode 100644 database/migrations/2024_04_14_082519_create_authentication_log_table.php create mode 100644 resources/js/components/AccessLogViewer.vue create mode 100644 resources/js/views/admin/logs/Access.vue create mode 100644 resources/views/emails/newDevice.blade.php diff --git a/_ide_helper.php b/_ide_helper.php index 6da5690c..f9be73a1 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -1,10 +1,11 @@ version(); @@ -36,8 +35,7 @@ public static function version() * @param string[] $bootstrappers * @return void * @static - */ - public static function bootstrapWith($bootstrappers) + */ public static function bootstrapWith($bootstrappers) { /** @var \Illuminate\Foundation\Application $instance */ $instance->bootstrapWith($bootstrappers); @@ -48,8 +46,7 @@ public static function bootstrapWith($bootstrappers) * @param \Closure $callback * @return void * @static - */ - public static function afterLoadingEnvironment($callback) + */ public static function afterLoadingEnvironment($callback) { /** @var \Illuminate\Foundation\Application $instance */ $instance->afterLoadingEnvironment($callback); @@ -61,8 +58,7 @@ public static function afterLoadingEnvironment($callback) * @param \Closure $callback * @return void * @static - */ - public static function beforeBootstrapping($bootstrapper, $callback) + */ public static function beforeBootstrapping($bootstrapper, $callback) { /** @var \Illuminate\Foundation\Application $instance */ $instance->beforeBootstrapping($bootstrapper, $callback); @@ -74,8 +70,7 @@ public static function beforeBootstrapping($bootstrapper, $callback) * @param \Closure $callback * @return void * @static - */ - public static function afterBootstrapping($bootstrapper, $callback) + */ public static function afterBootstrapping($bootstrapper, $callback) { /** @var \Illuminate\Foundation\Application $instance */ $instance->afterBootstrapping($bootstrapper, $callback); @@ -85,8 +80,7 @@ public static function afterBootstrapping($bootstrapper, $callback) * * @return bool * @static - */ - public static function hasBeenBootstrapped() + */ public static function hasBeenBootstrapped() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->hasBeenBootstrapped(); @@ -97,8 +91,7 @@ public static function hasBeenBootstrapped() * @param string $basePath * @return \Illuminate\Foundation\Application * @static - */ - public static function setBasePath($basePath) + */ public static function setBasePath($basePath) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->setBasePath($basePath); @@ -109,8 +102,7 @@ public static function setBasePath($basePath) * @param string $path * @return string * @static - */ - public static function path($path = '') + */ public static function path($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->path($path); @@ -121,8 +113,7 @@ public static function path($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useAppPath($path) + */ public static function useAppPath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useAppPath($path); @@ -133,8 +124,7 @@ public static function useAppPath($path) * @param string $path * @return string * @static - */ - public static function basePath($path = '') + */ public static function basePath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->basePath($path); @@ -145,8 +135,7 @@ public static function basePath($path = '') * @param string $path * @return string * @static - */ - public static function bootstrapPath($path = '') + */ public static function bootstrapPath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->bootstrapPath($path); @@ -157,8 +146,7 @@ public static function bootstrapPath($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useBootstrapPath($path) + */ public static function useBootstrapPath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useBootstrapPath($path); @@ -169,8 +157,7 @@ public static function useBootstrapPath($path) * @param string $path * @return string * @static - */ - public static function configPath($path = '') + */ public static function configPath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->configPath($path); @@ -181,8 +168,7 @@ public static function configPath($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useConfigPath($path) + */ public static function useConfigPath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useConfigPath($path); @@ -193,8 +179,7 @@ public static function useConfigPath($path) * @param string $path * @return string * @static - */ - public static function databasePath($path = '') + */ public static function databasePath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->databasePath($path); @@ -205,8 +190,7 @@ public static function databasePath($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useDatabasePath($path) + */ public static function useDatabasePath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useDatabasePath($path); @@ -217,8 +201,7 @@ public static function useDatabasePath($path) * @param string $path * @return string * @static - */ - public static function langPath($path = '') + */ public static function langPath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->langPath($path); @@ -229,8 +212,7 @@ public static function langPath($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useLangPath($path) + */ public static function useLangPath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useLangPath($path); @@ -241,8 +223,7 @@ public static function useLangPath($path) * @param string $path * @return string * @static - */ - public static function publicPath($path = '') + */ public static function publicPath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->publicPath($path); @@ -253,8 +234,7 @@ public static function publicPath($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function usePublicPath($path) + */ public static function usePublicPath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->usePublicPath($path); @@ -265,8 +245,7 @@ public static function usePublicPath($path) * @param string $path * @return string * @static - */ - public static function storagePath($path = '') + */ public static function storagePath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->storagePath($path); @@ -277,8 +256,7 @@ public static function storagePath($path = '') * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useStoragePath($path) + */ public static function useStoragePath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useStoragePath($path); @@ -289,8 +267,7 @@ public static function useStoragePath($path) * @param string $path * @return string * @static - */ - public static function resourcePath($path = '') + */ public static function resourcePath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->resourcePath($path); @@ -303,8 +280,7 @@ public static function resourcePath($path = '') * @param string $path * @return string * @static - */ - public static function viewPath($path = '') + */ public static function viewPath($path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->viewPath($path); @@ -316,8 +292,7 @@ public static function viewPath($path = '') * @param string $path * @return string * @static - */ - public static function joinPaths($basePath, $path = '') + */ public static function joinPaths($basePath, $path = '') { /** @var \Illuminate\Foundation\Application $instance */ return $instance->joinPaths($basePath, $path); @@ -327,8 +302,7 @@ public static function joinPaths($basePath, $path = '') * * @return string * @static - */ - public static function environmentPath() + */ public static function environmentPath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->environmentPath(); @@ -339,8 +313,7 @@ public static function environmentPath() * @param string $path * @return \Illuminate\Foundation\Application * @static - */ - public static function useEnvironmentPath($path) + */ public static function useEnvironmentPath($path) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->useEnvironmentPath($path); @@ -351,8 +324,7 @@ public static function useEnvironmentPath($path) * @param string $file * @return \Illuminate\Foundation\Application * @static - */ - public static function loadEnvironmentFrom($file) + */ public static function loadEnvironmentFrom($file) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->loadEnvironmentFrom($file); @@ -362,8 +334,7 @@ public static function loadEnvironmentFrom($file) * * @return string * @static - */ - public static function environmentFile() + */ public static function environmentFile() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->environmentFile(); @@ -373,8 +344,7 @@ public static function environmentFile() * * @return string * @static - */ - public static function environmentFilePath() + */ public static function environmentFilePath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->environmentFilePath(); @@ -385,8 +355,7 @@ public static function environmentFilePath() * @param string|array $environments * @return string|bool * @static - */ - public static function environment(...$environments) + */ public static function environment(...$environments) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->environment(...$environments); @@ -396,8 +365,7 @@ public static function environment(...$environments) * * @return bool * @static - */ - public static function isLocal() + */ public static function isLocal() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->isLocal(); @@ -407,8 +375,7 @@ public static function isLocal() * * @return bool * @static - */ - public static function isProduction() + */ public static function isProduction() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->isProduction(); @@ -419,8 +386,7 @@ public static function isProduction() * @param \Closure $callback * @return string * @static - */ - public static function detectEnvironment($callback) + */ public static function detectEnvironment($callback) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->detectEnvironment($callback); @@ -430,8 +396,7 @@ public static function detectEnvironment($callback) * * @return bool * @static - */ - public static function runningInConsole() + */ public static function runningInConsole() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->runningInConsole(); @@ -442,8 +407,7 @@ public static function runningInConsole() * @param string|array $commands * @return bool * @static - */ - public static function runningConsoleCommand(...$commands) + */ public static function runningConsoleCommand(...$commands) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->runningConsoleCommand(...$commands); @@ -453,8 +417,7 @@ public static function runningConsoleCommand(...$commands) * * @return bool * @static - */ - public static function runningUnitTests() + */ public static function runningUnitTests() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->runningUnitTests(); @@ -464,8 +427,7 @@ public static function runningUnitTests() * * @return bool * @static - */ - public static function hasDebugModeEnabled() + */ public static function hasDebugModeEnabled() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->hasDebugModeEnabled(); @@ -475,8 +437,7 @@ public static function hasDebugModeEnabled() * * @return void * @static - */ - public static function registerConfiguredProviders() + */ public static function registerConfiguredProviders() { /** @var \Illuminate\Foundation\Application $instance */ $instance->registerConfiguredProviders(); @@ -488,8 +449,7 @@ public static function registerConfiguredProviders() * @param bool $force * @return \Illuminate\Support\ServiceProvider * @static - */ - public static function register($provider, $force = false) + */ public static function register($provider, $force = false) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->register($provider, $force); @@ -500,8 +460,7 @@ public static function register($provider, $force = false) * @param \Illuminate\Support\ServiceProvider|string $provider * @return \Illuminate\Support\ServiceProvider|null * @static - */ - public static function getProvider($provider) + */ public static function getProvider($provider) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getProvider($provider); @@ -512,8 +471,7 @@ public static function getProvider($provider) * @param \Illuminate\Support\ServiceProvider|string $provider * @return array * @static - */ - public static function getProviders($provider) + */ public static function getProviders($provider) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getProviders($provider); @@ -524,8 +482,7 @@ public static function getProviders($provider) * @param string $provider * @return \Illuminate\Support\ServiceProvider * @static - */ - public static function resolveProvider($provider) + */ public static function resolveProvider($provider) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->resolveProvider($provider); @@ -535,8 +492,7 @@ public static function resolveProvider($provider) * * @return void * @static - */ - public static function loadDeferredProviders() + */ public static function loadDeferredProviders() { /** @var \Illuminate\Foundation\Application $instance */ $instance->loadDeferredProviders(); @@ -547,8 +503,7 @@ public static function loadDeferredProviders() * @param string $service * @return void * @static - */ - public static function loadDeferredProvider($service) + */ public static function loadDeferredProvider($service) { /** @var \Illuminate\Foundation\Application $instance */ $instance->loadDeferredProvider($service); @@ -560,8 +515,7 @@ public static function loadDeferredProvider($service) * @param string|null $service * @return void * @static - */ - public static function registerDeferredProvider($provider, $service = null) + */ public static function registerDeferredProvider($provider, $service = null) { /** @var \Illuminate\Foundation\Application $instance */ $instance->registerDeferredProvider($provider, $service); @@ -573,8 +527,7 @@ public static function registerDeferredProvider($provider, $service = null) * @param array $parameters * @return mixed * @static - */ - public static function make($abstract, $parameters = []) + */ public static function make($abstract, $parameters = []) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->make($abstract, $parameters); @@ -585,8 +538,7 @@ public static function make($abstract, $parameters = []) * @param string $abstract * @return bool * @static - */ - public static function bound($abstract) + */ public static function bound($abstract) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->bound($abstract); @@ -596,8 +548,7 @@ public static function bound($abstract) * * @return bool * @static - */ - public static function isBooted() + */ public static function isBooted() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->isBooted(); @@ -607,8 +558,7 @@ public static function isBooted() * * @return void * @static - */ - public static function boot() + */ public static function boot() { /** @var \Illuminate\Foundation\Application $instance */ $instance->boot(); @@ -619,8 +569,7 @@ public static function boot() * @param callable $callback * @return void * @static - */ - public static function booting($callback) + */ public static function booting($callback) { /** @var \Illuminate\Foundation\Application $instance */ $instance->booting($callback); @@ -631,8 +580,7 @@ public static function booting($callback) * @param callable $callback * @return void * @static - */ - public static function booted($callback) + */ public static function booted($callback) { /** @var \Illuminate\Foundation\Application $instance */ $instance->booted($callback); @@ -642,8 +590,7 @@ public static function booted($callback) * * @return \Symfony\Component\HttpFoundation\Response * @static - */ - public static function handle($request, $type = 1, $catch = true) + */ public static function handle($request, $type = 1, $catch = true) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->handle($request, $type, $catch); @@ -653,8 +600,7 @@ public static function handle($request, $type = 1, $catch = true) * * @return bool * @static - */ - public static function shouldSkipMiddleware() + */ public static function shouldSkipMiddleware() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->shouldSkipMiddleware(); @@ -664,8 +610,7 @@ public static function shouldSkipMiddleware() * * @return string * @static - */ - public static function getCachedServicesPath() + */ public static function getCachedServicesPath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getCachedServicesPath(); @@ -675,8 +620,7 @@ public static function getCachedServicesPath() * * @return string * @static - */ - public static function getCachedPackagesPath() + */ public static function getCachedPackagesPath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getCachedPackagesPath(); @@ -686,8 +630,7 @@ public static function getCachedPackagesPath() * * @return bool * @static - */ - public static function configurationIsCached() + */ public static function configurationIsCached() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->configurationIsCached(); @@ -697,8 +640,7 @@ public static function configurationIsCached() * * @return string * @static - */ - public static function getCachedConfigPath() + */ public static function getCachedConfigPath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getCachedConfigPath(); @@ -708,8 +650,7 @@ public static function getCachedConfigPath() * * @return bool * @static - */ - public static function routesAreCached() + */ public static function routesAreCached() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->routesAreCached(); @@ -719,8 +660,7 @@ public static function routesAreCached() * * @return string * @static - */ - public static function getCachedRoutesPath() + */ public static function getCachedRoutesPath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getCachedRoutesPath(); @@ -730,8 +670,7 @@ public static function getCachedRoutesPath() * * @return bool * @static - */ - public static function eventsAreCached() + */ public static function eventsAreCached() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->eventsAreCached(); @@ -741,8 +680,7 @@ public static function eventsAreCached() * * @return string * @static - */ - public static function getCachedEventsPath() + */ public static function getCachedEventsPath() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getCachedEventsPath(); @@ -753,8 +691,7 @@ public static function getCachedEventsPath() * @param string $prefix * @return \Illuminate\Foundation\Application * @static - */ - public static function addAbsoluteCachePathPrefix($prefix) + */ public static function addAbsoluteCachePathPrefix($prefix) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->addAbsoluteCachePathPrefix($prefix); @@ -764,8 +701,7 @@ public static function addAbsoluteCachePathPrefix($prefix) * * @return \Illuminate\Contracts\Foundation\MaintenanceMode * @static - */ - public static function maintenanceMode() + */ public static function maintenanceMode() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->maintenanceMode(); @@ -775,8 +711,7 @@ public static function maintenanceMode() * * @return bool * @static - */ - public static function isDownForMaintenance() + */ public static function isDownForMaintenance() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->isDownForMaintenance(); @@ -791,8 +726,7 @@ public static function isDownForMaintenance() * @throws \Symfony\Component\HttpKernel\Exception\HttpException * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException * @static - */ - public static function abort($code, $message = '', $headers = []) + */ public static function abort($code, $message = '', $headers = []) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->abort($code, $message, $headers); @@ -803,8 +737,7 @@ public static function abort($code, $message = '', $headers = []) * @param callable|string $callback * @return \Illuminate\Foundation\Application * @static - */ - public static function terminating($callback) + */ public static function terminating($callback) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->terminating($callback); @@ -814,8 +747,7 @@ public static function terminating($callback) * * @return void * @static - */ - public static function terminate() + */ public static function terminate() { /** @var \Illuminate\Foundation\Application $instance */ $instance->terminate(); @@ -825,8 +757,7 @@ public static function terminate() * * @return array * @static - */ - public static function getLoadedProviders() + */ public static function getLoadedProviders() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getLoadedProviders(); @@ -837,8 +768,7 @@ public static function getLoadedProviders() * @param string $provider * @return bool * @static - */ - public static function providerIsLoaded($provider) + */ public static function providerIsLoaded($provider) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->providerIsLoaded($provider); @@ -848,8 +778,7 @@ public static function providerIsLoaded($provider) * * @return array * @static - */ - public static function getDeferredServices() + */ public static function getDeferredServices() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getDeferredServices(); @@ -860,8 +789,7 @@ public static function getDeferredServices() * @param array $services * @return void * @static - */ - public static function setDeferredServices($services) + */ public static function setDeferredServices($services) { /** @var \Illuminate\Foundation\Application $instance */ $instance->setDeferredServices($services); @@ -872,8 +800,7 @@ public static function setDeferredServices($services) * @param array $services * @return void * @static - */ - public static function addDeferredServices($services) + */ public static function addDeferredServices($services) { /** @var \Illuminate\Foundation\Application $instance */ $instance->addDeferredServices($services); @@ -884,8 +811,7 @@ public static function addDeferredServices($services) * @param string $service * @return bool * @static - */ - public static function isDeferredService($service) + */ public static function isDeferredService($service) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->isDeferredService($service); @@ -896,8 +822,7 @@ public static function isDeferredService($service) * @param string $namespace * @return void * @static - */ - public static function provideFacades($namespace) + */ public static function provideFacades($namespace) { /** @var \Illuminate\Foundation\Application $instance */ $instance->provideFacades($namespace); @@ -907,8 +832,7 @@ public static function provideFacades($namespace) * * @return string * @static - */ - public static function getLocale() + */ public static function getLocale() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getLocale(); @@ -918,8 +842,7 @@ public static function getLocale() * * @return string * @static - */ - public static function currentLocale() + */ public static function currentLocale() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->currentLocale(); @@ -929,8 +852,7 @@ public static function currentLocale() * * @return string * @static - */ - public static function getFallbackLocale() + */ public static function getFallbackLocale() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getFallbackLocale(); @@ -941,8 +863,7 @@ public static function getFallbackLocale() * @param string $locale * @return void * @static - */ - public static function setLocale($locale) + */ public static function setLocale($locale) { /** @var \Illuminate\Foundation\Application $instance */ $instance->setLocale($locale); @@ -953,8 +874,7 @@ public static function setLocale($locale) * @param string $fallbackLocale * @return void * @static - */ - public static function setFallbackLocale($fallbackLocale) + */ public static function setFallbackLocale($fallbackLocale) { /** @var \Illuminate\Foundation\Application $instance */ $instance->setFallbackLocale($fallbackLocale); @@ -965,8 +885,7 @@ public static function setFallbackLocale($fallbackLocale) * @param string $locale * @return bool * @static - */ - public static function isLocale($locale) + */ public static function isLocale($locale) { /** @var \Illuminate\Foundation\Application $instance */ return $instance->isLocale($locale); @@ -976,8 +895,7 @@ public static function isLocale($locale) * * @return void * @static - */ - public static function registerCoreContainerAliases() + */ public static function registerCoreContainerAliases() { /** @var \Illuminate\Foundation\Application $instance */ $instance->registerCoreContainerAliases(); @@ -987,8 +905,7 @@ public static function registerCoreContainerAliases() * * @return void * @static - */ - public static function flush() + */ public static function flush() { /** @var \Illuminate\Foundation\Application $instance */ $instance->flush(); @@ -999,8 +916,7 @@ public static function flush() * @return string * @throws \RuntimeException * @static - */ - public static function getNamespace() + */ public static function getNamespace() { /** @var \Illuminate\Foundation\Application $instance */ return $instance->getNamespace(); @@ -1011,8 +927,7 @@ public static function getNamespace() * @param array|string $concrete * @return \Illuminate\Contracts\Container\ContextualBindingBuilder * @static - */ - public static function when($concrete) + */ public static function when($concrete) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->when($concrete); @@ -1029,8 +944,7 @@ public static function when($concrete) * @param string $id Identifier of the entry to look for. * @return bool * @static - */ - public static function has($id) + */ public static function has($id) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->has($id); @@ -1041,8 +955,7 @@ public static function has($id) * @param string $abstract * @return bool * @static - */ - public static function resolved($abstract) + */ public static function resolved($abstract) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->resolved($abstract); @@ -1053,8 +966,7 @@ public static function resolved($abstract) * @param string $abstract * @return bool * @static - */ - public static function isShared($abstract) + */ public static function isShared($abstract) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->isShared($abstract); @@ -1065,8 +977,7 @@ public static function isShared($abstract) * @param string $name * @return bool * @static - */ - public static function isAlias($name) + */ public static function isAlias($name) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->isAlias($name); @@ -1080,8 +991,7 @@ public static function isAlias($name) * @return void * @throws \TypeError * @static - */ - public static function bind($abstract, $concrete = null, $shared = false) + */ public static function bind($abstract, $concrete = null, $shared = false) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->bind($abstract, $concrete, $shared); @@ -1092,8 +1002,7 @@ public static function bind($abstract, $concrete = null, $shared = false) * @param string $method * @return bool * @static - */ - public static function hasMethodBinding($method) + */ public static function hasMethodBinding($method) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->hasMethodBinding($method); @@ -1105,8 +1014,7 @@ public static function hasMethodBinding($method) * @param \Closure $callback * @return void * @static - */ - public static function bindMethod($method, $callback) + */ public static function bindMethod($method, $callback) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->bindMethod($method, $callback); @@ -1118,8 +1026,7 @@ public static function bindMethod($method, $callback) * @param mixed $instance * @return mixed * @static - */ - public static function callMethodBinding($method, $instance) + */ public static function callMethodBinding($method, $instance) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->callMethodBinding($method, $instance); @@ -1132,8 +1039,7 @@ public static function callMethodBinding($method, $instance) * @param \Closure|string $implementation * @return void * @static - */ - public static function addContextualBinding($concrete, $abstract, $implementation) + */ public static function addContextualBinding($concrete, $abstract, $implementation) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->addContextualBinding($concrete, $abstract, $implementation); @@ -1146,8 +1052,7 @@ public static function addContextualBinding($concrete, $abstract, $implementatio * @param bool $shared * @return void * @static - */ - public static function bindIf($abstract, $concrete = null, $shared = false) + */ public static function bindIf($abstract, $concrete = null, $shared = false) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->bindIf($abstract, $concrete, $shared); @@ -1159,8 +1064,7 @@ public static function bindIf($abstract, $concrete = null, $shared = false) * @param \Closure|string|null $concrete * @return void * @static - */ - public static function singleton($abstract, $concrete = null) + */ public static function singleton($abstract, $concrete = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->singleton($abstract, $concrete); @@ -1172,8 +1076,7 @@ public static function singleton($abstract, $concrete = null) * @param \Closure|string|null $concrete * @return void * @static - */ - public static function singletonIf($abstract, $concrete = null) + */ public static function singletonIf($abstract, $concrete = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->singletonIf($abstract, $concrete); @@ -1185,8 +1088,7 @@ public static function singletonIf($abstract, $concrete = null) * @param \Closure|string|null $concrete * @return void * @static - */ - public static function scoped($abstract, $concrete = null) + */ public static function scoped($abstract, $concrete = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->scoped($abstract, $concrete); @@ -1198,8 +1100,7 @@ public static function scoped($abstract, $concrete = null) * @param \Closure|string|null $concrete * @return void * @static - */ - public static function scopedIf($abstract, $concrete = null) + */ public static function scopedIf($abstract, $concrete = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->scopedIf($abstract, $concrete); @@ -1212,8 +1113,7 @@ public static function scopedIf($abstract, $concrete = null) * @return void * @throws \InvalidArgumentException * @static - */ - public static function extend($abstract, $closure) + */ public static function extend($abstract, $closure) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->extend($abstract, $closure); @@ -1225,8 +1125,7 @@ public static function extend($abstract, $closure) * @param mixed $instance * @return mixed * @static - */ - public static function instance($abstract, $instance) + */ public static function instance($abstract, $instance) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->instance($abstract, $instance); @@ -1238,8 +1137,7 @@ public static function instance($abstract, $instance) * @param array|mixed $tags * @return void * @static - */ - public static function tag($abstracts, $tags) + */ public static function tag($abstracts, $tags) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->tag($abstracts, $tags); @@ -1250,8 +1148,7 @@ public static function tag($abstracts, $tags) * @param string $tag * @return \Illuminate\Container\iterable * @static - */ - public static function tagged($tag) + */ public static function tagged($tag) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->tagged($tag); @@ -1264,8 +1161,7 @@ public static function tagged($tag) * @return void * @throws \LogicException * @static - */ - public static function alias($abstract, $alias) + */ public static function alias($abstract, $alias) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->alias($abstract, $alias); @@ -1277,8 +1173,7 @@ public static function alias($abstract, $alias) * @param \Closure $callback * @return mixed * @static - */ - public static function rebinding($abstract, $callback) + */ public static function rebinding($abstract, $callback) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->rebinding($abstract, $callback); @@ -1291,8 +1186,7 @@ public static function rebinding($abstract, $callback) * @param string $method * @return mixed * @static - */ - public static function refresh($abstract, $target, $method) + */ public static function refresh($abstract, $target, $method) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->refresh($abstract, $target, $method); @@ -1304,8 +1198,7 @@ public static function refresh($abstract, $target, $method) * @param array $parameters * @return \Closure * @static - */ - public static function wrap($callback, $parameters = []) + */ public static function wrap($callback, $parameters = []) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->wrap($callback, $parameters); @@ -1319,8 +1212,7 @@ public static function wrap($callback, $parameters = []) * @return mixed * @throws \InvalidArgumentException * @static - */ - public static function call($callback, $parameters = [], $defaultMethod = null) + */ public static function call($callback, $parameters = [], $defaultMethod = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->call($callback, $parameters, $defaultMethod); @@ -1331,8 +1223,7 @@ public static function call($callback, $parameters = [], $defaultMethod = null) * @param string $abstract * @return \Closure * @static - */ - public static function factory($abstract) + */ public static function factory($abstract) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->factory($abstract); @@ -1345,8 +1236,7 @@ public static function factory($abstract) * @return mixed * @throws \Illuminate\Contracts\Container\BindingResolutionException * @static - */ - public static function makeWith($abstract, $parameters = []) + */ public static function makeWith($abstract, $parameters = []) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->makeWith($abstract, $parameters); @@ -1360,8 +1250,7 @@ public static function makeWith($abstract, $parameters = []) * @throws ContainerExceptionInterface Error while retrieving the entry. * @return mixed Entry. * @static - */ - public static function get($id) + */ public static function get($id) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->get($id); @@ -1374,8 +1263,7 @@ public static function get($id) * @throws \Illuminate\Contracts\Container\BindingResolutionException * @throws \Illuminate\Contracts\Container\CircularDependencyException * @static - */ - public static function build($concrete) + */ public static function build($concrete) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->build($concrete); @@ -1387,8 +1275,7 @@ public static function build($concrete) * @param \Closure|null $callback * @return void * @static - */ - public static function beforeResolving($abstract, $callback = null) + */ public static function beforeResolving($abstract, $callback = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->beforeResolving($abstract, $callback); @@ -1400,8 +1287,7 @@ public static function beforeResolving($abstract, $callback = null) * @param \Closure|null $callback * @return void * @static - */ - public static function resolving($abstract, $callback = null) + */ public static function resolving($abstract, $callback = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->resolving($abstract, $callback); @@ -1413,8 +1299,7 @@ public static function resolving($abstract, $callback = null) * @param \Closure|null $callback * @return void * @static - */ - public static function afterResolving($abstract, $callback = null) + */ public static function afterResolving($abstract, $callback = null) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->afterResolving($abstract, $callback); @@ -1424,8 +1309,7 @@ public static function afterResolving($abstract, $callback = null) * * @return array * @static - */ - public static function getBindings() + */ public static function getBindings() { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->getBindings(); @@ -1436,8 +1320,7 @@ public static function getBindings() * @param string $abstract * @return string * @static - */ - public static function getAlias($abstract) + */ public static function getAlias($abstract) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->getAlias($abstract); @@ -1448,8 +1331,7 @@ public static function getAlias($abstract) * @param string $abstract * @return void * @static - */ - public static function forgetExtenders($abstract) + */ public static function forgetExtenders($abstract) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->forgetExtenders($abstract); @@ -1460,8 +1342,7 @@ public static function forgetExtenders($abstract) * @param string $abstract * @return void * @static - */ - public static function forgetInstance($abstract) + */ public static function forgetInstance($abstract) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->forgetInstance($abstract); @@ -1471,8 +1352,7 @@ public static function forgetInstance($abstract) * * @return void * @static - */ - public static function forgetInstances() + */ public static function forgetInstances() { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->forgetInstances(); @@ -1482,8 +1362,7 @@ public static function forgetInstances() * * @return void * @static - */ - public static function forgetScopedInstances() + */ public static function forgetScopedInstances() { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->forgetScopedInstances(); @@ -1493,8 +1372,7 @@ public static function forgetScopedInstances() * * @return static * @static - */ - public static function getInstance() + */ public static function getInstance() { //Method inherited from \Illuminate\Container\Container return \Illuminate\Foundation\Application::getInstance(); } @@ -1504,8 +1382,7 @@ public static function getInstance() * @param \Illuminate\Contracts\Container\Container|null $container * @return \Illuminate\Contracts\Container\Container|static * @static - */ - public static function setInstance($container = null) + */ public static function setInstance($container = null) { //Method inherited from \Illuminate\Container\Container return \Illuminate\Foundation\Application::setInstance($container); } @@ -1515,8 +1392,7 @@ public static function setInstance($container = null) * @param string $key * @return bool * @static - */ - public static function offsetExists($key) + */ public static function offsetExists($key) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->offsetExists($key); @@ -1527,8 +1403,7 @@ public static function offsetExists($key) * @param string $key * @return mixed * @static - */ - public static function offsetGet($key) + */ public static function offsetGet($key) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ return $instance->offsetGet($key); @@ -1540,8 +1415,7 @@ public static function offsetGet($key) * @param mixed $value * @return void * @static - */ - public static function offsetSet($key, $value) + */ public static function offsetSet($key, $value) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->offsetSet($key, $value); @@ -1552,8 +1426,7 @@ public static function offsetSet($key, $value) * @param string $key * @return void * @static - */ - public static function offsetUnset($key) + */ public static function offsetUnset($key) { //Method inherited from \Illuminate\Container\Container /** @var \Illuminate\Foundation\Application $instance */ $instance->offsetUnset($key); @@ -1565,8 +1438,7 @@ public static function offsetUnset($key) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Foundation\Application::macro($name, $macro); } @@ -1578,8 +1450,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Foundation\Application::mixin($mixin, $replace); } @@ -1589,8 +1460,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Foundation\Application::hasMacro($name); } @@ -1599,27 +1469,23 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Foundation\Application::flushMacros(); } - - } + } /** * * * @see \Illuminate\Foundation\Console\Kernel - */ - class Artisan { + */ class Artisan { /** * Re-route the Symfony command events to their Laravel counterparts. * * @internal * @return \App\Console\Kernel * @static - */ - public static function rerouteSymfonyCommandEvents() + */ public static function rerouteSymfonyCommandEvents() { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->rerouteSymfonyCommandEvents(); @@ -1631,8 +1497,7 @@ public static function rerouteSymfonyCommandEvents() * @param \Symfony\Component\Console\Output\OutputInterface|null $output * @return int * @static - */ - public static function handle($input, $output = null) + */ public static function handle($input, $output = null) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->handle($input, $output); @@ -1644,8 +1509,7 @@ public static function handle($input, $output = null) * @param int $status * @return void * @static - */ - public static function terminate($input, $status) + */ public static function terminate($input, $status) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->terminate($input, $status); @@ -1657,8 +1521,7 @@ public static function terminate($input, $status) * @param callable $handler * @return void * @static - */ - public static function whenCommandLifecycleIsLongerThan($threshold, $handler) + */ public static function whenCommandLifecycleIsLongerThan($threshold, $handler) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->whenCommandLifecycleIsLongerThan($threshold, $handler); @@ -1668,8 +1531,7 @@ public static function whenCommandLifecycleIsLongerThan($threshold, $handler) * * @return \Illuminate\Support\Carbon|null * @static - */ - public static function commandStartedAt() + */ public static function commandStartedAt() { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->commandStartedAt(); @@ -1681,8 +1543,7 @@ public static function commandStartedAt() * @param \Closure $callback * @return \Illuminate\Foundation\Console\ClosureCommand * @static - */ - public static function command($signature, $callback) + */ public static function command($signature, $callback) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->command($signature, $callback); @@ -1693,8 +1554,7 @@ public static function command($signature, $callback) * @param \Symfony\Component\Console\Command\Command $command * @return void * @static - */ - public static function registerCommand($command) + */ public static function registerCommand($command) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->registerCommand($command); @@ -1708,8 +1568,7 @@ public static function registerCommand($command) * @return int * @throws \Symfony\Component\Console\Exception\CommandNotFoundException * @static - */ - public static function call($command, $parameters = [], $outputBuffer = null) + */ public static function call($command, $parameters = [], $outputBuffer = null) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->call($command, $parameters, $outputBuffer); @@ -1721,8 +1580,7 @@ public static function call($command, $parameters = [], $outputBuffer = null) * @param array $parameters * @return \Illuminate\Foundation\Bus\PendingDispatch * @static - */ - public static function queue($command, $parameters = []) + */ public static function queue($command, $parameters = []) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->queue($command, $parameters); @@ -1732,8 +1590,7 @@ public static function queue($command, $parameters = []) * * @return array * @static - */ - public static function all() + */ public static function all() { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->all(); @@ -1743,8 +1600,7 @@ public static function all() * * @return string * @static - */ - public static function output() + */ public static function output() { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->output(); @@ -1754,8 +1610,7 @@ public static function output() * * @return void * @static - */ - public static function bootstrap() + */ public static function bootstrap() { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->bootstrap(); @@ -1765,8 +1620,7 @@ public static function bootstrap() * * @return void * @static - */ - public static function bootstrapWithoutBootingProviders() + */ public static function bootstrapWithoutBootingProviders() { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->bootstrapWithoutBootingProviders(); @@ -1777,29 +1631,25 @@ public static function bootstrapWithoutBootingProviders() * @param \Illuminate\Console\Application|null $artisan * @return void * @static - */ - public static function setArtisan($artisan) + */ public static function setArtisan($artisan) { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->setArtisan($artisan); } - - } + } /** * * * @see \Illuminate\Auth\AuthManager * @see \Illuminate\Auth\SessionGuard - */ - class Auth { + */ class Auth { /** * Attempt to get the guard from the local cache. * * @param string|null $name * @return \Illuminate\Contracts\Auth\Guard|\Illuminate\Contracts\Auth\StatefulGuard * @static - */ - public static function guard($name = null) + */ public static function guard($name = null) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->guard($name); @@ -1811,8 +1661,7 @@ public static function guard($name = null) * @param array $config * @return \Illuminate\Auth\SessionGuard * @static - */ - public static function createSessionDriver($name, $config) + */ public static function createSessionDriver($name, $config) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->createSessionDriver($name, $config); @@ -1824,8 +1673,7 @@ public static function createSessionDriver($name, $config) * @param array $config * @return \Illuminate\Auth\TokenGuard * @static - */ - public static function createTokenDriver($name, $config) + */ public static function createTokenDriver($name, $config) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->createTokenDriver($name, $config); @@ -1835,8 +1683,7 @@ public static function createTokenDriver($name, $config) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->getDefaultDriver(); @@ -1847,8 +1694,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function shouldUse($name) + */ public static function shouldUse($name) { /** @var \Illuminate\Auth\AuthManager $instance */ $instance->shouldUse($name); @@ -1859,8 +1705,7 @@ public static function shouldUse($name) * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Auth\AuthManager $instance */ $instance->setDefaultDriver($name); @@ -1872,8 +1717,7 @@ public static function setDefaultDriver($name) * @param callable $callback * @return \Illuminate\Auth\AuthManager * @static - */ - public static function viaRequest($driver, $callback) + */ public static function viaRequest($driver, $callback) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->viaRequest($driver, $callback); @@ -1883,8 +1727,7 @@ public static function viaRequest($driver, $callback) * * @return \Closure * @static - */ - public static function userResolver() + */ public static function userResolver() { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->userResolver(); @@ -1895,8 +1738,7 @@ public static function userResolver() * @param \Closure $userResolver * @return \Illuminate\Auth\AuthManager * @static - */ - public static function resolveUsersUsing($userResolver) + */ public static function resolveUsersUsing($userResolver) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->resolveUsersUsing($userResolver); @@ -1908,8 +1750,7 @@ public static function resolveUsersUsing($userResolver) * @param \Closure $callback * @return \Illuminate\Auth\AuthManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->extend($driver, $callback); @@ -1921,8 +1762,7 @@ public static function extend($driver, $callback) * @param \Closure $callback * @return \Illuminate\Auth\AuthManager * @static - */ - public static function provider($name, $callback) + */ public static function provider($name, $callback) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->provider($name, $callback); @@ -1932,8 +1772,7 @@ public static function provider($name, $callback) * * @return bool * @static - */ - public static function hasResolvedGuards() + */ public static function hasResolvedGuards() { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->hasResolvedGuards(); @@ -1943,8 +1782,7 @@ public static function hasResolvedGuards() * * @return \Illuminate\Auth\AuthManager * @static - */ - public static function forgetGuards() + */ public static function forgetGuards() { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->forgetGuards(); @@ -1955,8 +1793,7 @@ public static function forgetGuards() * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Auth\AuthManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->setApplication($app); @@ -1968,8 +1805,7 @@ public static function setApplication($app) * @return \Illuminate\Contracts\Auth\UserProvider|null * @throws \InvalidArgumentException * @static - */ - public static function createUserProvider($provider = null) + */ public static function createUserProvider($provider = null) { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->createUserProvider($provider); @@ -1979,8 +1815,7 @@ public static function createUserProvider($provider = null) * * @return string * @static - */ - public static function getDefaultUserProvider() + */ public static function getDefaultUserProvider() { /** @var \Illuminate\Auth\AuthManager $instance */ return $instance->getDefaultUserProvider(); @@ -1990,8 +1825,7 @@ public static function getDefaultUserProvider() * * @return \App\Models\User|null * @static - */ - public static function user() + */ public static function user() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->user(); @@ -2001,8 +1835,7 @@ public static function user() * * @return int|string|null * @static - */ - public static function id() + */ public static function id() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->id(); @@ -2013,8 +1846,7 @@ public static function id() * @param array $credentials * @return bool * @static - */ - public static function once($credentials = []) + */ public static function once($credentials = []) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->once($credentials); @@ -2025,8 +1857,7 @@ public static function once($credentials = []) * @param mixed $id * @return \App\Models\User|false * @static - */ - public static function onceUsingId($id) + */ public static function onceUsingId($id) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->onceUsingId($id); @@ -2037,8 +1868,7 @@ public static function onceUsingId($id) * @param array $credentials * @return bool * @static - */ - public static function validate($credentials = []) + */ public static function validate($credentials = []) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->validate($credentials); @@ -2051,8 +1881,7 @@ public static function validate($credentials = []) * @return \Symfony\Component\HttpFoundation\Response|null * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException * @static - */ - public static function basic($field = 'email', $extraConditions = []) + */ public static function basic($field = 'email', $extraConditions = []) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->basic($field, $extraConditions); @@ -2065,8 +1894,7 @@ public static function basic($field = 'email', $extraConditions = []) * @return \Symfony\Component\HttpFoundation\Response|null * @throws \Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException * @static - */ - public static function onceBasic($field = 'email', $extraConditions = []) + */ public static function onceBasic($field = 'email', $extraConditions = []) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->onceBasic($field, $extraConditions); @@ -2078,8 +1906,7 @@ public static function onceBasic($field = 'email', $extraConditions = []) * @param bool $remember * @return bool * @static - */ - public static function attempt($credentials = [], $remember = false) + */ public static function attempt($credentials = [], $remember = false) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->attempt($credentials, $remember); @@ -2092,8 +1919,7 @@ public static function attempt($credentials = [], $remember = false) * @param bool $remember * @return bool * @static - */ - public static function attemptWhen($credentials = [], $callbacks = null, $remember = false) + */ public static function attemptWhen($credentials = [], $callbacks = null, $remember = false) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->attemptWhen($credentials, $callbacks, $remember); @@ -2105,8 +1931,7 @@ public static function attemptWhen($credentials = [], $callbacks = null, $rememb * @param bool $remember * @return \App\Models\User|false * @static - */ - public static function loginUsingId($id, $remember = false) + */ public static function loginUsingId($id, $remember = false) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->loginUsingId($id, $remember); @@ -2118,8 +1943,7 @@ public static function loginUsingId($id, $remember = false) * @param bool $remember * @return void * @static - */ - public static function login($user, $remember = false) + */ public static function login($user, $remember = false) { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->login($user, $remember); @@ -2129,8 +1953,7 @@ public static function login($user, $remember = false) * * @return void * @static - */ - public static function logout() + */ public static function logout() { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->logout(); @@ -2142,8 +1965,7 @@ public static function logout() * * @return void * @static - */ - public static function logoutCurrentDevice() + */ public static function logoutCurrentDevice() { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->logoutCurrentDevice(); @@ -2158,8 +1980,7 @@ public static function logoutCurrentDevice() * @return \App\Models\User|null * @throws \Illuminate\Auth\AuthenticationException * @static - */ - public static function logoutOtherDevices($password, $attribute = 'password') + */ public static function logoutOtherDevices($password, $attribute = 'password') { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->logoutOtherDevices($password, $attribute); @@ -2170,8 +1991,7 @@ public static function logoutOtherDevices($password, $attribute = 'password') * @param mixed $callback * @return void * @static - */ - public static function attempting($callback) + */ public static function attempting($callback) { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->attempting($callback); @@ -2181,8 +2001,7 @@ public static function attempting($callback) * * @return \App\Models\User * @static - */ - public static function getLastAttempted() + */ public static function getLastAttempted() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getLastAttempted(); @@ -2192,8 +2011,7 @@ public static function getLastAttempted() * * @return string * @static - */ - public static function getName() + */ public static function getName() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getName(); @@ -2203,8 +2021,7 @@ public static function getName() * * @return string * @static - */ - public static function getRecallerName() + */ public static function getRecallerName() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getRecallerName(); @@ -2214,8 +2031,7 @@ public static function getRecallerName() * * @return bool * @static - */ - public static function viaRemember() + */ public static function viaRemember() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->viaRemember(); @@ -2226,8 +2042,7 @@ public static function viaRemember() * @param int $minutes * @return \Illuminate\Auth\SessionGuard * @static - */ - public static function setRememberDuration($minutes) + */ public static function setRememberDuration($minutes) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->setRememberDuration($minutes); @@ -2238,8 +2053,7 @@ public static function setRememberDuration($minutes) * @return \Illuminate\Contracts\Cookie\QueueingFactory * @throws \RuntimeException * @static - */ - public static function getCookieJar() + */ public static function getCookieJar() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getCookieJar(); @@ -2250,8 +2064,7 @@ public static function getCookieJar() * @param \Illuminate\Contracts\Cookie\QueueingFactory $cookie * @return void * @static - */ - public static function setCookieJar($cookie) + */ public static function setCookieJar($cookie) { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->setCookieJar($cookie); @@ -2261,8 +2074,7 @@ public static function setCookieJar($cookie) * * @return \Illuminate\Contracts\Events\Dispatcher * @static - */ - public static function getDispatcher() + */ public static function getDispatcher() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getDispatcher(); @@ -2273,8 +2085,7 @@ public static function getDispatcher() * @param \Illuminate\Contracts\Events\Dispatcher $events * @return void * @static - */ - public static function setDispatcher($events) + */ public static function setDispatcher($events) { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->setDispatcher($events); @@ -2284,8 +2095,7 @@ public static function setDispatcher($events) * * @return \Illuminate\Contracts\Session\Session * @static - */ - public static function getSession() + */ public static function getSession() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getSession(); @@ -2295,8 +2105,7 @@ public static function getSession() * * @return \App\Models\User|null * @static - */ - public static function getUser() + */ public static function getUser() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getUser(); @@ -2307,8 +2116,7 @@ public static function getUser() * @param \Illuminate\Contracts\Auth\Authenticatable $user * @return \Illuminate\Auth\SessionGuard * @static - */ - public static function setUser($user) + */ public static function setUser($user) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->setUser($user); @@ -2318,8 +2126,7 @@ public static function setUser($user) * * @return \Symfony\Component\HttpFoundation\Request * @static - */ - public static function getRequest() + */ public static function getRequest() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getRequest(); @@ -2330,8 +2137,7 @@ public static function getRequest() * @param \Symfony\Component\HttpFoundation\Request $request * @return \Illuminate\Auth\SessionGuard * @static - */ - public static function setRequest($request) + */ public static function setRequest($request) { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->setRequest($request); @@ -2341,8 +2147,7 @@ public static function setRequest($request) * * @return \Illuminate\Support\Timebox * @static - */ - public static function getTimebox() + */ public static function getTimebox() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getTimebox(); @@ -2353,8 +2158,7 @@ public static function getTimebox() * @return \App\Models\User * @throws \Illuminate\Auth\AuthenticationException * @static - */ - public static function authenticate() + */ public static function authenticate() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->authenticate(); @@ -2364,8 +2168,7 @@ public static function authenticate() * * @return bool * @static - */ - public static function hasUser() + */ public static function hasUser() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->hasUser(); @@ -2375,8 +2178,7 @@ public static function hasUser() * * @return bool * @static - */ - public static function check() + */ public static function check() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->check(); @@ -2386,8 +2188,7 @@ public static function check() * * @return bool * @static - */ - public static function guest() + */ public static function guest() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->guest(); @@ -2397,8 +2198,7 @@ public static function guest() * * @return \Illuminate\Auth\SessionGuard * @static - */ - public static function forgetUser() + */ public static function forgetUser() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->forgetUser(); @@ -2408,8 +2208,7 @@ public static function forgetUser() * * @return \Illuminate\Contracts\Auth\UserProvider * @static - */ - public static function getProvider() + */ public static function getProvider() { /** @var \Illuminate\Auth\SessionGuard $instance */ return $instance->getProvider(); @@ -2420,8 +2219,7 @@ public static function getProvider() * @param \Illuminate\Contracts\Auth\UserProvider $provider * @return void * @static - */ - public static function setProvider($provider) + */ public static function setProvider($provider) { /** @var \Illuminate\Auth\SessionGuard $instance */ $instance->setProvider($provider); @@ -2433,8 +2231,7 @@ public static function setProvider($provider) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Auth\SessionGuard::macro($name, $macro); } @@ -2446,8 +2243,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Auth\SessionGuard::mixin($mixin, $replace); } @@ -2457,8 +2253,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Auth\SessionGuard::hasMacro($name); } @@ -2467,27 +2262,23 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Auth\SessionGuard::flushMacros(); } - - } + } /** * * * @see \Illuminate\View\Compilers\BladeCompiler - */ - class Blade { + */ class Blade { /** * Compile the view at the given path. * * @param string|null $path * @return void * @static - */ - public static function compile($path = null) + */ public static function compile($path = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->compile($path); @@ -2497,8 +2288,7 @@ public static function compile($path = null) * * @return string * @static - */ - public static function getPath() + */ public static function getPath() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getPath(); @@ -2509,8 +2299,7 @@ public static function getPath() * @param string $path * @return void * @static - */ - public static function setPath($path) + */ public static function setPath($path) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->setPath($path); @@ -2521,8 +2310,7 @@ public static function setPath($path) * @param string $value * @return string * @static - */ - public static function compileString($value) + */ public static function compileString($value) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->compileString($value); @@ -2535,8 +2323,7 @@ public static function compileString($value) * @param bool $deleteCachedView * @return string * @static - */ - public static function render($string, $data = [], $deleteCachedView = false) + */ public static function render($string, $data = [], $deleteCachedView = false) { return \Illuminate\View\Compilers\BladeCompiler::render($string, $data, $deleteCachedView); } @@ -2546,8 +2333,7 @@ public static function render($string, $data = [], $deleteCachedView = false) * @param \Illuminate\View\Component $component * @return string * @static - */ - public static function renderComponent($component) + */ public static function renderComponent($component) { return \Illuminate\View\Compilers\BladeCompiler::renderComponent($component); } @@ -2557,8 +2343,7 @@ public static function renderComponent($component) * @param string $expression * @return string * @static - */ - public static function stripParentheses($expression) + */ public static function stripParentheses($expression) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->stripParentheses($expression); @@ -2569,8 +2354,7 @@ public static function stripParentheses($expression) * @param callable $compiler * @return void * @static - */ - public static function extend($compiler) + */ public static function extend($compiler) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->extend($compiler); @@ -2580,8 +2364,7 @@ public static function extend($compiler) * * @return array * @static - */ - public static function getExtensions() + */ public static function getExtensions() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getExtensions(); @@ -2593,8 +2376,7 @@ public static function getExtensions() * @param callable $callback * @return void * @static - */ - public static function if($name, $callback) + */ public static function if($name, $callback) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->if($name, $callback); @@ -2606,8 +2388,7 @@ public static function if($name, $callback) * @param mixed $parameters * @return bool * @static - */ - public static function check($name, ...$parameters) + */ public static function check($name, ...$parameters) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->check($name, ...$parameters); @@ -2620,8 +2401,7 @@ public static function check($name, ...$parameters) * @param string $prefix * @return void * @static - */ - public static function component($class, $alias = null, $prefix = '') + */ public static function component($class, $alias = null, $prefix = '') { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->component($class, $alias, $prefix); @@ -2633,8 +2413,7 @@ public static function component($class, $alias = null, $prefix = '') * @param string $prefix * @return void * @static - */ - public static function components($components, $prefix = '') + */ public static function components($components, $prefix = '') { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->components($components, $prefix); @@ -2644,8 +2423,7 @@ public static function components($components, $prefix = '') * * @return array * @static - */ - public static function getClassComponentAliases() + */ public static function getClassComponentAliases() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getClassComponentAliases(); @@ -2657,8 +2435,7 @@ public static function getClassComponentAliases() * @param string|null $prefix * @return void * @static - */ - public static function anonymousComponentPath($path, $prefix = null) + */ public static function anonymousComponentPath($path, $prefix = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->anonymousComponentPath($path, $prefix); @@ -2670,8 +2447,7 @@ public static function anonymousComponentPath($path, $prefix = null) * @param string|null $prefix * @return void * @static - */ - public static function anonymousComponentNamespace($directory, $prefix = null) + */ public static function anonymousComponentNamespace($directory, $prefix = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->anonymousComponentNamespace($directory, $prefix); @@ -2683,8 +2459,7 @@ public static function anonymousComponentNamespace($directory, $prefix = null) * @param string $prefix * @return void * @static - */ - public static function componentNamespace($namespace, $prefix) + */ public static function componentNamespace($namespace, $prefix) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->componentNamespace($namespace, $prefix); @@ -2694,8 +2469,7 @@ public static function componentNamespace($namespace, $prefix) * * @return array * @static - */ - public static function getAnonymousComponentPaths() + */ public static function getAnonymousComponentPaths() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getAnonymousComponentPaths(); @@ -2705,8 +2479,7 @@ public static function getAnonymousComponentPaths() * * @return array * @static - */ - public static function getAnonymousComponentNamespaces() + */ public static function getAnonymousComponentNamespaces() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getAnonymousComponentNamespaces(); @@ -2716,8 +2489,7 @@ public static function getAnonymousComponentNamespaces() * * @return array * @static - */ - public static function getClassComponentNamespaces() + */ public static function getClassComponentNamespaces() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getClassComponentNamespaces(); @@ -2729,8 +2501,7 @@ public static function getClassComponentNamespaces() * @param string|null $alias * @return void * @static - */ - public static function aliasComponent($path, $alias = null) + */ public static function aliasComponent($path, $alias = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->aliasComponent($path, $alias); @@ -2742,8 +2513,7 @@ public static function aliasComponent($path, $alias = null) * @param string|null $alias * @return void * @static - */ - public static function include($path, $alias = null) + */ public static function include($path, $alias = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->include($path, $alias); @@ -2755,8 +2525,7 @@ public static function include($path, $alias = null) * @param string|null $alias * @return void * @static - */ - public static function aliasInclude($path, $alias = null) + */ public static function aliasInclude($path, $alias = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->aliasInclude($path, $alias); @@ -2769,8 +2538,7 @@ public static function aliasInclude($path, $alias = null) * @return void * @throws \InvalidArgumentException * @static - */ - public static function directive($name, $handler) + */ public static function directive($name, $handler) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->directive($name, $handler); @@ -2780,8 +2548,7 @@ public static function directive($name, $handler) * * @return array * @static - */ - public static function getCustomDirectives() + */ public static function getCustomDirectives() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getCustomDirectives(); @@ -2792,8 +2559,7 @@ public static function getCustomDirectives() * @param callable $callback * @return \Illuminate\View\Compilers\BladeCompiler * @static - */ - public static function prepareStringsForCompilationUsing($callback) + */ public static function prepareStringsForCompilationUsing($callback) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->prepareStringsForCompilationUsing($callback); @@ -2804,8 +2570,7 @@ public static function prepareStringsForCompilationUsing($callback) * @param callable $precompiler * @return void * @static - */ - public static function precompiler($precompiler) + */ public static function precompiler($precompiler) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->precompiler($precompiler); @@ -2816,8 +2581,7 @@ public static function precompiler($precompiler) * @param string $format * @return void * @static - */ - public static function setEchoFormat($format) + */ public static function setEchoFormat($format) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->setEchoFormat($format); @@ -2827,8 +2591,7 @@ public static function setEchoFormat($format) * * @return void * @static - */ - public static function withDoubleEncoding() + */ public static function withDoubleEncoding() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->withDoubleEncoding(); @@ -2838,8 +2601,7 @@ public static function withDoubleEncoding() * * @return void * @static - */ - public static function withoutDoubleEncoding() + */ public static function withoutDoubleEncoding() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->withoutDoubleEncoding(); @@ -2849,8 +2611,7 @@ public static function withoutDoubleEncoding() * * @return void * @static - */ - public static function withoutComponentTags() + */ public static function withoutComponentTags() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->withoutComponentTags(); @@ -2861,8 +2622,7 @@ public static function withoutComponentTags() * @param string $path * @return string * @static - */ - public static function getCompiledPath($path) + */ public static function getCompiledPath($path) { //Method inherited from \Illuminate\View\Compilers\Compiler /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->getCompiledPath($path); @@ -2874,8 +2634,7 @@ public static function getCompiledPath($path) * @return bool * @throws \ErrorException * @static - */ - public static function isExpired($path) + */ public static function isExpired($path) { //Method inherited from \Illuminate\View\Compilers\Compiler /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->isExpired($path); @@ -2886,8 +2645,7 @@ public static function isExpired($path) * @param string $component * @return string * @static - */ - public static function newComponentHash($component) + */ public static function newComponentHash($component) { return \Illuminate\View\Compilers\BladeCompiler::newComponentHash($component); } @@ -2900,8 +2658,7 @@ public static function newComponentHash($component) * @param string $hash * @return string * @static - */ - public static function compileClassComponentOpening($component, $alias, $data, $hash) + */ public static function compileClassComponentOpening($component, $alias, $data, $hash) { return \Illuminate\View\Compilers\BladeCompiler::compileClassComponentOpening($component, $alias, $data, $hash); } @@ -2910,8 +2667,7 @@ public static function compileClassComponentOpening($component, $alias, $data, $ * * @return string * @static - */ - public static function compileEndComponentClass() + */ public static function compileEndComponentClass() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->compileEndComponentClass(); @@ -2922,8 +2678,7 @@ public static function compileEndComponentClass() * @param mixed $value * @return mixed * @static - */ - public static function sanitizeComponentAttribute($value) + */ public static function sanitizeComponentAttribute($value) { return \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($value); } @@ -2932,8 +2687,7 @@ public static function sanitizeComponentAttribute($value) * * @return string * @static - */ - public static function compileEndOnce() + */ public static function compileEndOnce() { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->compileEndOnce(); @@ -2945,8 +2699,7 @@ public static function compileEndOnce() * @param callable|null $handler * @return void * @static - */ - public static function stringable($class, $handler = null) + */ public static function stringable($class, $handler = null) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ $instance->stringable($class, $handler); @@ -2957,8 +2710,7 @@ public static function stringable($class, $handler = null) * @param string $value * @return string * @static - */ - public static function compileEchos($value) + */ public static function compileEchos($value) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->compileEchos($value); @@ -2969,14 +2721,12 @@ public static function compileEchos($value) * @param string $value * @return string * @static - */ - public static function applyEchoHandler($value) + */ public static function applyEchoHandler($value) { /** @var \Illuminate\View\Compilers\BladeCompiler $instance */ return $instance->applyEchoHandler($value); } - - } + } /** * * @@ -2989,16 +2739,14 @@ public static function applyEchoHandler($value) * @method static \Illuminate\Support\Collection getChannels() * @see \Illuminate\Broadcasting\BroadcastManager * @see \Illuminate\Broadcasting\Broadcasters\Broadcaster - */ - class Broadcast { + */ class Broadcast { /** * Register the routes for handling broadcast channel authentication and sockets. * * @param array|null $attributes * @return void * @static - */ - public static function routes($attributes = null) + */ public static function routes($attributes = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ $instance->routes($attributes); @@ -3009,8 +2757,7 @@ public static function routes($attributes = null) * @param array|null $attributes * @return void * @static - */ - public static function userRoutes($attributes = null) + */ public static function userRoutes($attributes = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ $instance->userRoutes($attributes); @@ -3023,8 +2770,7 @@ public static function userRoutes($attributes = null) * @param array|null $attributes * @return void * @static - */ - public static function channelRoutes($attributes = null) + */ public static function channelRoutes($attributes = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ $instance->channelRoutes($attributes); @@ -3035,8 +2781,7 @@ public static function channelRoutes($attributes = null) * @param \Illuminate\Http\Request|null $request * @return string|null * @static - */ - public static function socket($request = null) + */ public static function socket($request = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->socket($request); @@ -3047,8 +2792,7 @@ public static function socket($request = null) * @param mixed|null $event * @return \Illuminate\Broadcasting\PendingBroadcast * @static - */ - public static function event($event = null) + */ public static function event($event = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->event($event); @@ -3059,8 +2803,7 @@ public static function event($event = null) * @param mixed $event * @return void * @static - */ - public static function queue($event) + */ public static function queue($event) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ $instance->queue($event); @@ -3071,8 +2814,7 @@ public static function queue($event) * @param string|null $driver * @return mixed * @static - */ - public static function connection($driver = null) + */ public static function connection($driver = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->connection($driver); @@ -3083,8 +2825,7 @@ public static function connection($driver = null) * @param string|null $name * @return mixed * @static - */ - public static function driver($name = null) + */ public static function driver($name = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->driver($name); @@ -3095,8 +2836,7 @@ public static function driver($name = null) * @param array $config * @return \Pusher\Pusher * @static - */ - public static function pusher($config) + */ public static function pusher($config) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->pusher($config); @@ -3107,8 +2847,7 @@ public static function pusher($config) * @param array $config * @return \Ably\AblyRest * @static - */ - public static function ably($config) + */ public static function ably($config) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->ably($config); @@ -3118,8 +2857,7 @@ public static function ably($config) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->getDefaultDriver(); @@ -3130,8 +2868,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ $instance->setDefaultDriver($name); @@ -3142,8 +2879,7 @@ public static function setDefaultDriver($name) * @param string|null $name * @return void * @static - */ - public static function purge($name = null) + */ public static function purge($name = null) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ $instance->purge($name); @@ -3155,8 +2891,7 @@ public static function purge($name = null) * @param \Closure $callback * @return \Illuminate\Broadcasting\BroadcastManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->extend($driver, $callback); @@ -3166,8 +2901,7 @@ public static function extend($driver, $callback) * * @return \Illuminate\Contracts\Foundation\Application * @static - */ - public static function getApplication() + */ public static function getApplication() { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->getApplication(); @@ -3178,8 +2912,7 @@ public static function getApplication() * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Broadcasting\BroadcastManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->setApplication($app); @@ -3189,29 +2922,25 @@ public static function setApplication($app) * * @return \Illuminate\Broadcasting\BroadcastManager * @static - */ - public static function forgetDrivers() + */ public static function forgetDrivers() { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->forgetDrivers(); } - - } + } /** * * * @see \Illuminate\Bus\Dispatcher * @see \Illuminate\Support\Testing\Fakes\BusFake - */ - class Bus { + */ class Bus { /** * Dispatch a command to its appropriate handler. * * @param mixed $command * @return mixed * @static - */ - public static function dispatch($command) + */ public static function dispatch($command) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->dispatch($command); @@ -3225,8 +2954,7 @@ public static function dispatch($command) * @param mixed $handler * @return mixed * @static - */ - public static function dispatchSync($command, $handler = null) + */ public static function dispatchSync($command, $handler = null) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->dispatchSync($command, $handler); @@ -3238,8 +2966,7 @@ public static function dispatchSync($command, $handler = null) * @param mixed $handler * @return mixed * @static - */ - public static function dispatchNow($command, $handler = null) + */ public static function dispatchNow($command, $handler = null) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->dispatchNow($command, $handler); @@ -3250,8 +2977,7 @@ public static function dispatchNow($command, $handler = null) * @param string $batchId * @return \Illuminate\Bus\Batch|null * @static - */ - public static function findBatch($batchId) + */ public static function findBatch($batchId) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->findBatch($batchId); @@ -3262,8 +2988,7 @@ public static function findBatch($batchId) * @param \Illuminate\Support\Collection|array|mixed $jobs * @return \Illuminate\Bus\PendingBatch * @static - */ - public static function batch($jobs) + */ public static function batch($jobs) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->batch($jobs); @@ -3274,8 +2999,7 @@ public static function batch($jobs) * @param \Illuminate\Support\Collection|array $jobs * @return \Illuminate\Foundation\Bus\PendingChain * @static - */ - public static function chain($jobs) + */ public static function chain($jobs) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->chain($jobs); @@ -3286,8 +3010,7 @@ public static function chain($jobs) * @param mixed $command * @return bool * @static - */ - public static function hasCommandHandler($command) + */ public static function hasCommandHandler($command) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->hasCommandHandler($command); @@ -3298,8 +3021,7 @@ public static function hasCommandHandler($command) * @param mixed $command * @return bool|mixed * @static - */ - public static function getCommandHandler($command) + */ public static function getCommandHandler($command) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->getCommandHandler($command); @@ -3311,8 +3033,7 @@ public static function getCommandHandler($command) * @return mixed * @throws \RuntimeException * @static - */ - public static function dispatchToQueue($command) + */ public static function dispatchToQueue($command) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->dispatchToQueue($command); @@ -3324,8 +3045,7 @@ public static function dispatchToQueue($command) * @param mixed $handler * @return void * @static - */ - public static function dispatchAfterResponse($command, $handler = null) + */ public static function dispatchAfterResponse($command, $handler = null) { /** @var \Illuminate\Bus\Dispatcher $instance */ $instance->dispatchAfterResponse($command, $handler); @@ -3336,8 +3056,7 @@ public static function dispatchAfterResponse($command, $handler = null) * @param array $pipes * @return \Illuminate\Bus\Dispatcher * @static - */ - public static function pipeThrough($pipes) + */ public static function pipeThrough($pipes) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->pipeThrough($pipes); @@ -3348,8 +3067,7 @@ public static function pipeThrough($pipes) * @param array $map * @return \Illuminate\Bus\Dispatcher * @static - */ - public static function map($map) + */ public static function map($map) { /** @var \Illuminate\Bus\Dispatcher $instance */ return $instance->map($map); @@ -3360,8 +3078,7 @@ public static function map($map) * @param array|string $jobsToDispatch * @return \Illuminate\Support\Testing\Fakes\BusFake * @static - */ - public static function except($jobsToDispatch) + */ public static function except($jobsToDispatch) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->except($jobsToDispatch); @@ -3373,8 +3090,7 @@ public static function except($jobsToDispatch) * @param callable|int|null $callback * @return void * @static - */ - public static function assertDispatched($command, $callback = null) + */ public static function assertDispatched($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatched($command, $callback); @@ -3386,8 +3102,7 @@ public static function assertDispatched($command, $callback = null) * @param int $times * @return void * @static - */ - public static function assertDispatchedTimes($command, $times = 1) + */ public static function assertDispatchedTimes($command, $times = 1) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedTimes($command, $times); @@ -3399,8 +3114,7 @@ public static function assertDispatchedTimes($command, $times = 1) * @param callable|null $callback * @return void * @static - */ - public static function assertNotDispatched($command, $callback = null) + */ public static function assertNotDispatched($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertNotDispatched($command, $callback); @@ -3410,8 +3124,7 @@ public static function assertNotDispatched($command, $callback = null) * * @return void * @static - */ - public static function assertNothingDispatched() + */ public static function assertNothingDispatched() { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertNothingDispatched(); @@ -3423,8 +3136,7 @@ public static function assertNothingDispatched() * @param callable|int|null $callback * @return void * @static - */ - public static function assertDispatchedSync($command, $callback = null) + */ public static function assertDispatchedSync($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedSync($command, $callback); @@ -3436,8 +3148,7 @@ public static function assertDispatchedSync($command, $callback = null) * @param int $times * @return void * @static - */ - public static function assertDispatchedSyncTimes($command, $times = 1) + */ public static function assertDispatchedSyncTimes($command, $times = 1) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedSyncTimes($command, $times); @@ -3449,8 +3160,7 @@ public static function assertDispatchedSyncTimes($command, $times = 1) * @param callable|null $callback * @return void * @static - */ - public static function assertNotDispatchedSync($command, $callback = null) + */ public static function assertNotDispatchedSync($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertNotDispatchedSync($command, $callback); @@ -3462,8 +3172,7 @@ public static function assertNotDispatchedSync($command, $callback = null) * @param callable|int|null $callback * @return void * @static - */ - public static function assertDispatchedAfterResponse($command, $callback = null) + */ public static function assertDispatchedAfterResponse($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedAfterResponse($command, $callback); @@ -3475,8 +3184,7 @@ public static function assertDispatchedAfterResponse($command, $callback = null) * @param int $times * @return void * @static - */ - public static function assertDispatchedAfterResponseTimes($command, $times = 1) + */ public static function assertDispatchedAfterResponseTimes($command, $times = 1) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedAfterResponseTimes($command, $times); @@ -3488,8 +3196,7 @@ public static function assertDispatchedAfterResponseTimes($command, $times = 1) * @param callable|null $callback * @return void * @static - */ - public static function assertNotDispatchedAfterResponse($command, $callback = null) + */ public static function assertNotDispatchedAfterResponse($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertNotDispatchedAfterResponse($command, $callback); @@ -3500,8 +3207,7 @@ public static function assertNotDispatchedAfterResponse($command, $callback = nu * @param array $expectedChain * @return void * @static - */ - public static function assertChained($expectedChain) + */ public static function assertChained($expectedChain) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertChained($expectedChain); @@ -3513,8 +3219,7 @@ public static function assertChained($expectedChain) * @param callable|null $callback * @return void * @static - */ - public static function assertDispatchedWithoutChain($command, $callback = null) + */ public static function assertDispatchedWithoutChain($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertDispatchedWithoutChain($command, $callback); @@ -3525,8 +3230,7 @@ public static function assertDispatchedWithoutChain($command, $callback = null) * @param \Closure $callback * @return \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest * @static - */ - public static function chainedBatch($callback) + */ public static function chainedBatch($callback) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->chainedBatch($callback); @@ -3537,8 +3241,7 @@ public static function chainedBatch($callback) * @param callable $callback * @return void * @static - */ - public static function assertBatched($callback) + */ public static function assertBatched($callback) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertBatched($callback); @@ -3549,8 +3252,7 @@ public static function assertBatched($callback) * @param int $count * @return void * @static - */ - public static function assertBatchCount($count) + */ public static function assertBatchCount($count) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertBatchCount($count); @@ -3560,8 +3262,7 @@ public static function assertBatchCount($count) * * @return void * @static - */ - public static function assertNothingBatched() + */ public static function assertNothingBatched() { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ $instance->assertNothingBatched(); @@ -3573,8 +3274,7 @@ public static function assertNothingBatched() * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function dispatched($command, $callback = null) + */ public static function dispatched($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->dispatched($command, $callback); @@ -3586,8 +3286,7 @@ public static function dispatched($command, $callback = null) * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function dispatchedSync($command, $callback = null) + */ public static function dispatchedSync($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->dispatchedSync($command, $callback); @@ -3599,8 +3298,7 @@ public static function dispatchedSync($command, $callback = null) * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function dispatchedAfterResponse($command, $callback = null) + */ public static function dispatchedAfterResponse($command, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->dispatchedAfterResponse($command, $callback); @@ -3611,8 +3309,7 @@ public static function dispatchedAfterResponse($command, $callback = null) * @param callable $callback * @return \Illuminate\Support\Collection * @static - */ - public static function batched($callback) + */ public static function batched($callback) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->batched($callback); @@ -3623,8 +3320,7 @@ public static function batched($callback) * @param string $command * @return bool * @static - */ - public static function hasDispatched($command) + */ public static function hasDispatched($command) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->hasDispatched($command); @@ -3635,8 +3331,7 @@ public static function hasDispatched($command) * @param string $command * @return bool * @static - */ - public static function hasDispatchedSync($command) + */ public static function hasDispatchedSync($command) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->hasDispatchedSync($command); @@ -3647,8 +3342,7 @@ public static function hasDispatchedSync($command) * @param string $command * @return bool * @static - */ - public static function hasDispatchedAfterResponse($command) + */ public static function hasDispatchedAfterResponse($command) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->hasDispatchedAfterResponse($command); @@ -3659,8 +3353,7 @@ public static function hasDispatchedAfterResponse($command) * @param string $name * @return \Illuminate\Bus\Batch * @static - */ - public static function dispatchFakeBatch($name = '') + */ public static function dispatchFakeBatch($name = '') { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->dispatchFakeBatch($name); @@ -3671,8 +3364,7 @@ public static function dispatchFakeBatch($name = '') * @param \Illuminate\Bus\PendingBatch $pendingBatch * @return \Illuminate\Bus\Batch * @static - */ - public static function recordPendingBatch($pendingBatch) + */ public static function recordPendingBatch($pendingBatch) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->recordPendingBatch($pendingBatch); @@ -3683,29 +3375,25 @@ public static function recordPendingBatch($pendingBatch) * @param bool $serializeAndRestore * @return \Illuminate\Support\Testing\Fakes\BusFake * @static - */ - public static function serializeAndRestore($serializeAndRestore = true) + */ public static function serializeAndRestore($serializeAndRestore = true) { /** @var \Illuminate\Support\Testing\Fakes\BusFake $instance */ return $instance->serializeAndRestore($serializeAndRestore); } - - } + } /** * * * @see \Illuminate\Cache\CacheManager * @mixin \Illuminate\Cache\Repository - */ - class Cache { + */ class Cache { /** * Get a cache store instance by name, wrapped in a repository. * * @param string|null $name * @return \Illuminate\Contracts\Cache\Repository * @static - */ - public static function store($name = null) + */ public static function store($name = null) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->store($name); @@ -3716,8 +3404,7 @@ public static function store($name = null) * @param string|null $driver * @return \Illuminate\Contracts\Cache\Repository * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->driver($driver); @@ -3729,8 +3416,7 @@ public static function driver($driver = null) * @return \Illuminate\Contracts\Cache\Repository * @throws \InvalidArgumentException * @static - */ - public static function resolve($name) + */ public static function resolve($name) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->resolve($name); @@ -3741,8 +3427,7 @@ public static function resolve($name) * @param \Illuminate\Contracts\Cache\Store $store * @return \Illuminate\Cache\Repository * @static - */ - public static function repository($store) + */ public static function repository($store) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->repository($store); @@ -3752,8 +3437,7 @@ public static function repository($store) * * @return void * @static - */ - public static function refreshEventDispatcher() + */ public static function refreshEventDispatcher() { /** @var \Illuminate\Cache\CacheManager $instance */ $instance->refreshEventDispatcher(); @@ -3763,8 +3447,7 @@ public static function refreshEventDispatcher() * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->getDefaultDriver(); @@ -3775,8 +3458,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Cache\CacheManager $instance */ $instance->setDefaultDriver($name); @@ -3787,8 +3469,7 @@ public static function setDefaultDriver($name) * @param array|string|null $name * @return \Illuminate\Cache\CacheManager * @static - */ - public static function forgetDriver($name = null) + */ public static function forgetDriver($name = null) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->forgetDriver($name); @@ -3799,8 +3480,7 @@ public static function forgetDriver($name = null) * @param string|null $name * @return void * @static - */ - public static function purge($name = null) + */ public static function purge($name = null) { /** @var \Illuminate\Cache\CacheManager $instance */ $instance->purge($name); @@ -3812,8 +3492,7 @@ public static function purge($name = null) * @param \Closure $callback * @return \Illuminate\Cache\CacheManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->extend($driver, $callback); @@ -3824,8 +3503,7 @@ public static function extend($driver, $callback) * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Cache\CacheManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Cache\CacheManager $instance */ return $instance->setApplication($app); @@ -3836,8 +3514,7 @@ public static function setApplication($app) * @param array|string $key * @return bool * @static - */ - public static function has($key) + */ public static function has($key) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->has($key); @@ -3848,8 +3525,7 @@ public static function has($key) * @param string $key * @return bool * @static - */ - public static function missing($key) + */ public static function missing($key) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->missing($key); @@ -3862,8 +3538,7 @@ public static function missing($key) * @param \Illuminate\Cache\TCacheValue|\Illuminate\Cache\(\Closure(): TCacheValue) $default * @return \Illuminate\Cache\(TCacheValue is null ? mixed : TCacheValue) * @static - */ - public static function get($key, $default = null) + */ public static function get($key, $default = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->get($key, $default); @@ -3876,8 +3551,7 @@ public static function get($key, $default = null) * @param array $keys * @return array * @static - */ - public static function many($keys) + */ public static function many($keys) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->many($keys); @@ -3893,8 +3567,7 @@ public static function many($keys) * MUST be thrown if $keys is neither an array nor a Traversable, * or if any of the $keys are not a legal value. * @static - */ - public static function getMultiple($keys, $default = null) + */ public static function getMultiple($keys, $default = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->getMultiple($keys, $default); @@ -3907,8 +3580,7 @@ public static function getMultiple($keys, $default = null) * @param \Illuminate\Cache\TCacheValue|\Illuminate\Cache\(\Closure(): TCacheValue) $default * @return \Illuminate\Cache\(TCacheValue is null ? mixed : TCacheValue) * @static - */ - public static function pull($key, $default = null) + */ public static function pull($key, $default = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->pull($key, $default); @@ -3921,8 +3593,7 @@ public static function pull($key, $default = null) * @param \DateTimeInterface|\DateInterval|int|null $ttl * @return bool * @static - */ - public static function put($key, $value, $ttl = null) + */ public static function put($key, $value, $ttl = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->put($key, $value, $ttl); @@ -3940,8 +3611,7 @@ public static function put($key, $value, $ttl = null) * @throws \Psr\SimpleCache\InvalidArgumentException * MUST be thrown if the $key string is not a legal value. * @static - */ - public static function set($key, $value, $ttl = null) + */ public static function set($key, $value, $ttl = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->set($key, $value, $ttl); @@ -3953,8 +3623,7 @@ public static function set($key, $value, $ttl = null) * @param \DateTimeInterface|\DateInterval|int|null $ttl * @return bool * @static - */ - public static function putMany($values, $ttl = null) + */ public static function putMany($values, $ttl = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->putMany($values, $ttl); @@ -3972,8 +3641,7 @@ public static function putMany($values, $ttl = null) * MUST be thrown if $values is neither an array nor a Traversable, * or if any of the $values are not a legal value. * @static - */ - public static function setMultiple($values, $ttl = null) + */ public static function setMultiple($values, $ttl = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->setMultiple($values, $ttl); @@ -3986,8 +3654,7 @@ public static function setMultiple($values, $ttl = null) * @param \DateTimeInterface|\DateInterval|int|null $ttl * @return bool * @static - */ - public static function add($key, $value, $ttl = null) + */ public static function add($key, $value, $ttl = null) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->add($key, $value, $ttl); @@ -3999,8 +3666,7 @@ public static function add($key, $value, $ttl = null) * @param mixed $value * @return int|bool * @static - */ - public static function increment($key, $value = 1) + */ public static function increment($key, $value = 1) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->increment($key, $value); @@ -4012,8 +3678,7 @@ public static function increment($key, $value = 1) * @param mixed $value * @return int|bool * @static - */ - public static function decrement($key, $value = 1) + */ public static function decrement($key, $value = 1) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->decrement($key, $value); @@ -4025,8 +3690,7 @@ public static function decrement($key, $value = 1) * @param mixed $value * @return bool * @static - */ - public static function forever($key, $value) + */ public static function forever($key, $value) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->forever($key, $value); @@ -4040,8 +3704,7 @@ public static function forever($key, $value) * @param \Closure(): TCacheValue $callback * @return \Illuminate\Cache\TCacheValue * @static - */ - public static function remember($key, $ttl, $callback) + */ public static function remember($key, $ttl, $callback) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->remember($key, $ttl, $callback); @@ -4054,8 +3717,7 @@ public static function remember($key, $ttl, $callback) * @param \Closure(): TCacheValue $callback * @return \Illuminate\Cache\TCacheValue * @static - */ - public static function sear($key, $callback) + */ public static function sear($key, $callback) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->sear($key, $callback); @@ -4068,8 +3730,7 @@ public static function sear($key, $callback) * @param \Closure(): TCacheValue $callback * @return \Illuminate\Cache\TCacheValue * @static - */ - public static function rememberForever($key, $callback) + */ public static function rememberForever($key, $callback) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->rememberForever($key, $callback); @@ -4080,8 +3741,7 @@ public static function rememberForever($key, $callback) * @param string $key * @return bool * @static - */ - public static function forget($key) + */ public static function forget($key) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->forget($key); @@ -4095,8 +3755,7 @@ public static function forget($key) * @throws \Psr\SimpleCache\InvalidArgumentException * MUST be thrown if the $key string is not a legal value. * @static - */ - public static function delete($key) + */ public static function delete($key) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->delete($key); @@ -4111,8 +3770,7 @@ public static function delete($key) * MUST be thrown if $keys is neither an array nor a Traversable, * or if any of the $keys are not a legal value. * @static - */ - public static function deleteMultiple($keys) + */ public static function deleteMultiple($keys) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->deleteMultiple($keys); @@ -4123,8 +3781,7 @@ public static function deleteMultiple($keys) * @return bool * @return bool True on success and false on failure. * @static - */ - public static function clear() + */ public static function clear() { /** @var \Illuminate\Cache\Repository $instance */ return $instance->clear(); @@ -4136,8 +3793,7 @@ public static function clear() * @return \Illuminate\Cache\TaggedCache * @throws \BadMethodCallException * @static - */ - public static function tags($names) + */ public static function tags($names) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->tags($names); @@ -4147,8 +3803,7 @@ public static function tags($names) * * @return bool * @static - */ - public static function supportsTags() + */ public static function supportsTags() { /** @var \Illuminate\Cache\Repository $instance */ return $instance->supportsTags(); @@ -4158,8 +3813,7 @@ public static function supportsTags() * * @return int|null * @static - */ - public static function getDefaultCacheTime() + */ public static function getDefaultCacheTime() { /** @var \Illuminate\Cache\Repository $instance */ return $instance->getDefaultCacheTime(); @@ -4170,8 +3824,7 @@ public static function getDefaultCacheTime() * @param int|null $seconds * @return \Illuminate\Cache\Repository * @static - */ - public static function setDefaultCacheTime($seconds) + */ public static function setDefaultCacheTime($seconds) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->setDefaultCacheTime($seconds); @@ -4181,8 +3834,7 @@ public static function setDefaultCacheTime($seconds) * * @return \Illuminate\Contracts\Cache\Store * @static - */ - public static function getStore() + */ public static function getStore() { /** @var \Illuminate\Cache\Repository $instance */ return $instance->getStore(); @@ -4193,8 +3845,7 @@ public static function getStore() * @param \Illuminate\Contracts\Cache\Store $store * @return static * @static - */ - public static function setStore($store) + */ public static function setStore($store) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->setStore($store); @@ -4204,8 +3855,7 @@ public static function setStore($store) * * @return \Illuminate\Contracts\Events\Dispatcher * @static - */ - public static function getEventDispatcher() + */ public static function getEventDispatcher() { /** @var \Illuminate\Cache\Repository $instance */ return $instance->getEventDispatcher(); @@ -4216,8 +3866,7 @@ public static function getEventDispatcher() * @param \Illuminate\Contracts\Events\Dispatcher $events * @return void * @static - */ - public static function setEventDispatcher($events) + */ public static function setEventDispatcher($events) { /** @var \Illuminate\Cache\Repository $instance */ $instance->setEventDispatcher($events); @@ -4228,8 +3877,7 @@ public static function setEventDispatcher($events) * @param string $key * @return bool * @static - */ - public static function offsetExists($key) + */ public static function offsetExists($key) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->offsetExists($key); @@ -4240,8 +3888,7 @@ public static function offsetExists($key) * @param string $key * @return mixed * @static - */ - public static function offsetGet($key) + */ public static function offsetGet($key) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->offsetGet($key); @@ -4253,8 +3900,7 @@ public static function offsetGet($key) * @param mixed $value * @return void * @static - */ - public static function offsetSet($key, $value) + */ public static function offsetSet($key, $value) { /** @var \Illuminate\Cache\Repository $instance */ $instance->offsetSet($key, $value); @@ -4265,8 +3911,7 @@ public static function offsetSet($key, $value) * @param string $key * @return void * @static - */ - public static function offsetUnset($key) + */ public static function offsetUnset($key) { /** @var \Illuminate\Cache\Repository $instance */ $instance->offsetUnset($key); @@ -4278,8 +3923,7 @@ public static function offsetUnset($key) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Cache\Repository::macro($name, $macro); } @@ -4291,8 +3935,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Cache\Repository::mixin($mixin, $replace); } @@ -4302,8 +3945,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Cache\Repository::hasMacro($name); } @@ -4312,8 +3954,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Cache\Repository::flushMacros(); } @@ -4325,8 +3966,7 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Cache\Repository $instance */ return $instance->macroCall($method, $parameters); @@ -4339,8 +3979,7 @@ public static function macroCall($method, $parameters) * @param string|null $owner * @return \Illuminate\Contracts\Cache\Lock * @static - */ - public static function lock($name, $seconds = 0, $owner = null) + */ public static function lock($name, $seconds = 0, $owner = null) { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->lock($name, $seconds, $owner); @@ -4352,8 +3991,7 @@ public static function lock($name, $seconds = 0, $owner = null) * @param string $owner * @return \Illuminate\Contracts\Cache\Lock * @static - */ - public static function restoreLock($name, $owner) + */ public static function restoreLock($name, $owner) { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->restoreLock($name, $owner); @@ -4363,8 +4001,7 @@ public static function restoreLock($name, $owner) * * @return bool * @static - */ - public static function flush() + */ public static function flush() { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->flush(); @@ -4375,8 +4012,7 @@ public static function flush() * @param string $key * @return string * @static - */ - public static function path($key) + */ public static function path($key) { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->path($key); @@ -4386,8 +4022,7 @@ public static function path($key) * * @return \Illuminate\Filesystem\Filesystem * @static - */ - public static function getFilesystem() + */ public static function getFilesystem() { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->getFilesystem(); @@ -4397,8 +4032,7 @@ public static function getFilesystem() * * @return string * @static - */ - public static function getDirectory() + */ public static function getDirectory() { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->getDirectory(); @@ -4409,8 +4043,7 @@ public static function getDirectory() * @param string|null $lockDirectory * @return \Illuminate\Cache\FileStore * @static - */ - public static function setLockDirectory($lockDirectory) + */ public static function setLockDirectory($lockDirectory) { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->setLockDirectory($lockDirectory); @@ -4420,28 +4053,24 @@ public static function setLockDirectory($lockDirectory) * * @return string * @static - */ - public static function getPrefix() + */ public static function getPrefix() { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->getPrefix(); } - - } + } /** * * * @see \Illuminate\Config\Repository - */ - class Config { + */ class Config { /** * Determine if the given configuration value exists. * * @param string $key * @return bool * @static - */ - public static function has($key) + */ public static function has($key) { /** @var \Illuminate\Config\Repository $instance */ return $instance->has($key); @@ -4453,8 +4082,7 @@ public static function has($key) * @param mixed $default * @return mixed * @static - */ - public static function get($key, $default = null) + */ public static function get($key, $default = null) { /** @var \Illuminate\Config\Repository $instance */ return $instance->get($key, $default); @@ -4465,8 +4093,7 @@ public static function get($key, $default = null) * @param array $keys * @return array * @static - */ - public static function getMany($keys) + */ public static function getMany($keys) { /** @var \Illuminate\Config\Repository $instance */ return $instance->getMany($keys); @@ -4478,8 +4105,7 @@ public static function getMany($keys) * @param mixed $value * @return void * @static - */ - public static function set($key, $value = null) + */ public static function set($key, $value = null) { /** @var \Illuminate\Config\Repository $instance */ $instance->set($key, $value); @@ -4491,8 +4117,7 @@ public static function set($key, $value = null) * @param mixed $value * @return void * @static - */ - public static function prepend($key, $value) + */ public static function prepend($key, $value) { /** @var \Illuminate\Config\Repository $instance */ $instance->prepend($key, $value); @@ -4504,8 +4129,7 @@ public static function prepend($key, $value) * @param mixed $value * @return void * @static - */ - public static function push($key, $value) + */ public static function push($key, $value) { /** @var \Illuminate\Config\Repository $instance */ $instance->push($key, $value); @@ -4515,8 +4139,7 @@ public static function push($key, $value) * * @return array * @static - */ - public static function all() + */ public static function all() { /** @var \Illuminate\Config\Repository $instance */ return $instance->all(); @@ -4527,8 +4150,7 @@ public static function all() * @param string $key * @return bool * @static - */ - public static function offsetExists($key) + */ public static function offsetExists($key) { /** @var \Illuminate\Config\Repository $instance */ return $instance->offsetExists($key); @@ -4539,8 +4161,7 @@ public static function offsetExists($key) * @param string $key * @return mixed * @static - */ - public static function offsetGet($key) + */ public static function offsetGet($key) { /** @var \Illuminate\Config\Repository $instance */ return $instance->offsetGet($key); @@ -4552,8 +4173,7 @@ public static function offsetGet($key) * @param mixed $value * @return void * @static - */ - public static function offsetSet($key, $value) + */ public static function offsetSet($key, $value) { /** @var \Illuminate\Config\Repository $instance */ $instance->offsetSet($key, $value); @@ -4564,8 +4184,7 @@ public static function offsetSet($key, $value) * @param string $key * @return void * @static - */ - public static function offsetUnset($key) + */ public static function offsetUnset($key) { /** @var \Illuminate\Config\Repository $instance */ $instance->offsetUnset($key); @@ -4577,8 +4196,7 @@ public static function offsetUnset($key) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Config\Repository::macro($name, $macro); } @@ -4590,8 +4208,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Config\Repository::mixin($mixin, $replace); } @@ -4601,8 +4218,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Config\Repository::hasMacro($name); } @@ -4611,19 +4227,16 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Config\Repository::flushMacros(); } - - } + } /** * * * @see \Illuminate\Cookie\CookieJar - */ - class Cookie { + */ class Cookie { /** * Create a new cookie instance. * @@ -4638,8 +4251,7 @@ class Cookie { * @param string|null $sameSite * @return \Symfony\Component\HttpFoundation\Cookie * @static - */ - public static function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) + */ public static function make($name, $value, $minutes = 0, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->make($name, $value, $minutes, $path, $domain, $secure, $httpOnly, $raw, $sameSite); @@ -4657,8 +4269,7 @@ public static function make($name, $value, $minutes = 0, $path = null, $domain = * @param string|null $sameSite * @return \Symfony\Component\HttpFoundation\Cookie * @static - */ - public static function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) + */ public static function forever($name, $value, $path = null, $domain = null, $secure = null, $httpOnly = true, $raw = false, $sameSite = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->forever($name, $value, $path, $domain, $secure, $httpOnly, $raw, $sameSite); @@ -4671,8 +4282,7 @@ public static function forever($name, $value, $path = null, $domain = null, $sec * @param string|null $domain * @return \Symfony\Component\HttpFoundation\Cookie * @static - */ - public static function forget($name, $path = null, $domain = null) + */ public static function forget($name, $path = null, $domain = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->forget($name, $path, $domain); @@ -4684,8 +4294,7 @@ public static function forget($name, $path = null, $domain = null) * @param string|null $path * @return bool * @static - */ - public static function hasQueued($key, $path = null) + */ public static function hasQueued($key, $path = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->hasQueued($key, $path); @@ -4698,8 +4307,7 @@ public static function hasQueued($key, $path = null) * @param string|null $path * @return \Symfony\Component\HttpFoundation\Cookie|null * @static - */ - public static function queued($key, $default = null, $path = null) + */ public static function queued($key, $default = null, $path = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->queued($key, $default, $path); @@ -4710,8 +4318,7 @@ public static function queued($key, $default = null, $path = null) * @param mixed $parameters * @return void * @static - */ - public static function queue(...$parameters) + */ public static function queue(...$parameters) { /** @var \Illuminate\Cookie\CookieJar $instance */ $instance->queue(...$parameters); @@ -4724,8 +4331,7 @@ public static function queue(...$parameters) * @param string|null $domain * @return void * @static - */ - public static function expire($name, $path = null, $domain = null) + */ public static function expire($name, $path = null, $domain = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ $instance->expire($name, $path, $domain); @@ -4737,8 +4343,7 @@ public static function expire($name, $path = null, $domain = null) * @param string|null $path * @return void * @static - */ - public static function unqueue($name, $path = null) + */ public static function unqueue($name, $path = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ $instance->unqueue($name, $path); @@ -4752,8 +4357,7 @@ public static function unqueue($name, $path = null) * @param string|null $sameSite * @return \Illuminate\Cookie\CookieJar * @static - */ - public static function setDefaultPathAndDomain($path, $domain, $secure = false, $sameSite = null) + */ public static function setDefaultPathAndDomain($path, $domain, $secure = false, $sameSite = null) { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->setDefaultPathAndDomain($path, $domain, $secure, $sameSite); @@ -4763,8 +4367,7 @@ public static function setDefaultPathAndDomain($path, $domain, $secure = false, * * @return \Symfony\Component\HttpFoundation\Cookie[] * @static - */ - public static function getQueuedCookies() + */ public static function getQueuedCookies() { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->getQueuedCookies(); @@ -4774,8 +4377,7 @@ public static function getQueuedCookies() * * @return \Illuminate\Cookie\CookieJar * @static - */ - public static function flushQueuedCookies() + */ public static function flushQueuedCookies() { /** @var \Illuminate\Cookie\CookieJar $instance */ return $instance->flushQueuedCookies(); @@ -4787,8 +4389,7 @@ public static function flushQueuedCookies() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Cookie\CookieJar::macro($name, $macro); } @@ -4800,8 +4401,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Cookie\CookieJar::mixin($mixin, $replace); } @@ -4811,8 +4411,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Cookie\CookieJar::hasMacro($name); } @@ -4821,19 +4420,16 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Cookie\CookieJar::flushMacros(); } - - } + } /** * * * @see \Illuminate\Encryption\Encrypter - */ - class Crypt { + */ class Crypt { /** * Determine if the given key and cipher combination is valid. * @@ -4841,8 +4437,7 @@ class Crypt { * @param string $cipher * @return bool * @static - */ - public static function supported($key, $cipher) + */ public static function supported($key, $cipher) { return \Illuminate\Encryption\Encrypter::supported($key, $cipher); } @@ -4852,8 +4447,7 @@ public static function supported($key, $cipher) * @param string $cipher * @return string * @static - */ - public static function generateKey($cipher) + */ public static function generateKey($cipher) { return \Illuminate\Encryption\Encrypter::generateKey($cipher); } @@ -4865,8 +4459,7 @@ public static function generateKey($cipher) * @return string * @throws \Illuminate\Contracts\Encryption\EncryptException * @static - */ - public static function encrypt($value, $serialize = true) + */ public static function encrypt($value, $serialize = true) { /** @var \Illuminate\Encryption\Encrypter $instance */ return $instance->encrypt($value, $serialize); @@ -4878,8 +4471,7 @@ public static function encrypt($value, $serialize = true) * @return string * @throws \Illuminate\Contracts\Encryption\EncryptException * @static - */ - public static function encryptString($value) + */ public static function encryptString($value) { /** @var \Illuminate\Encryption\Encrypter $instance */ return $instance->encryptString($value); @@ -4892,8 +4484,7 @@ public static function encryptString($value) * @return mixed * @throws \Illuminate\Contracts\Encryption\DecryptException * @static - */ - public static function decrypt($payload, $unserialize = true) + */ public static function decrypt($payload, $unserialize = true) { /** @var \Illuminate\Encryption\Encrypter $instance */ return $instance->decrypt($payload, $unserialize); @@ -4905,8 +4496,7 @@ public static function decrypt($payload, $unserialize = true) * @return string * @throws \Illuminate\Contracts\Encryption\DecryptException * @static - */ - public static function decryptString($payload) + */ public static function decryptString($payload) { /** @var \Illuminate\Encryption\Encrypter $instance */ return $instance->decryptString($payload); @@ -4916,14 +4506,12 @@ public static function decryptString($payload) * * @return string * @static - */ - public static function getKey() + */ public static function getKey() { /** @var \Illuminate\Encryption\Encrypter $instance */ return $instance->getKey(); } - - } + } /** * * @@ -5001,8 +4589,7 @@ public static function getKey() * @method static void useYearsOverflow($yearsOverflow = true) * @method static \Illuminate\Support\Carbon yesterday($tz = null) * @see \Illuminate\Support\DateFactory - */ - class Date { + */ class Date { /** * Use the given handler when generating dates (class name, callable, or factory). * @@ -5010,8 +4597,7 @@ class Date { * @return mixed * @throws \InvalidArgumentException * @static - */ - public static function use($handler) + */ public static function use($handler) { return \Illuminate\Support\DateFactory::use($handler); } @@ -5020,8 +4606,7 @@ public static function use($handler) * * @return void * @static - */ - public static function useDefault() + */ public static function useDefault() { \Illuminate\Support\DateFactory::useDefault(); } @@ -5031,8 +4616,7 @@ public static function useDefault() * @param callable $callable * @return void * @static - */ - public static function useCallable($callable) + */ public static function useCallable($callable) { \Illuminate\Support\DateFactory::useCallable($callable); } @@ -5042,8 +4626,7 @@ public static function useCallable($callable) * @param string $dateClass * @return void * @static - */ - public static function useClass($dateClass) + */ public static function useClass($dateClass) { \Illuminate\Support\DateFactory::useClass($dateClass); } @@ -5053,30 +4636,39 @@ public static function useClass($dateClass) * @param object $factory * @return void * @static - */ - public static function useFactory($factory) + */ public static function useFactory($factory) { \Illuminate\Support\DateFactory::useFactory($factory); } - - } + } /** * * * @see \Illuminate\Database\DatabaseManager - */ - class DB { + */ class DB { /** * Get a database connection instance. * * @param string|null $name * @return \Illuminate\Database\Connection * @static - */ - public static function connection($name = null) + */ public static function connection($name = null) { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->connection($name); + } + /** + * Get a database connection instance from the given configuration. + * + * @param string $name + * @param array $config + * @param bool $force + * @return \Illuminate\Database\MySqlConnection + * @static + */ public static function connectUsing($name, $config, $force = false) + { + /** @var \Illuminate\Database\DatabaseManager $instance */ + return $instance->connectUsing($name, $config, $force); } /** * Register a custom Doctrine type. @@ -5088,8 +4680,7 @@ public static function connection($name = null) * @throws \Doctrine\DBAL\Exception * @throws \RuntimeException * @static - */ - public static function registerDoctrineType($class, $name, $type) + */ public static function registerDoctrineType($class, $name, $type) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->registerDoctrineType($class, $name, $type); @@ -5100,8 +4691,7 @@ public static function registerDoctrineType($class, $name, $type) * @param string|null $name * @return void * @static - */ - public static function purge($name = null) + */ public static function purge($name = null) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->purge($name); @@ -5112,8 +4702,7 @@ public static function purge($name = null) * @param string|null $name * @return void * @static - */ - public static function disconnect($name = null) + */ public static function disconnect($name = null) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->disconnect($name); @@ -5124,8 +4713,7 @@ public static function disconnect($name = null) * @param string|null $name * @return \Illuminate\Database\Connection * @static - */ - public static function reconnect($name = null) + */ public static function reconnect($name = null) { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->reconnect($name); @@ -5137,8 +4725,7 @@ public static function reconnect($name = null) * @param callable $callback * @return mixed * @static - */ - public static function usingConnection($name, $callback) + */ public static function usingConnection($name, $callback) { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->usingConnection($name, $callback); @@ -5148,8 +4735,7 @@ public static function usingConnection($name, $callback) * * @return string * @static - */ - public static function getDefaultConnection() + */ public static function getDefaultConnection() { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->getDefaultConnection(); @@ -5160,8 +4746,7 @@ public static function getDefaultConnection() * @param string $name * @return void * @static - */ - public static function setDefaultConnection($name) + */ public static function setDefaultConnection($name) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->setDefaultConnection($name); @@ -5171,8 +4756,7 @@ public static function setDefaultConnection($name) * * @return string[] * @static - */ - public static function supportedDrivers() + */ public static function supportedDrivers() { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->supportedDrivers(); @@ -5182,8 +4766,7 @@ public static function supportedDrivers() * * @return string[] * @static - */ - public static function availableDrivers() + */ public static function availableDrivers() { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->availableDrivers(); @@ -5195,8 +4778,7 @@ public static function availableDrivers() * @param callable $resolver * @return void * @static - */ - public static function extend($name, $resolver) + */ public static function extend($name, $resolver) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->extend($name, $resolver); @@ -5207,8 +4789,7 @@ public static function extend($name, $resolver) * @param string $name * @return void * @static - */ - public static function forgetExtension($name) + */ public static function forgetExtension($name) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->forgetExtension($name); @@ -5218,8 +4799,7 @@ public static function forgetExtension($name) * * @return array * @static - */ - public static function getConnections() + */ public static function getConnections() { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->getConnections(); @@ -5230,8 +4810,7 @@ public static function getConnections() * @param callable $reconnector * @return void * @static - */ - public static function setReconnector($reconnector) + */ public static function setReconnector($reconnector) { /** @var \Illuminate\Database\DatabaseManager $instance */ $instance->setReconnector($reconnector); @@ -5242,8 +4821,7 @@ public static function setReconnector($reconnector) * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Database\DatabaseManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->setApplication($app); @@ -5255,8 +4833,7 @@ public static function setApplication($app) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Database\DatabaseManager::macro($name, $macro); } @@ -5268,8 +4845,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Database\DatabaseManager::mixin($mixin, $replace); } @@ -5279,8 +4855,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Database\DatabaseManager::hasMacro($name); } @@ -5289,8 +4864,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Database\DatabaseManager::flushMacros(); } @@ -5302,21 +4876,29 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->macroCall($method, $parameters); + } + /** + * Determine if the connected database is a MariaDB database. + * + * @return bool + * @static + */ public static function isMaria() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->isMaria(); } /** * Get a schema builder instance for the connection. * - * @return \Illuminate\Database\Schema\PostgresBuilder + * @return \Illuminate\Database\Schema\MySqlBuilder * @static - */ - public static function getSchemaBuilder() + */ public static function getSchemaBuilder() { - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getSchemaBuilder(); } /** @@ -5324,12 +4906,11 @@ public static function getSchemaBuilder() * * @param \Illuminate\Filesystem\Filesystem|null $files * @param callable|null $processFactory - * @return \Illuminate\Database\Schema\PostgresSchemaState + * @return \Illuminate\Database\Schema\MySqlSchemaState * @static - */ - public static function getSchemaState($files = null, $processFactory = null) + */ public static function getSchemaState($files = null, $processFactory = null) { - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getSchemaState($files, $processFactory); } /** @@ -5337,10 +4918,9 @@ public static function getSchemaState($files = null, $processFactory = null) * * @return void * @static - */ - public static function useDefaultQueryGrammar() + */ public static function useDefaultQueryGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->useDefaultQueryGrammar(); } /** @@ -5348,10 +4928,9 @@ public static function useDefaultQueryGrammar() * * @return void * @static - */ - public static function useDefaultSchemaGrammar() + */ public static function useDefaultSchemaGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->useDefaultSchemaGrammar(); } /** @@ -5359,10 +4938,9 @@ public static function useDefaultSchemaGrammar() * * @return void * @static - */ - public static function useDefaultPostProcessor() + */ public static function useDefaultPostProcessor() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->useDefaultPostProcessor(); } /** @@ -5372,10 +4950,9 @@ public static function useDefaultPostProcessor() * @param string|null $as * @return \Illuminate\Database\Query\Builder * @static - */ - public static function table($table, $as = null) + */ public static function table($table, $as = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->table($table, $as); } /** @@ -5383,10 +4960,9 @@ public static function table($table, $as = null) * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function query() + */ public static function query() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->query(); } /** @@ -5397,10 +4973,9 @@ public static function query() * @param bool $useReadPdo * @return mixed * @static - */ - public static function selectOne($query, $bindings = [], $useReadPdo = true) + */ public static function selectOne($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->selectOne($query, $bindings, $useReadPdo); } /** @@ -5412,10 +4987,9 @@ public static function selectOne($query, $bindings = [], $useReadPdo = true) * @return mixed * @throws \Illuminate\Database\MultipleColumnsSelectedException * @static - */ - public static function scalar($query, $bindings = [], $useReadPdo = true) + */ public static function scalar($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->scalar($query, $bindings, $useReadPdo); } /** @@ -5425,10 +4999,9 @@ public static function scalar($query, $bindings = [], $useReadPdo = true) * @param array $bindings * @return array * @static - */ - public static function selectFromWriteConnection($query, $bindings = []) + */ public static function selectFromWriteConnection($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->selectFromWriteConnection($query, $bindings); } /** @@ -5439,10 +5012,9 @@ public static function selectFromWriteConnection($query, $bindings = []) * @param bool $useReadPdo * @return array * @static - */ - public static function select($query, $bindings = [], $useReadPdo = true) + */ public static function select($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->select($query, $bindings, $useReadPdo); } /** @@ -5453,10 +5025,9 @@ public static function select($query, $bindings = [], $useReadPdo = true) * @param bool $useReadPdo * @return array * @static - */ - public static function selectResultSets($query, $bindings = [], $useReadPdo = true) + */ public static function selectResultSets($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->selectResultSets($query, $bindings, $useReadPdo); } /** @@ -5467,10 +5038,9 @@ public static function selectResultSets($query, $bindings = [], $useReadPdo = tr * @param bool $useReadPdo * @return \Generator * @static - */ - public static function cursor($query, $bindings = [], $useReadPdo = true) + */ public static function cursor($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->cursor($query, $bindings, $useReadPdo); } /** @@ -5480,10 +5050,9 @@ public static function cursor($query, $bindings = [], $useReadPdo = true) * @param array $bindings * @return bool * @static - */ - public static function insert($query, $bindings = []) + */ public static function insert($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->insert($query, $bindings); } /** @@ -5493,10 +5062,9 @@ public static function insert($query, $bindings = []) * @param array $bindings * @return int * @static - */ - public static function update($query, $bindings = []) + */ public static function update($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->update($query, $bindings); } /** @@ -5506,10 +5074,9 @@ public static function update($query, $bindings = []) * @param array $bindings * @return int * @static - */ - public static function delete($query, $bindings = []) + */ public static function delete($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->delete($query, $bindings); } /** @@ -5519,10 +5086,9 @@ public static function delete($query, $bindings = []) * @param array $bindings * @return bool * @static - */ - public static function statement($query, $bindings = []) + */ public static function statement($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->statement($query, $bindings); } /** @@ -5532,10 +5098,9 @@ public static function statement($query, $bindings = []) * @param array $bindings * @return int * @static - */ - public static function affectingStatement($query, $bindings = []) + */ public static function affectingStatement($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->affectingStatement($query, $bindings); } /** @@ -5544,10 +5109,9 @@ public static function affectingStatement($query, $bindings = []) * @param string $query * @return bool * @static - */ - public static function unprepared($query) + */ public static function unprepared($query) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->unprepared($query); } /** @@ -5556,10 +5120,9 @@ public static function unprepared($query) * @param \Closure $callback * @return array * @static - */ - public static function pretend($callback) + */ public static function pretend($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->pretend($callback); } /** @@ -5568,10 +5131,9 @@ public static function pretend($callback) * @param \Closure $callback * @return mixed * @static - */ - public static function withoutPretending($callback) + */ public static function withoutPretending($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->withoutPretending($callback); } /** @@ -5581,10 +5143,9 @@ public static function withoutPretending($callback) * @param array $bindings * @return void * @static - */ - public static function bindValues($statement, $bindings) + */ public static function bindValues($statement, $bindings) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->bindValues($statement, $bindings); } /** @@ -5593,10 +5154,9 @@ public static function bindValues($statement, $bindings) * @param array $bindings * @return array * @static - */ - public static function prepareBindings($bindings) + */ public static function prepareBindings($bindings) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->prepareBindings($bindings); } /** @@ -5607,10 +5167,9 @@ public static function prepareBindings($bindings) * @param float|null $time * @return void * @static - */ - public static function logQuery($query, $bindings, $time = null) + */ public static function logQuery($query, $bindings, $time = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->logQuery($query, $bindings, $time); } /** @@ -5620,10 +5179,9 @@ public static function logQuery($query, $bindings, $time = null) * @param callable $handler * @return void * @static - */ - public static function whenQueryingForLongerThan($threshold, $handler) + */ public static function whenQueryingForLongerThan($threshold, $handler) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->whenQueryingForLongerThan($threshold, $handler); } /** @@ -5631,10 +5189,9 @@ public static function whenQueryingForLongerThan($threshold, $handler) * * @return void * @static - */ - public static function allowQueryDurationHandlersToRunAgain() + */ public static function allowQueryDurationHandlersToRunAgain() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->allowQueryDurationHandlersToRunAgain(); } /** @@ -5642,10 +5199,9 @@ public static function allowQueryDurationHandlersToRunAgain() * * @return float * @static - */ - public static function totalQueryDuration() + */ public static function totalQueryDuration() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->totalQueryDuration(); } /** @@ -5653,10 +5209,9 @@ public static function totalQueryDuration() * * @return void * @static - */ - public static function resetTotalQueryDuration() + */ public static function resetTotalQueryDuration() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->resetTotalQueryDuration(); } /** @@ -5664,22 +5219,31 @@ public static function resetTotalQueryDuration() * * @return void * @static - */ - public static function reconnectIfMissingConnection() + */ public static function reconnectIfMissingConnection() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->reconnectIfMissingConnection(); + } + /** + * Register a hook to be run just before a database transaction is started. + * + * @param \Closure $callback + * @return \Illuminate\Database\MySqlConnection + * @static + */ public static function beforeStartingTransaction($callback) + { //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->beforeStartingTransaction($callback); } /** * Register a hook to be run just before a database query is executed. * * @param \Closure $callback - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function beforeExecuting($callback) + */ public static function beforeExecuting($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->beforeExecuting($callback); } /** @@ -5688,10 +5252,9 @@ public static function beforeExecuting($callback) * @param \Closure $callback * @return void * @static - */ - public static function listen($callback) + */ public static function listen($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->listen($callback); } /** @@ -5700,10 +5263,9 @@ public static function listen($callback) * @param mixed $value * @return \Illuminate\Contracts\Database\Query\Expression * @static - */ - public static function raw($value) + */ public static function raw($value) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->raw($value); } /** @@ -5713,10 +5275,9 @@ public static function raw($value) * @param bool $binary * @return string * @static - */ - public static function escape($value, $binary = false) + */ public static function escape($value, $binary = false) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->escape($value, $binary); } /** @@ -5724,10 +5285,9 @@ public static function escape($value, $binary = false) * * @return bool * @static - */ - public static function hasModifiedRecords() + */ public static function hasModifiedRecords() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->hasModifiedRecords(); } /** @@ -5736,22 +5296,20 @@ public static function hasModifiedRecords() * @param bool $value * @return void * @static - */ - public static function recordsHaveBeenModified($value = true) + */ public static function recordsHaveBeenModified($value = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->recordsHaveBeenModified($value); } /** * Set the record modification state. * * @param bool $value - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setRecordModificationState($value) + */ public static function setRecordModificationState($value) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setRecordModificationState($value); } /** @@ -5759,22 +5317,20 @@ public static function setRecordModificationState($value) * * @return void * @static - */ - public static function forgetRecordModificationState() + */ public static function forgetRecordModificationState() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->forgetRecordModificationState(); } /** * Indicate that the connection should use the write PDO connection for reads. * * @param bool $value - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function useWriteConnectionWhenReading($value = true) + */ public static function useWriteConnectionWhenReading($value = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->useWriteConnectionWhenReading($value); } /** @@ -5782,10 +5338,9 @@ public static function useWriteConnectionWhenReading($value = true) * * @return bool * @static - */ - public static function isDoctrineAvailable() + */ public static function isDoctrineAvailable() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->isDoctrineAvailable(); } /** @@ -5793,10 +5348,9 @@ public static function isDoctrineAvailable() * * @return bool * @static - */ - public static function usingNativeSchemaOperations() + */ public static function usingNativeSchemaOperations() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->usingNativeSchemaOperations(); } /** @@ -5806,10 +5360,9 @@ public static function usingNativeSchemaOperations() * @param string $column * @return \Doctrine\DBAL\Schema\Column * @static - */ - public static function getDoctrineColumn($table, $column) + */ public static function getDoctrineColumn($table, $column) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getDoctrineColumn($table, $column); } /** @@ -5817,10 +5370,9 @@ public static function getDoctrineColumn($table, $column) * * @return \Doctrine\DBAL\Schema\AbstractSchemaManager * @static - */ - public static function getDoctrineSchemaManager() + */ public static function getDoctrineSchemaManager() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getDoctrineSchemaManager(); } /** @@ -5828,10 +5380,9 @@ public static function getDoctrineSchemaManager() * * @return \Doctrine\DBAL\Connection * @static - */ - public static function getDoctrineConnection() + */ public static function getDoctrineConnection() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getDoctrineConnection(); } /** @@ -5839,10 +5390,9 @@ public static function getDoctrineConnection() * * @return \PDO * @static - */ - public static function getPdo() + */ public static function getPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getPdo(); } /** @@ -5850,10 +5400,9 @@ public static function getPdo() * * @return \PDO|\Closure|null * @static - */ - public static function getRawPdo() + */ public static function getRawPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getRawPdo(); } /** @@ -5861,10 +5410,9 @@ public static function getRawPdo() * * @return \PDO * @static - */ - public static function getReadPdo() + */ public static function getReadPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getReadPdo(); } /** @@ -5872,34 +5420,31 @@ public static function getReadPdo() * * @return \PDO|\Closure|null * @static - */ - public static function getRawReadPdo() + */ public static function getRawReadPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getRawReadPdo(); } /** * Set the PDO connection. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setPdo($pdo) + */ public static function setPdo($pdo) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setPdo($pdo); } /** * Set the PDO connection used for reading. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setReadPdo($pdo) + */ public static function setReadPdo($pdo) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setReadPdo($pdo); } /** @@ -5907,10 +5452,9 @@ public static function setReadPdo($pdo) * * @return string|null * @static - */ - public static function getName() + */ public static function getName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getName(); } /** @@ -5918,10 +5462,9 @@ public static function getName() * * @return string|null * @static - */ - public static function getNameWithReadWriteType() + */ public static function getNameWithReadWriteType() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getNameWithReadWriteType(); } /** @@ -5930,10 +5473,9 @@ public static function getNameWithReadWriteType() * @param string|null $option * @return mixed * @static - */ - public static function getConfig($option = null) + */ public static function getConfig($option = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getConfig($option); } /** @@ -5941,10 +5483,9 @@ public static function getConfig($option = null) * * @return string * @static - */ - public static function getDriverName() + */ public static function getDriverName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getDriverName(); } /** @@ -5952,22 +5493,20 @@ public static function getDriverName() * * @return \Illuminate\Database\Query\Grammars\Grammar * @static - */ - public static function getQueryGrammar() + */ public static function getQueryGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getQueryGrammar(); } /** * Set the query grammar used by the connection. * * @param \Illuminate\Database\Query\Grammars\Grammar $grammar - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setQueryGrammar($grammar) + */ public static function setQueryGrammar($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setQueryGrammar($grammar); } /** @@ -5975,22 +5514,20 @@ public static function setQueryGrammar($grammar) * * @return \Illuminate\Database\Schema\Grammars\Grammar * @static - */ - public static function getSchemaGrammar() + */ public static function getSchemaGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getSchemaGrammar(); } /** * Set the schema grammar used by the connection. * * @param \Illuminate\Database\Schema\Grammars\Grammar $grammar - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setSchemaGrammar($grammar) + */ public static function setSchemaGrammar($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setSchemaGrammar($grammar); } /** @@ -5998,22 +5535,20 @@ public static function setSchemaGrammar($grammar) * * @return \Illuminate\Database\Query\Processors\Processor * @static - */ - public static function getPostProcessor() + */ public static function getPostProcessor() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getPostProcessor(); } /** * Set the query post processor used by the connection. * * @param \Illuminate\Database\Query\Processors\Processor $processor - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setPostProcessor($processor) + */ public static function setPostProcessor($processor) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setPostProcessor($processor); } /** @@ -6021,22 +5556,20 @@ public static function setPostProcessor($processor) * * @return \Illuminate\Contracts\Events\Dispatcher * @static - */ - public static function getEventDispatcher() + */ public static function getEventDispatcher() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getEventDispatcher(); } /** * Set the event dispatcher instance on the connection. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setEventDispatcher($events) + */ public static function setEventDispatcher($events) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setEventDispatcher($events); } /** @@ -6044,22 +5577,20 @@ public static function setEventDispatcher($events) * * @return void * @static - */ - public static function unsetEventDispatcher() + */ public static function unsetEventDispatcher() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->unsetEventDispatcher(); } /** * Set the transaction manager instance on the connection. * * @param \Illuminate\Database\DatabaseTransactionsManager $manager - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setTransactionManager($manager) + */ public static function setTransactionManager($manager) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setTransactionManager($manager); } /** @@ -6067,10 +5598,9 @@ public static function setTransactionManager($manager) * * @return void * @static - */ - public static function unsetTransactionManager() + */ public static function unsetTransactionManager() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->unsetTransactionManager(); } /** @@ -6078,10 +5608,9 @@ public static function unsetTransactionManager() * * @return bool * @static - */ - public static function pretending() + */ public static function pretending() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->pretending(); } /** @@ -6089,10 +5618,9 @@ public static function pretending() * * @return array * @static - */ - public static function getQueryLog() + */ public static function getQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getQueryLog(); } /** @@ -6100,10 +5628,9 @@ public static function getQueryLog() * * @return array * @static - */ - public static function getRawQueryLog() + */ public static function getRawQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getRawQueryLog(); } /** @@ -6111,10 +5638,9 @@ public static function getRawQueryLog() * * @return void * @static - */ - public static function flushQueryLog() + */ public static function flushQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->flushQueryLog(); } /** @@ -6122,10 +5648,9 @@ public static function flushQueryLog() * * @return void * @static - */ - public static function enableQueryLog() + */ public static function enableQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->enableQueryLog(); } /** @@ -6133,10 +5658,9 @@ public static function enableQueryLog() * * @return void * @static - */ - public static function disableQueryLog() + */ public static function disableQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->disableQueryLog(); } /** @@ -6144,10 +5668,9 @@ public static function disableQueryLog() * * @return bool * @static - */ - public static function logging() + */ public static function logging() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->logging(); } /** @@ -6155,34 +5678,31 @@ public static function logging() * * @return string * @static - */ - public static function getDatabaseName() + */ public static function getDatabaseName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getDatabaseName(); } /** * Set the name of the connected database. * * @param string $database - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setDatabaseName($database) + */ public static function setDatabaseName($database) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setDatabaseName($database); } /** * Set the read / write type of the connection. * * @param string|null $readWriteType - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setReadWriteType($readWriteType) + */ public static function setReadWriteType($readWriteType) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setReadWriteType($readWriteType); } /** @@ -6190,22 +5710,20 @@ public static function setReadWriteType($readWriteType) * * @return string * @static - */ - public static function getTablePrefix() + */ public static function getTablePrefix() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->getTablePrefix(); } /** * Set the table prefix in use by the connection. * * @param string $prefix - * @return \Illuminate\Database\PostgresConnection + * @return \Illuminate\Database\MySqlConnection * @static - */ - public static function setTablePrefix($prefix) + */ public static function setTablePrefix($prefix) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->setTablePrefix($prefix); } /** @@ -6214,10 +5732,9 @@ public static function setTablePrefix($prefix) * @param \Illuminate\Database\Grammar $grammar * @return \Illuminate\Database\Grammar * @static - */ - public static function withTablePrefix($grammar) + */ public static function withTablePrefix($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->withTablePrefix($grammar); } /** @@ -6227,10 +5744,9 @@ public static function withTablePrefix($grammar) * @param \Closure $callback * @return void * @static - */ - public static function resolverFor($driver, $callback) + */ public static function resolverFor($driver, $callback) { //Method inherited from \Illuminate\Database\Connection - \Illuminate\Database\PostgresConnection::resolverFor($driver, $callback); + \Illuminate\Database\MySqlConnection::resolverFor($driver, $callback); } /** * Get the connection resolver for the given driver. @@ -6238,10 +5754,9 @@ public static function resolverFor($driver, $callback) * @param string $driver * @return mixed * @static - */ - public static function getResolver($driver) + */ public static function getResolver($driver) { //Method inherited from \Illuminate\Database\Connection - return \Illuminate\Database\PostgresConnection::getResolver($driver); + return \Illuminate\Database\MySqlConnection::getResolver($driver); } /** * Execute a Closure within a transaction. @@ -6251,10 +5766,9 @@ public static function getResolver($driver) * @return mixed * @throws \Throwable * @static - */ - public static function transaction($callback, $attempts = 1) + */ public static function transaction($callback, $attempts = 1) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->transaction($callback, $attempts); } /** @@ -6263,10 +5777,9 @@ public static function transaction($callback, $attempts = 1) * @return void * @throws \Throwable * @static - */ - public static function beginTransaction() + */ public static function beginTransaction() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->beginTransaction(); } /** @@ -6275,10 +5788,9 @@ public static function beginTransaction() * @return void * @throws \Throwable * @static - */ - public static function commit() + */ public static function commit() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->commit(); } /** @@ -6288,10 +5800,9 @@ public static function commit() * @return void * @throws \Throwable * @static - */ - public static function rollBack($toLevel = null) + */ public static function rollBack($toLevel = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->rollBack($toLevel); } /** @@ -6299,10 +5810,9 @@ public static function rollBack($toLevel = null) * * @return int * @static - */ - public static function transactionLevel() + */ public static function transactionLevel() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->transactionLevel(); } /** @@ -6312,21 +5822,18 @@ public static function transactionLevel() * @return void * @throws \RuntimeException * @static - */ - public static function afterCommit($callback) + */ public static function afterCommit($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\PostgresConnection $instance */ + /** @var \Illuminate\Database\MySqlConnection $instance */ $instance->afterCommit($callback); } - - } + } /** * * * @see \Illuminate\Events\Dispatcher * @see \Illuminate\Support\Testing\Fakes\EventFake - */ - class Event { + */ class Event { /** * Register an event listener with the dispatcher. * @@ -6334,8 +5841,7 @@ class Event { * @param \Closure|string|array|null $listener * @return void * @static - */ - public static function listen($events, $listener = null) + */ public static function listen($events, $listener = null) { /** @var \Illuminate\Events\Dispatcher $instance */ $instance->listen($events, $listener); @@ -6346,8 +5852,7 @@ public static function listen($events, $listener = null) * @param string $eventName * @return bool * @static - */ - public static function hasListeners($eventName) + */ public static function hasListeners($eventName) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->hasListeners($eventName); @@ -6358,8 +5863,7 @@ public static function hasListeners($eventName) * @param string $eventName * @return bool * @static - */ - public static function hasWildcardListeners($eventName) + */ public static function hasWildcardListeners($eventName) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->hasWildcardListeners($eventName); @@ -6371,8 +5875,7 @@ public static function hasWildcardListeners($eventName) * @param object|array $payload * @return void * @static - */ - public static function push($event, $payload = []) + */ public static function push($event, $payload = []) { /** @var \Illuminate\Events\Dispatcher $instance */ $instance->push($event, $payload); @@ -6383,8 +5886,7 @@ public static function push($event, $payload = []) * @param string $event * @return void * @static - */ - public static function flush($event) + */ public static function flush($event) { /** @var \Illuminate\Events\Dispatcher $instance */ $instance->flush($event); @@ -6395,8 +5897,7 @@ public static function flush($event) * @param object|string $subscriber * @return void * @static - */ - public static function subscribe($subscriber) + */ public static function subscribe($subscriber) { /** @var \Illuminate\Events\Dispatcher $instance */ $instance->subscribe($subscriber); @@ -6408,8 +5909,7 @@ public static function subscribe($subscriber) * @param mixed $payload * @return mixed * @static - */ - public static function until($event, $payload = []) + */ public static function until($event, $payload = []) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->until($event, $payload); @@ -6422,8 +5922,7 @@ public static function until($event, $payload = []) * @param bool $halt * @return array|null * @static - */ - public static function dispatch($event, $payload = [], $halt = false) + */ public static function dispatch($event, $payload = [], $halt = false) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->dispatch($event, $payload, $halt); @@ -6434,8 +5933,7 @@ public static function dispatch($event, $payload = [], $halt = false) * @param string $eventName * @return array * @static - */ - public static function getListeners($eventName) + */ public static function getListeners($eventName) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->getListeners($eventName); @@ -6447,8 +5945,7 @@ public static function getListeners($eventName) * @param bool $wildcard * @return \Closure * @static - */ - public static function makeListener($listener, $wildcard = false) + */ public static function makeListener($listener, $wildcard = false) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->makeListener($listener, $wildcard); @@ -6460,8 +5957,7 @@ public static function makeListener($listener, $wildcard = false) * @param bool $wildcard * @return \Closure * @static - */ - public static function createClassListener($listener, $wildcard = false) + */ public static function createClassListener($listener, $wildcard = false) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->createClassListener($listener, $wildcard); @@ -6472,8 +5968,7 @@ public static function createClassListener($listener, $wildcard = false) * @param string $event * @return void * @static - */ - public static function forget($event) + */ public static function forget($event) { /** @var \Illuminate\Events\Dispatcher $instance */ $instance->forget($event); @@ -6483,8 +5978,7 @@ public static function forget($event) * * @return void * @static - */ - public static function forgetPushed() + */ public static function forgetPushed() { /** @var \Illuminate\Events\Dispatcher $instance */ $instance->forgetPushed(); @@ -6495,8 +5989,7 @@ public static function forgetPushed() * @param callable $resolver * @return \Illuminate\Events\Dispatcher * @static - */ - public static function setQueueResolver($resolver) + */ public static function setQueueResolver($resolver) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->setQueueResolver($resolver); @@ -6507,8 +6000,7 @@ public static function setQueueResolver($resolver) * @param callable $resolver * @return \Illuminate\Events\Dispatcher * @static - */ - public static function setTransactionManagerResolver($resolver) + */ public static function setTransactionManagerResolver($resolver) { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->setTransactionManagerResolver($resolver); @@ -6518,8 +6010,7 @@ public static function setTransactionManagerResolver($resolver) * * @return array * @static - */ - public static function getRawListeners() + */ public static function getRawListeners() { /** @var \Illuminate\Events\Dispatcher $instance */ return $instance->getRawListeners(); @@ -6531,8 +6022,7 @@ public static function getRawListeners() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Events\Dispatcher::macro($name, $macro); } @@ -6544,8 +6034,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Events\Dispatcher::mixin($mixin, $replace); } @@ -6555,8 +6044,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Events\Dispatcher::hasMacro($name); } @@ -6565,8 +6053,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Events\Dispatcher::flushMacros(); } @@ -6576,8 +6063,7 @@ public static function flushMacros() * @param array|string $eventsToDispatch * @return \Illuminate\Support\Testing\Fakes\EventFake * @static - */ - public static function except($eventsToDispatch) + */ public static function except($eventsToDispatch) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ return $instance->except($eventsToDispatch); @@ -6589,8 +6075,7 @@ public static function except($eventsToDispatch) * @param string|array $expectedListener * @return void * @static - */ - public static function assertListening($expectedEvent, $expectedListener) + */ public static function assertListening($expectedEvent, $expectedListener) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ $instance->assertListening($expectedEvent, $expectedListener); @@ -6602,8 +6087,7 @@ public static function assertListening($expectedEvent, $expectedListener) * @param callable|int|null $callback * @return void * @static - */ - public static function assertDispatched($event, $callback = null) + */ public static function assertDispatched($event, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ $instance->assertDispatched($event, $callback); @@ -6615,8 +6099,7 @@ public static function assertDispatched($event, $callback = null) * @param int $times * @return void * @static - */ - public static function assertDispatchedTimes($event, $times = 1) + */ public static function assertDispatchedTimes($event, $times = 1) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ $instance->assertDispatchedTimes($event, $times); @@ -6628,8 +6111,7 @@ public static function assertDispatchedTimes($event, $times = 1) * @param callable|null $callback * @return void * @static - */ - public static function assertNotDispatched($event, $callback = null) + */ public static function assertNotDispatched($event, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ $instance->assertNotDispatched($event, $callback); @@ -6639,8 +6121,7 @@ public static function assertNotDispatched($event, $callback = null) * * @return void * @static - */ - public static function assertNothingDispatched() + */ public static function assertNothingDispatched() { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ $instance->assertNothingDispatched(); @@ -6652,8 +6133,7 @@ public static function assertNothingDispatched() * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function dispatched($event, $callback = null) + */ public static function dispatched($event, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ return $instance->dispatched($event, $callback); @@ -6664,28 +6144,24 @@ public static function dispatched($event, $callback = null) * @param string $event * @return bool * @static - */ - public static function hasDispatched($event) + */ public static function hasDispatched($event) { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ return $instance->hasDispatched($event); } - - } + } /** * * * @see \Illuminate\Filesystem\Filesystem - */ - class File { + */ class File { /** * Determine if a file or directory exists. * * @param string $path * @return bool * @static - */ - public static function exists($path) + */ public static function exists($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->exists($path); @@ -6696,8 +6172,7 @@ public static function exists($path) * @param string $path * @return bool * @static - */ - public static function missing($path) + */ public static function missing($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->missing($path); @@ -6710,8 +6185,7 @@ public static function missing($path) * @return string * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @static - */ - public static function get($path, $lock = false) + */ public static function get($path, $lock = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->get($path, $lock); @@ -6725,8 +6199,7 @@ public static function get($path, $lock = false) * @return array * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @static - */ - public static function json($path, $flags = 0, $lock = false) + */ public static function json($path, $flags = 0, $lock = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->json($path, $flags, $lock); @@ -6737,8 +6210,7 @@ public static function json($path, $flags = 0, $lock = false) * @param string $path * @return string * @static - */ - public static function sharedGet($path) + */ public static function sharedGet($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->sharedGet($path); @@ -6751,8 +6223,7 @@ public static function sharedGet($path) * @return mixed * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @static - */ - public static function getRequire($path, $data = []) + */ public static function getRequire($path, $data = []) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->getRequire($path, $data); @@ -6765,8 +6236,7 @@ public static function getRequire($path, $data = []) * @return mixed * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @static - */ - public static function requireOnce($path, $data = []) + */ public static function requireOnce($path, $data = []) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->requireOnce($path, $data); @@ -6778,8 +6248,7 @@ public static function requireOnce($path, $data = []) * @return \Illuminate\Support\LazyCollection * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @static - */ - public static function lines($path) + */ public static function lines($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->lines($path); @@ -6791,8 +6260,7 @@ public static function lines($path) * @param string $algorithm * @return string * @static - */ - public static function hash($path, $algorithm = 'md5') + */ public static function hash($path, $algorithm = 'md5') { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->hash($path, $algorithm); @@ -6805,8 +6273,7 @@ public static function hash($path, $algorithm = 'md5') * @param bool $lock * @return int|bool * @static - */ - public static function put($path, $contents, $lock = false) + */ public static function put($path, $contents, $lock = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->put($path, $contents, $lock); @@ -6819,8 +6286,7 @@ public static function put($path, $contents, $lock = false) * @param int|null $mode * @return void * @static - */ - public static function replace($path, $content, $mode = null) + */ public static function replace($path, $content, $mode = null) { /** @var \Illuminate\Filesystem\Filesystem $instance */ $instance->replace($path, $content, $mode); @@ -6833,8 +6299,7 @@ public static function replace($path, $content, $mode = null) * @param string $path * @return void * @static - */ - public static function replaceInFile($search, $replace, $path) + */ public static function replaceInFile($search, $replace, $path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ $instance->replaceInFile($search, $replace, $path); @@ -6846,8 +6311,7 @@ public static function replaceInFile($search, $replace, $path) * @param string $data * @return int * @static - */ - public static function prepend($path, $data) + */ public static function prepend($path, $data) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->prepend($path, $data); @@ -6860,8 +6324,7 @@ public static function prepend($path, $data) * @param bool $lock * @return int * @static - */ - public static function append($path, $data, $lock = false) + */ public static function append($path, $data, $lock = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->append($path, $data, $lock); @@ -6873,8 +6336,7 @@ public static function append($path, $data, $lock = false) * @param int|null $mode * @return mixed * @static - */ - public static function chmod($path, $mode = null) + */ public static function chmod($path, $mode = null) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->chmod($path, $mode); @@ -6885,8 +6347,7 @@ public static function chmod($path, $mode = null) * @param string|array $paths * @return bool * @static - */ - public static function delete($paths) + */ public static function delete($paths) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->delete($paths); @@ -6898,8 +6359,7 @@ public static function delete($paths) * @param string $target * @return bool * @static - */ - public static function move($path, $target) + */ public static function move($path, $target) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->move($path, $target); @@ -6911,8 +6371,7 @@ public static function move($path, $target) * @param string $target * @return bool * @static - */ - public static function copy($path, $target) + */ public static function copy($path, $target) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->copy($path, $target); @@ -6922,13 +6381,12 @@ public static function copy($path, $target) * * @param string $target * @param string $link - * @return void + * @return bool|null * @static - */ - public static function link($target, $link) + */ public static function link($target, $link) { /** @var \Illuminate\Filesystem\Filesystem $instance */ - $instance->link($target, $link); + return $instance->link($target, $link); } /** * Create a relative symlink to the target file or directory. @@ -6938,8 +6396,7 @@ public static function link($target, $link) * @return void * @throws \RuntimeException * @static - */ - public static function relativeLink($target, $link) + */ public static function relativeLink($target, $link) { /** @var \Illuminate\Filesystem\Filesystem $instance */ $instance->relativeLink($target, $link); @@ -6950,8 +6407,7 @@ public static function relativeLink($target, $link) * @param string $path * @return string * @static - */ - public static function name($path) + */ public static function name($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->name($path); @@ -6962,8 +6418,7 @@ public static function name($path) * @param string $path * @return string * @static - */ - public static function basename($path) + */ public static function basename($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->basename($path); @@ -6974,8 +6429,7 @@ public static function basename($path) * @param string $path * @return string * @static - */ - public static function dirname($path) + */ public static function dirname($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->dirname($path); @@ -6986,8 +6440,7 @@ public static function dirname($path) * @param string $path * @return string * @static - */ - public static function extension($path) + */ public static function extension($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->extension($path); @@ -6999,8 +6452,7 @@ public static function extension($path) * @return string|null * @throws \RuntimeException * @static - */ - public static function guessExtension($path) + */ public static function guessExtension($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->guessExtension($path); @@ -7011,8 +6463,7 @@ public static function guessExtension($path) * @param string $path * @return string * @static - */ - public static function type($path) + */ public static function type($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->type($path); @@ -7023,8 +6474,7 @@ public static function type($path) * @param string $path * @return string|false * @static - */ - public static function mimeType($path) + */ public static function mimeType($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->mimeType($path); @@ -7035,8 +6485,7 @@ public static function mimeType($path) * @param string $path * @return int * @static - */ - public static function size($path) + */ public static function size($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->size($path); @@ -7047,8 +6496,7 @@ public static function size($path) * @param string $path * @return int * @static - */ - public static function lastModified($path) + */ public static function lastModified($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->lastModified($path); @@ -7059,8 +6507,7 @@ public static function lastModified($path) * @param string $directory * @return bool * @static - */ - public static function isDirectory($directory) + */ public static function isDirectory($directory) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->isDirectory($directory); @@ -7072,8 +6519,7 @@ public static function isDirectory($directory) * @param bool $ignoreDotFiles * @return bool * @static - */ - public static function isEmptyDirectory($directory, $ignoreDotFiles = false) + */ public static function isEmptyDirectory($directory, $ignoreDotFiles = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->isEmptyDirectory($directory, $ignoreDotFiles); @@ -7084,8 +6530,7 @@ public static function isEmptyDirectory($directory, $ignoreDotFiles = false) * @param string $path * @return bool * @static - */ - public static function isReadable($path) + */ public static function isReadable($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->isReadable($path); @@ -7096,8 +6541,7 @@ public static function isReadable($path) * @param string $path * @return bool * @static - */ - public static function isWritable($path) + */ public static function isWritable($path) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->isWritable($path); @@ -7109,8 +6553,7 @@ public static function isWritable($path) * @param string $secondFile * @return bool * @static - */ - public static function hasSameHash($firstFile, $secondFile) + */ public static function hasSameHash($firstFile, $secondFile) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->hasSameHash($firstFile, $secondFile); @@ -7121,8 +6564,7 @@ public static function hasSameHash($firstFile, $secondFile) * @param string $file * @return bool * @static - */ - public static function isFile($file) + */ public static function isFile($file) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->isFile($file); @@ -7134,8 +6576,7 @@ public static function isFile($file) * @param int $flags * @return array * @static - */ - public static function glob($pattern, $flags = 0) + */ public static function glob($pattern, $flags = 0) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->glob($pattern, $flags); @@ -7147,8 +6588,7 @@ public static function glob($pattern, $flags = 0) * @param bool $hidden * @return \Symfony\Component\Finder\SplFileInfo[] * @static - */ - public static function files($directory, $hidden = false) + */ public static function files($directory, $hidden = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->files($directory, $hidden); @@ -7160,8 +6600,7 @@ public static function files($directory, $hidden = false) * @param bool $hidden * @return \Symfony\Component\Finder\SplFileInfo[] * @static - */ - public static function allFiles($directory, $hidden = false) + */ public static function allFiles($directory, $hidden = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->allFiles($directory, $hidden); @@ -7172,8 +6611,7 @@ public static function allFiles($directory, $hidden = false) * @param string $directory * @return array * @static - */ - public static function directories($directory) + */ public static function directories($directory) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->directories($directory); @@ -7186,8 +6624,7 @@ public static function directories($directory) * @param bool $recursive * @return void * @static - */ - public static function ensureDirectoryExists($path, $mode = 493, $recursive = true) + */ public static function ensureDirectoryExists($path, $mode = 493, $recursive = true) { /** @var \Illuminate\Filesystem\Filesystem $instance */ $instance->ensureDirectoryExists($path, $mode, $recursive); @@ -7201,8 +6638,7 @@ public static function ensureDirectoryExists($path, $mode = 493, $recursive = tr * @param bool $force * @return bool * @static - */ - public static function makeDirectory($path, $mode = 493, $recursive = false, $force = false) + */ public static function makeDirectory($path, $mode = 493, $recursive = false, $force = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->makeDirectory($path, $mode, $recursive, $force); @@ -7215,8 +6651,7 @@ public static function makeDirectory($path, $mode = 493, $recursive = false, $fo * @param bool $overwrite * @return bool * @static - */ - public static function moveDirectory($from, $to, $overwrite = false) + */ public static function moveDirectory($from, $to, $overwrite = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->moveDirectory($from, $to, $overwrite); @@ -7229,8 +6664,7 @@ public static function moveDirectory($from, $to, $overwrite = false) * @param int|null $options * @return bool * @static - */ - public static function copyDirectory($directory, $destination, $options = null) + */ public static function copyDirectory($directory, $destination, $options = null) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->copyDirectory($directory, $destination, $options); @@ -7244,8 +6678,7 @@ public static function copyDirectory($directory, $destination, $options = null) * @param bool $preserve * @return bool * @static - */ - public static function deleteDirectory($directory, $preserve = false) + */ public static function deleteDirectory($directory, $preserve = false) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->deleteDirectory($directory, $preserve); @@ -7256,8 +6689,7 @@ public static function deleteDirectory($directory, $preserve = false) * @param string $directory * @return bool * @static - */ - public static function deleteDirectories($directory) + */ public static function deleteDirectories($directory) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->deleteDirectories($directory); @@ -7268,8 +6700,7 @@ public static function deleteDirectories($directory) * @param string $directory * @return bool * @static - */ - public static function cleanDirectory($directory) + */ public static function cleanDirectory($directory) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->cleanDirectory($directory); @@ -7284,8 +6715,7 @@ public static function cleanDirectory($directory) * @param \Illuminate\Filesystem\(callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|\Illuminate\Filesystem\TWhenReturnType * @static - */ - public static function when($value = null, $callback = null, $default = null) + */ public static function when($value = null, $callback = null, $default = null) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->when($value, $callback, $default); @@ -7300,8 +6730,7 @@ public static function when($value = null, $callback = null, $default = null) * @param \Illuminate\Filesystem\(callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|\Illuminate\Filesystem\TUnlessReturnType * @static - */ - public static function unless($value = null, $callback = null, $default = null) + */ public static function unless($value = null, $callback = null, $default = null) { /** @var \Illuminate\Filesystem\Filesystem $instance */ return $instance->unless($value, $callback, $default); @@ -7313,8 +6742,7 @@ public static function unless($value = null, $callback = null, $default = null) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Filesystem\Filesystem::macro($name, $macro); } @@ -7326,8 +6754,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Filesystem\Filesystem::mixin($mixin, $replace); } @@ -7337,8 +6764,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Filesystem\Filesystem::hasMacro($name); } @@ -7347,27 +6773,23 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Filesystem\Filesystem::flushMacros(); } - - } + } /** * * * @see \Illuminate\Auth\Access\Gate - */ - class Gate { + */ class Gate { /** * Determine if a given ability has been defined. * * @param string|array $ability * @return bool * @static - */ - public static function has($ability) + */ public static function has($ability) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->has($ability); @@ -7381,8 +6803,7 @@ public static function has($ability) * @return \Illuminate\Auth\Access\Response * @throws \Illuminate\Auth\Access\AuthorizationException * @static - */ - public static function allowIf($condition, $message = null, $code = null) + */ public static function allowIf($condition, $message = null, $code = null) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->allowIf($condition, $message, $code); @@ -7396,8 +6817,7 @@ public static function allowIf($condition, $message = null, $code = null) * @return \Illuminate\Auth\Access\Response * @throws \Illuminate\Auth\Access\AuthorizationException * @static - */ - public static function denyIf($condition, $message = null, $code = null) + */ public static function denyIf($condition, $message = null, $code = null) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->denyIf($condition, $message, $code); @@ -7410,8 +6830,7 @@ public static function denyIf($condition, $message = null, $code = null) * @return \Illuminate\Auth\Access\Gate * @throws \InvalidArgumentException * @static - */ - public static function define($ability, $callback) + */ public static function define($ability, $callback) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->define($ability, $callback); @@ -7424,8 +6843,7 @@ public static function define($ability, $callback) * @param array|null $abilities * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function resource($name, $class, $abilities = null) + */ public static function resource($name, $class, $abilities = null) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->resource($name, $class, $abilities); @@ -7437,8 +6855,7 @@ public static function resource($name, $class, $abilities = null) * @param string $policy * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function policy($class, $policy) + */ public static function policy($class, $policy) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->policy($class, $policy); @@ -7449,8 +6866,7 @@ public static function policy($class, $policy) * @param callable $callback * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function before($callback) + */ public static function before($callback) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->before($callback); @@ -7461,34 +6877,31 @@ public static function before($callback) * @param callable $callback * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function after($callback) + */ public static function after($callback) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->after($callback); } /** - * Determine if the given ability should be granted for the current user. + * Determine if all of the given abilities should be granted for the current user. * - * @param string $ability + * @param \Illuminate\Auth\Access\iterable|string $ability * @param array|mixed $arguments * @return bool * @static - */ - public static function allows($ability, $arguments = []) + */ public static function allows($ability, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->allows($ability, $arguments); } /** - * Determine if the given ability should be denied for the current user. + * Determine if any of the given abilities should be denied for the current user. * - * @param string $ability + * @param \Illuminate\Auth\Access\iterable|string $ability * @param array|mixed $arguments * @return bool * @static - */ - public static function denies($ability, $arguments = []) + */ public static function denies($ability, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->denies($ability, $arguments); @@ -7500,8 +6913,7 @@ public static function denies($ability, $arguments = []) * @param array|mixed $arguments * @return bool * @static - */ - public static function check($abilities, $arguments = []) + */ public static function check($abilities, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->check($abilities, $arguments); @@ -7513,8 +6925,7 @@ public static function check($abilities, $arguments = []) * @param array|mixed $arguments * @return bool * @static - */ - public static function any($abilities, $arguments = []) + */ public static function any($abilities, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->any($abilities, $arguments); @@ -7526,8 +6937,7 @@ public static function any($abilities, $arguments = []) * @param array|mixed $arguments * @return bool * @static - */ - public static function none($abilities, $arguments = []) + */ public static function none($abilities, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->none($abilities, $arguments); @@ -7540,8 +6950,7 @@ public static function none($abilities, $arguments = []) * @return \Illuminate\Auth\Access\Response * @throws \Illuminate\Auth\Access\AuthorizationException * @static - */ - public static function authorize($ability, $arguments = []) + */ public static function authorize($ability, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->authorize($ability, $arguments); @@ -7553,8 +6962,7 @@ public static function authorize($ability, $arguments = []) * @param array|mixed $arguments * @return \Illuminate\Auth\Access\Response * @static - */ - public static function inspect($ability, $arguments = []) + */ public static function inspect($ability, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->inspect($ability, $arguments); @@ -7567,8 +6975,7 @@ public static function inspect($ability, $arguments = []) * @return mixed * @throws \Illuminate\Auth\Access\AuthorizationException * @static - */ - public static function raw($ability, $arguments = []) + */ public static function raw($ability, $arguments = []) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->raw($ability, $arguments); @@ -7579,8 +6986,7 @@ public static function raw($ability, $arguments = []) * @param object|string $class * @return mixed * @static - */ - public static function getPolicyFor($class) + */ public static function getPolicyFor($class) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->getPolicyFor($class); @@ -7591,8 +6997,7 @@ public static function getPolicyFor($class) * @param callable $callback * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function guessPolicyNamesUsing($callback) + */ public static function guessPolicyNamesUsing($callback) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->guessPolicyNamesUsing($callback); @@ -7604,8 +7009,7 @@ public static function guessPolicyNamesUsing($callback) * @return mixed * @throws \Illuminate\Contracts\Container\BindingResolutionException * @static - */ - public static function resolvePolicy($class) + */ public static function resolvePolicy($class) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->resolvePolicy($class); @@ -7616,8 +7020,7 @@ public static function resolvePolicy($class) * @param \Illuminate\Contracts\Auth\Authenticatable|mixed $user * @return static * @static - */ - public static function forUser($user) + */ public static function forUser($user) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->forUser($user); @@ -7627,8 +7030,7 @@ public static function forUser($user) * * @return array * @static - */ - public static function abilities() + */ public static function abilities() { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->abilities(); @@ -7638,8 +7040,7 @@ public static function abilities() * * @return array * @static - */ - public static function policies() + */ public static function policies() { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->policies(); @@ -7650,8 +7051,7 @@ public static function policies() * @param \Illuminate\Auth\Access\Response $response * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function defaultDenialResponse($response) + */ public static function defaultDenialResponse($response) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->defaultDenialResponse($response); @@ -7662,8 +7062,7 @@ public static function defaultDenialResponse($response) * @param \Illuminate\Contracts\Container\Container $container * @return \Illuminate\Auth\Access\Gate * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->setContainer($container); @@ -7676,8 +7075,7 @@ public static function setContainer($container) * @param int|null $code * @return \Illuminate\Auth\Access\Response * @static - */ - public static function denyWithStatus($status, $message = null, $code = null) + */ public static function denyWithStatus($status, $message = null, $code = null) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->denyWithStatus($status, $message, $code); @@ -7689,28 +7087,24 @@ public static function denyWithStatus($status, $message = null, $code = null) * @param int|null $code * @return \Illuminate\Auth\Access\Response * @static - */ - public static function denyAsNotFound($message = null, $code = null) + */ public static function denyAsNotFound($message = null, $code = null) { /** @var \Illuminate\Auth\Access\Gate $instance */ return $instance->denyAsNotFound($message, $code); } - - } + } /** * * * @see \Illuminate\Hashing\HashManager * @see \Illuminate\Hashing\AbstractHasher - */ - class Hash { + */ class Hash { /** * Create an instance of the Bcrypt hash Driver. * * @return \Illuminate\Hashing\BcryptHasher * @static - */ - public static function createBcryptDriver() + */ public static function createBcryptDriver() { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->createBcryptDriver(); @@ -7720,8 +7114,7 @@ public static function createBcryptDriver() * * @return \Illuminate\Hashing\ArgonHasher * @static - */ - public static function createArgonDriver() + */ public static function createArgonDriver() { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->createArgonDriver(); @@ -7731,8 +7124,7 @@ public static function createArgonDriver() * * @return \Illuminate\Hashing\Argon2IdHasher * @static - */ - public static function createArgon2idDriver() + */ public static function createArgon2idDriver() { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->createArgon2idDriver(); @@ -7743,8 +7135,7 @@ public static function createArgon2idDriver() * @param string $hashedValue * @return array * @static - */ - public static function info($hashedValue) + */ public static function info($hashedValue) { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->info($hashedValue); @@ -7756,8 +7147,7 @@ public static function info($hashedValue) * @param array $options * @return string * @static - */ - public static function make($value, $options = []) + */ public static function make($value, $options = []) { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->make($value, $options); @@ -7770,8 +7160,7 @@ public static function make($value, $options = []) * @param array $options * @return bool * @static - */ - public static function check($value, $hashedValue, $options = []) + */ public static function check($value, $hashedValue, $options = []) { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->check($value, $hashedValue, $options); @@ -7783,8 +7172,7 @@ public static function check($value, $hashedValue, $options = []) * @param array $options * @return bool * @static - */ - public static function needsRehash($hashedValue, $options = []) + */ public static function needsRehash($hashedValue, $options = []) { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->needsRehash($hashedValue, $options); @@ -7795,8 +7183,7 @@ public static function needsRehash($hashedValue, $options = []) * @param string $value * @return bool * @static - */ - public static function isHashed($value) + */ public static function isHashed($value) { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->isHashed($value); @@ -7806,8 +7193,7 @@ public static function isHashed($value) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->getDefaultDriver(); @@ -7819,8 +7205,7 @@ public static function getDefaultDriver() * @return mixed * @throws \InvalidArgumentException * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->driver($driver); @@ -7832,8 +7217,7 @@ public static function driver($driver = null) * @param \Closure $callback * @return \Illuminate\Hashing\HashManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->extend($driver, $callback); @@ -7843,8 +7227,7 @@ public static function extend($driver, $callback) * * @return array * @static - */ - public static function getDrivers() + */ public static function getDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->getDrivers(); @@ -7854,8 +7237,7 @@ public static function getDrivers() * * @return \Illuminate\Contracts\Container\Container * @static - */ - public static function getContainer() + */ public static function getContainer() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->getContainer(); @@ -7866,8 +7248,7 @@ public static function getContainer() * @param \Illuminate\Contracts\Container\Container $container * @return \Illuminate\Hashing\HashManager * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->setContainer($container); @@ -7877,19 +7258,17 @@ public static function setContainer($container) * * @return \Illuminate\Hashing\HashManager * @static - */ - public static function forgetDrivers() + */ public static function forgetDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Hashing\HashManager $instance */ return $instance->forgetDrivers(); } - - } + } /** * * * @method static \Illuminate\Http\Client\PendingRequest baseUrl(string $url) - * @method static \Illuminate\Http\Client\PendingRequest withBody(string $content, string $contentType = 'application/json') + * @method static \Illuminate\Http\Client\PendingRequest withBody(\Psr\Http\Message\StreamInterface|string $content, string $contentType = 'application/json') * @method static \Illuminate\Http\Client\PendingRequest asJson() * @method static \Illuminate\Http\Client\PendingRequest asForm() * @method static \Illuminate\Http\Client\PendingRequest attach(string|array $name, string|resource $contents = '', string|null $filename = null, array $headers = []) @@ -7914,7 +7293,7 @@ public static function forgetDrivers() * @method static \Illuminate\Http\Client\PendingRequest sink(string|resource $to) * @method static \Illuminate\Http\Client\PendingRequest timeout(int $seconds) * @method static \Illuminate\Http\Client\PendingRequest connectTimeout(int $seconds) - * @method static \Illuminate\Http\Client\PendingRequest retry(int $times, \Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) + * @method static \Illuminate\Http\Client\PendingRequest retry(array|int $times, \Closure|int $sleepMilliseconds = 0, callable|null $when = null, bool $throw = true) * @method static \Illuminate\Http\Client\PendingRequest withOptions(array $options) * @method static \Illuminate\Http\Client\PendingRequest withMiddleware(callable $middleware) * @method static \Illuminate\Http\Client\PendingRequest withRequestMiddleware(callable $middleware) @@ -7951,16 +7330,14 @@ public static function forgetDrivers() * @method static \Illuminate\Http\Client\PendingRequest|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Http\Client\PendingRequest|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @see \Illuminate\Http\Client\Factory - */ - class Http { + */ class Http { /** * Add middleware to apply to every request. * * @param callable $middleware * @return \Illuminate\Http\Client\Factory * @static - */ - public static function globalMiddleware($middleware) + */ public static function globalMiddleware($middleware) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->globalMiddleware($middleware); @@ -7971,8 +7348,7 @@ public static function globalMiddleware($middleware) * @param callable $middleware * @return \Illuminate\Http\Client\Factory * @static - */ - public static function globalRequestMiddleware($middleware) + */ public static function globalRequestMiddleware($middleware) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->globalRequestMiddleware($middleware); @@ -7983,11 +7359,21 @@ public static function globalRequestMiddleware($middleware) * @param callable $middleware * @return \Illuminate\Http\Client\Factory * @static - */ - public static function globalResponseMiddleware($middleware) + */ public static function globalResponseMiddleware($middleware) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->globalResponseMiddleware($middleware); + } + /** + * Set the options to apply to every request. + * + * @param array $options + * @return \Illuminate\Http\Client\Factory + * @static + */ public static function globalOptions($options) + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->globalOptions($options); } /** * Create a new response instance for use during stubbing. @@ -7997,8 +7383,7 @@ public static function globalResponseMiddleware($middleware) * @param array $headers * @return \GuzzleHttp\Promise\PromiseInterface * @static - */ - public static function response($body = null, $status = 200, $headers = []) + */ public static function response($body = null, $status = 200, $headers = []) { return \Illuminate\Http\Client\Factory::response($body, $status, $headers); } @@ -8008,8 +7393,7 @@ public static function response($body = null, $status = 200, $headers = []) * @param array $responses * @return \Illuminate\Http\Client\ResponseSequence * @static - */ - public static function sequence($responses = []) + */ public static function sequence($responses = []) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->sequence($responses); @@ -8020,8 +7404,7 @@ public static function sequence($responses = []) * @param callable|array|null $callback * @return \Illuminate\Http\Client\Factory * @static - */ - public static function fake($callback = null) + */ public static function fake($callback = null) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->fake($callback); @@ -8032,8 +7415,7 @@ public static function fake($callback = null) * @param string $url * @return \Illuminate\Http\Client\ResponseSequence * @static - */ - public static function fakeSequence($url = '*') + */ public static function fakeSequence($url = '*') { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->fakeSequence($url); @@ -8045,8 +7427,7 @@ public static function fakeSequence($url = '*') * @param \Illuminate\Http\Client\Response|\GuzzleHttp\Promise\PromiseInterface|callable $callback * @return \Illuminate\Http\Client\Factory * @static - */ - public static function stubUrl($url, $callback) + */ public static function stubUrl($url, $callback) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->stubUrl($url, $callback); @@ -8057,8 +7438,7 @@ public static function stubUrl($url, $callback) * @param bool $prevent * @return \Illuminate\Http\Client\Factory * @static - */ - public static function preventStrayRequests($prevent = true) + */ public static function preventStrayRequests($prevent = true) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->preventStrayRequests($prevent); @@ -8068,8 +7448,7 @@ public static function preventStrayRequests($prevent = true) * * @return \Illuminate\Http\Client\Factory * @static - */ - public static function allowStrayRequests() + */ public static function allowStrayRequests() { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->allowStrayRequests(); @@ -8081,8 +7460,7 @@ public static function allowStrayRequests() * @param \Illuminate\Http\Client\Response $response * @return void * @static - */ - public static function recordRequestResponsePair($request, $response) + */ public static function recordRequestResponsePair($request, $response) { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->recordRequestResponsePair($request, $response); @@ -8093,8 +7471,7 @@ public static function recordRequestResponsePair($request, $response) * @param callable $callback * @return void * @static - */ - public static function assertSent($callback) + */ public static function assertSent($callback) { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->assertSent($callback); @@ -8105,8 +7482,7 @@ public static function assertSent($callback) * @param array $callbacks * @return void * @static - */ - public static function assertSentInOrder($callbacks) + */ public static function assertSentInOrder($callbacks) { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->assertSentInOrder($callbacks); @@ -8117,8 +7493,7 @@ public static function assertSentInOrder($callbacks) * @param callable $callback * @return void * @static - */ - public static function assertNotSent($callback) + */ public static function assertNotSent($callback) { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->assertNotSent($callback); @@ -8128,8 +7503,7 @@ public static function assertNotSent($callback) * * @return void * @static - */ - public static function assertNothingSent() + */ public static function assertNothingSent() { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->assertNothingSent(); @@ -8140,8 +7514,7 @@ public static function assertNothingSent() * @param int $count * @return void * @static - */ - public static function assertSentCount($count) + */ public static function assertSentCount($count) { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->assertSentCount($count); @@ -8151,8 +7524,7 @@ public static function assertSentCount($count) * * @return void * @static - */ - public static function assertSequencesAreEmpty() + */ public static function assertSequencesAreEmpty() { /** @var \Illuminate\Http\Client\Factory $instance */ $instance->assertSequencesAreEmpty(); @@ -8163,8 +7535,7 @@ public static function assertSequencesAreEmpty() * @param callable $callback * @return \Illuminate\Support\Collection * @static - */ - public static function recorded($callback = null) + */ public static function recorded($callback = null) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->recorded($callback); @@ -8174,8 +7545,7 @@ public static function recorded($callback = null) * * @return \Illuminate\Contracts\Events\Dispatcher|null * @static - */ - public static function getDispatcher() + */ public static function getDispatcher() { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->getDispatcher(); @@ -8185,8 +7555,7 @@ public static function getDispatcher() * * @return array * @static - */ - public static function getGlobalMiddleware() + */ public static function getGlobalMiddleware() { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->getGlobalMiddleware(); @@ -8198,8 +7567,7 @@ public static function getGlobalMiddleware() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Http\Client\Factory::macro($name, $macro); } @@ -8211,8 +7579,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Http\Client\Factory::mixin($mixin, $replace); } @@ -8222,8 +7589,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Http\Client\Factory::hasMacro($name); } @@ -8232,8 +7598,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Http\Client\Factory::flushMacros(); } @@ -8245,20 +7610,17 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->macroCall($method, $parameters); } - - } + } /** * * * @see \Illuminate\Translation\Translator - */ - class Lang { + */ class Lang { /** * Determine if a translation exists for a given locale. * @@ -8266,8 +7628,7 @@ class Lang { * @param string|null $locale * @return bool * @static - */ - public static function hasForLocale($key, $locale = null) + */ public static function hasForLocale($key, $locale = null) { /** @var \Illuminate\Translation\Translator $instance */ return $instance->hasForLocale($key, $locale); @@ -8280,8 +7641,7 @@ public static function hasForLocale($key, $locale = null) * @param bool $fallback * @return bool * @static - */ - public static function has($key, $locale = null, $fallback = true) + */ public static function has($key, $locale = null, $fallback = true) { /** @var \Illuminate\Translation\Translator $instance */ return $instance->has($key, $locale, $fallback); @@ -8295,8 +7655,7 @@ public static function has($key, $locale = null, $fallback = true) * @param bool $fallback * @return string|array * @static - */ - public static function get($key, $replace = [], $locale = null, $fallback = true) + */ public static function get($key, $replace = [], $locale = null, $fallback = true) { /** @var \Illuminate\Translation\Translator $instance */ return $instance->get($key, $replace, $locale, $fallback); @@ -8305,13 +7664,12 @@ public static function get($key, $replace = [], $locale = null, $fallback = true * Get a translation according to an integer value. * * @param string $key - * @param \Countable|int|array $number + * @param \Countable|int|float|array $number * @param array $replace * @param string|null $locale * @return string * @static - */ - public static function choice($key, $number, $replace = [], $locale = null) + */ public static function choice($key, $number, $replace = [], $locale = null) { /** @var \Illuminate\Translation\Translator $instance */ return $instance->choice($key, $number, $replace, $locale); @@ -8324,8 +7682,7 @@ public static function choice($key, $number, $replace = [], $locale = null) * @param string $namespace * @return void * @static - */ - public static function addLines($lines, $locale, $namespace = '*') + */ public static function addLines($lines, $locale, $namespace = '*') { /** @var \Illuminate\Translation\Translator $instance */ $instance->addLines($lines, $locale, $namespace); @@ -8338,8 +7695,7 @@ public static function addLines($lines, $locale, $namespace = '*') * @param string $locale * @return void * @static - */ - public static function load($namespace, $group, $locale) + */ public static function load($namespace, $group, $locale) { /** @var \Illuminate\Translation\Translator $instance */ $instance->load($namespace, $group, $locale); @@ -8350,8 +7706,7 @@ public static function load($namespace, $group, $locale) * @param callable|null $callback * @return static * @static - */ - public static function handleMissingKeysUsing($callback) + */ public static function handleMissingKeysUsing($callback) { /** @var \Illuminate\Translation\Translator $instance */ return $instance->handleMissingKeysUsing($callback); @@ -8363,8 +7718,7 @@ public static function handleMissingKeysUsing($callback) * @param string $hint * @return void * @static - */ - public static function addNamespace($namespace, $hint) + */ public static function addNamespace($namespace, $hint) { /** @var \Illuminate\Translation\Translator $instance */ $instance->addNamespace($namespace, $hint); @@ -8375,8 +7729,7 @@ public static function addNamespace($namespace, $hint) * @param string $path * @return void * @static - */ - public static function addJsonPath($path) + */ public static function addJsonPath($path) { /** @var \Illuminate\Translation\Translator $instance */ $instance->addJsonPath($path); @@ -8387,8 +7740,7 @@ public static function addJsonPath($path) * @param string $key * @return array * @static - */ - public static function parseKey($key) + */ public static function parseKey($key) { /** @var \Illuminate\Translation\Translator $instance */ return $instance->parseKey($key); @@ -8399,8 +7751,7 @@ public static function parseKey($key) * @param callable $callback * @return void * @static - */ - public static function determineLocalesUsing($callback) + */ public static function determineLocalesUsing($callback) { /** @var \Illuminate\Translation\Translator $instance */ $instance->determineLocalesUsing($callback); @@ -8410,8 +7761,7 @@ public static function determineLocalesUsing($callback) * * @return \Illuminate\Translation\MessageSelector * @static - */ - public static function getSelector() + */ public static function getSelector() { /** @var \Illuminate\Translation\Translator $instance */ return $instance->getSelector(); @@ -8422,8 +7772,7 @@ public static function getSelector() * @param \Illuminate\Translation\MessageSelector $selector * @return void * @static - */ - public static function setSelector($selector) + */ public static function setSelector($selector) { /** @var \Illuminate\Translation\Translator $instance */ $instance->setSelector($selector); @@ -8433,8 +7782,7 @@ public static function setSelector($selector) * * @return \Illuminate\Contracts\Translation\Loader * @static - */ - public static function getLoader() + */ public static function getLoader() { /** @var \Illuminate\Translation\Translator $instance */ return $instance->getLoader(); @@ -8444,8 +7792,7 @@ public static function getLoader() * * @return string * @static - */ - public static function locale() + */ public static function locale() { /** @var \Illuminate\Translation\Translator $instance */ return $instance->locale(); @@ -8455,8 +7802,7 @@ public static function locale() * * @return string * @static - */ - public static function getLocale() + */ public static function getLocale() { /** @var \Illuminate\Translation\Translator $instance */ return $instance->getLocale(); @@ -8468,8 +7814,7 @@ public static function getLocale() * @return void * @throws \InvalidArgumentException * @static - */ - public static function setLocale($locale) + */ public static function setLocale($locale) { /** @var \Illuminate\Translation\Translator $instance */ $instance->setLocale($locale); @@ -8479,8 +7824,7 @@ public static function setLocale($locale) * * @return string * @static - */ - public static function getFallback() + */ public static function getFallback() { /** @var \Illuminate\Translation\Translator $instance */ return $instance->getFallback(); @@ -8491,8 +7835,7 @@ public static function getFallback() * @param string $fallback * @return void * @static - */ - public static function setFallback($fallback) + */ public static function setFallback($fallback) { /** @var \Illuminate\Translation\Translator $instance */ $instance->setFallback($fallback); @@ -8503,8 +7846,7 @@ public static function setFallback($fallback) * @param array $loaded * @return void * @static - */ - public static function setLoaded($loaded) + */ public static function setLoaded($loaded) { /** @var \Illuminate\Translation\Translator $instance */ $instance->setLoaded($loaded); @@ -8516,8 +7858,7 @@ public static function setLoaded($loaded) * @param callable|null $handler * @return void * @static - */ - public static function stringable($class, $handler = null) + */ public static function stringable($class, $handler = null) { /** @var \Illuminate\Translation\Translator $instance */ $instance->stringable($class, $handler); @@ -8529,8 +7870,7 @@ public static function stringable($class, $handler = null) * @param array $parsed * @return void * @static - */ - public static function setParsedKey($key, $parsed) + */ public static function setParsedKey($key, $parsed) { //Method inherited from \Illuminate\Support\NamespacedItemResolver /** @var \Illuminate\Translation\Translator $instance */ $instance->setParsedKey($key, $parsed); @@ -8540,8 +7880,7 @@ public static function setParsedKey($key, $parsed) * * @return void * @static - */ - public static function flushParsedKeys() + */ public static function flushParsedKeys() { //Method inherited from \Illuminate\Support\NamespacedItemResolver /** @var \Illuminate\Translation\Translator $instance */ $instance->flushParsedKeys(); @@ -8553,8 +7892,7 @@ public static function flushParsedKeys() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Translation\Translator::macro($name, $macro); } @@ -8566,8 +7904,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Translation\Translator::mixin($mixin, $replace); } @@ -8577,8 +7914,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Translation\Translator::hasMacro($name); } @@ -8587,19 +7923,16 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Translation\Translator::flushMacros(); } - - } + } /** * * * @method static void write(string $level, \Illuminate\Contracts\Support\Arrayable|\Illuminate\Contracts\Support\Jsonable|\Illuminate\Support\Stringable|array|string $message, array $context = []) * @method static \Illuminate\Log\Logger withContext(array $context = []) - * @method static \Illuminate\Log\Logger withoutContext() * @method static void listen(\Closure $callback) * @method static \Psr\Log\LoggerInterface getLogger() * @method static \Illuminate\Contracts\Events\Dispatcher getEventDispatcher() @@ -8607,16 +7940,14 @@ public static function flushMacros() * @method static \Illuminate\Log\Logger|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Log\Logger|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @see \Illuminate\Log\LogManager - */ - class Log { + */ class Log { /** * Build an on-demand log channel. * * @param array $config * @return \Psr\Log\LoggerInterface * @static - */ - public static function build($config) + */ public static function build($config) { /** @var \Illuminate\Log\LogManager $instance */ return $instance->build($config); @@ -8628,8 +7959,7 @@ public static function build($config) * @param string|null $channel * @return \Psr\Log\LoggerInterface * @static - */ - public static function stack($channels, $channel = null) + */ public static function stack($channels, $channel = null) { /** @var \Illuminate\Log\LogManager $instance */ return $instance->stack($channels, $channel); @@ -8640,8 +7970,7 @@ public static function stack($channels, $channel = null) * @param string|null $channel * @return \Psr\Log\LoggerInterface * @static - */ - public static function channel($channel = null) + */ public static function channel($channel = null) { /** @var \Illuminate\Log\LogManager $instance */ return $instance->channel($channel); @@ -8652,8 +7981,7 @@ public static function channel($channel = null) * @param string|null $driver * @return \Psr\Log\LoggerInterface * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { /** @var \Illuminate\Log\LogManager $instance */ return $instance->driver($driver); @@ -8664,8 +7992,7 @@ public static function driver($driver = null) * @param array $context * @return \Illuminate\Log\LogManager * @static - */ - public static function shareContext($context) + */ public static function shareContext($context) { /** @var \Illuminate\Log\LogManager $instance */ return $instance->shareContext($context); @@ -8675,19 +8002,27 @@ public static function shareContext($context) * * @return array * @static - */ - public static function sharedContext() + */ public static function sharedContext() { /** @var \Illuminate\Log\LogManager $instance */ return $instance->sharedContext(); + } + /** + * Flush the log context on all currently resolved channels. + * + * @return \Illuminate\Log\LogManager + * @static + */ public static function withoutContext() + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->withoutContext(); } /** * Flush the shared context. * * @return \Illuminate\Log\LogManager * @static - */ - public static function flushSharedContext() + */ public static function flushSharedContext() { /** @var \Illuminate\Log\LogManager $instance */ return $instance->flushSharedContext(); @@ -8697,8 +8032,7 @@ public static function flushSharedContext() * * @return string|null * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Log\LogManager $instance */ return $instance->getDefaultDriver(); @@ -8709,8 +8043,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Log\LogManager $instance */ $instance->setDefaultDriver($name); @@ -8722,8 +8055,7 @@ public static function setDefaultDriver($name) * @param \Closure $callback * @return \Illuminate\Log\LogManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { /** @var \Illuminate\Log\LogManager $instance */ return $instance->extend($driver, $callback); @@ -8734,8 +8066,7 @@ public static function extend($driver, $callback) * @param string|null $driver * @return void * @static - */ - public static function forgetChannel($driver = null) + */ public static function forgetChannel($driver = null) { /** @var \Illuminate\Log\LogManager $instance */ $instance->forgetChannel($driver); @@ -8745,8 +8076,7 @@ public static function forgetChannel($driver = null) * * @return array * @static - */ - public static function getChannels() + */ public static function getChannels() { /** @var \Illuminate\Log\LogManager $instance */ return $instance->getChannels(); @@ -8754,12 +8084,11 @@ public static function getChannels() /** * System is unusable. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function emergency($message, $context = []) + */ public static function emergency($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->emergency($message, $context); @@ -8770,12 +8099,11 @@ public static function emergency($message, $context = []) * Example: Entire website down, database unavailable, etc. This should * trigger the SMS alerts and wake you up. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function alert($message, $context = []) + */ public static function alert($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->alert($message, $context); @@ -8785,12 +8113,11 @@ public static function alert($message, $context = []) * * Example: Application component unavailable, unexpected exception. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function critical($message, $context = []) + */ public static function critical($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->critical($message, $context); @@ -8799,12 +8126,11 @@ public static function critical($message, $context = []) * Runtime errors that do not require immediate action but should typically * be logged and monitored. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function error($message, $context = []) + */ public static function error($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->error($message, $context); @@ -8815,12 +8141,11 @@ public static function error($message, $context = []) * Example: Use of deprecated APIs, poor use of an API, undesirable things * that are not necessarily wrong. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function warning($message, $context = []) + */ public static function warning($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->warning($message, $context); @@ -8828,12 +8153,11 @@ public static function warning($message, $context = []) /** * Normal but significant events. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function notice($message, $context = []) + */ public static function notice($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->notice($message, $context); @@ -8843,12 +8167,11 @@ public static function notice($message, $context = []) * * Example: User logs in, SQL logs. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function info($message, $context = []) + */ public static function info($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->info($message, $context); @@ -8856,12 +8179,11 @@ public static function info($message, $context = []) /** * Detailed debug information. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function debug($message, $context = []) + */ public static function debug($message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->debug($message, $context); @@ -8870,18 +8192,16 @@ public static function debug($message, $context = []) * Logs with an arbitrary level. * * @param mixed $level - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void * @static - */ - public static function log($level, $message, $context = []) + */ public static function log($level, $message, $context = []) { /** @var \Illuminate\Log\LogManager $instance */ $instance->log($level, $message, $context); } - - } + } /** * * @@ -8905,16 +8225,14 @@ public static function log($level, $message, $context = []) * @method static void flushMacros() * @see \Illuminate\Mail\MailManager * @see \Illuminate\Support\Testing\Fakes\MailFake - */ - class Mail { + */ class Mail { /** * Get a mailer instance by name. * * @param string|null $name * @return \Illuminate\Contracts\Mail\Mailer * @static - */ - public static function mailer($name = null) + */ public static function mailer($name = null) { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->mailer($name); @@ -8925,8 +8243,7 @@ public static function mailer($name = null) * @param string|null $driver * @return \Illuminate\Mail\Mailer * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->driver($driver); @@ -8938,8 +8255,7 @@ public static function driver($driver = null) * @return \Symfony\Component\Mailer\Transport\TransportInterface * @throws \InvalidArgumentException * @static - */ - public static function createSymfonyTransport($config) + */ public static function createSymfonyTransport($config) { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->createSymfonyTransport($config); @@ -8949,8 +8265,7 @@ public static function createSymfonyTransport($config) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->getDefaultDriver(); @@ -8961,8 +8276,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Mail\MailManager $instance */ $instance->setDefaultDriver($name); @@ -8973,8 +8287,7 @@ public static function setDefaultDriver($name) * @param string|null $name * @return void * @static - */ - public static function purge($name = null) + */ public static function purge($name = null) { /** @var \Illuminate\Mail\MailManager $instance */ $instance->purge($name); @@ -8986,8 +8299,7 @@ public static function purge($name = null) * @param \Closure $callback * @return \Illuminate\Mail\MailManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->extend($driver, $callback); @@ -8997,8 +8309,7 @@ public static function extend($driver, $callback) * * @return \Illuminate\Contracts\Foundation\Application * @static - */ - public static function getApplication() + */ public static function getApplication() { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->getApplication(); @@ -9009,8 +8320,7 @@ public static function getApplication() * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Mail\MailManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->setApplication($app); @@ -9020,8 +8330,7 @@ public static function setApplication($app) * * @return \Illuminate\Mail\MailManager * @static - */ - public static function forgetMailers() + */ public static function forgetMailers() { /** @var \Illuminate\Mail\MailManager $instance */ return $instance->forgetMailers(); @@ -9033,8 +8342,7 @@ public static function forgetMailers() * @param callable|int|null $callback * @return void * @static - */ - public static function assertSent($mailable, $callback = null) + */ public static function assertSent($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertSent($mailable, $callback); @@ -9046,8 +8354,7 @@ public static function assertSent($mailable, $callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertNotOutgoing($mailable, $callback = null) + */ public static function assertNotOutgoing($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertNotOutgoing($mailable, $callback); @@ -9059,8 +8366,7 @@ public static function assertNotOutgoing($mailable, $callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertNotSent($mailable, $callback = null) + */ public static function assertNotSent($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertNotSent($mailable, $callback); @@ -9070,8 +8376,7 @@ public static function assertNotSent($mailable, $callback = null) * * @return void * @static - */ - public static function assertNothingOutgoing() + */ public static function assertNothingOutgoing() { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertNothingOutgoing(); @@ -9081,8 +8386,7 @@ public static function assertNothingOutgoing() * * @return void * @static - */ - public static function assertNothingSent() + */ public static function assertNothingSent() { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertNothingSent(); @@ -9094,8 +8398,7 @@ public static function assertNothingSent() * @param callable|int|null $callback * @return void * @static - */ - public static function assertQueued($mailable, $callback = null) + */ public static function assertQueued($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertQueued($mailable, $callback); @@ -9107,8 +8410,7 @@ public static function assertQueued($mailable, $callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertNotQueued($mailable, $callback = null) + */ public static function assertNotQueued($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertNotQueued($mailable, $callback); @@ -9118,8 +8420,7 @@ public static function assertNotQueued($mailable, $callback = null) * * @return void * @static - */ - public static function assertNothingQueued() + */ public static function assertNothingQueued() { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertNothingQueued(); @@ -9130,8 +8431,7 @@ public static function assertNothingQueued() * @param int $count * @return void * @static - */ - public static function assertSentCount($count) + */ public static function assertSentCount($count) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertSentCount($count); @@ -9142,8 +8442,7 @@ public static function assertSentCount($count) * @param int $count * @return void * @static - */ - public static function assertQueuedCount($count) + */ public static function assertQueuedCount($count) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertQueuedCount($count); @@ -9154,8 +8453,7 @@ public static function assertQueuedCount($count) * @param int $count * @return void * @static - */ - public static function assertOutgoingCount($count) + */ public static function assertOutgoingCount($count) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->assertOutgoingCount($count); @@ -9167,8 +8465,7 @@ public static function assertOutgoingCount($count) * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function sent($mailable, $callback = null) + */ public static function sent($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->sent($mailable, $callback); @@ -9179,8 +8476,7 @@ public static function sent($mailable, $callback = null) * @param string $mailable * @return bool * @static - */ - public static function hasSent($mailable) + */ public static function hasSent($mailable) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->hasSent($mailable); @@ -9192,8 +8488,7 @@ public static function hasSent($mailable) * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function queued($mailable, $callback = null) + */ public static function queued($mailable, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->queued($mailable, $callback); @@ -9204,8 +8499,7 @@ public static function queued($mailable, $callback = null) * @param string $mailable * @return bool * @static - */ - public static function hasQueued($mailable) + */ public static function hasQueued($mailable) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->hasQueued($mailable); @@ -9216,8 +8510,7 @@ public static function hasQueued($mailable) * @param mixed $users * @return \Illuminate\Mail\PendingMail * @static - */ - public static function to($users) + */ public static function to($users) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->to($users); @@ -9228,8 +8521,7 @@ public static function to($users) * @param mixed $users * @return \Illuminate\Mail\PendingMail * @static - */ - public static function cc($users) + */ public static function cc($users) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->cc($users); @@ -9240,8 +8532,7 @@ public static function cc($users) * @param mixed $users * @return \Illuminate\Mail\PendingMail * @static - */ - public static function bcc($users) + */ public static function bcc($users) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->bcc($users); @@ -9253,8 +8544,7 @@ public static function bcc($users) * @param \Closure|string $callback * @return void * @static - */ - public static function raw($text, $callback) + */ public static function raw($text, $callback) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->raw($text, $callback); @@ -9267,8 +8557,7 @@ public static function raw($text, $callback) * @param \Closure|string|null $callback * @return void * @static - */ - public static function send($view, $data = [], $callback = null) + */ public static function send($view, $data = [], $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ $instance->send($view, $data, $callback); @@ -9280,8 +8569,7 @@ public static function send($view, $data = [], $callback = null) * @param string|null $queue * @return mixed * @static - */ - public static function queue($view, $queue = null) + */ public static function queue($view, $queue = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->queue($view, $queue); @@ -9294,21 +8582,18 @@ public static function queue($view, $queue = null) * @param string|null $queue * @return mixed * @static - */ - public static function later($delay, $view, $queue = null) + */ public static function later($delay, $view, $queue = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ return $instance->later($delay, $view, $queue); } - - } + } /** * * * @see \Illuminate\Notifications\ChannelManager * @see \Illuminate\Support\Testing\Fakes\NotificationFake - */ - class Notification { + */ class Notification { /** * Send the given notification to the given notifiable entities. * @@ -9316,8 +8601,7 @@ class Notification { * @param mixed $notification * @return void * @static - */ - public static function send($notifiables, $notification) + */ public static function send($notifiables, $notification) { /** @var \Illuminate\Notifications\ChannelManager $instance */ $instance->send($notifiables, $notification); @@ -9330,8 +8614,7 @@ public static function send($notifiables, $notification) * @param array|null $channels * @return void * @static - */ - public static function sendNow($notifiables, $notification, $channels = null) + */ public static function sendNow($notifiables, $notification, $channels = null) { /** @var \Illuminate\Notifications\ChannelManager $instance */ $instance->sendNow($notifiables, $notification, $channels); @@ -9342,8 +8625,7 @@ public static function sendNow($notifiables, $notification, $channels = null) * @param string|null $name * @return mixed * @static - */ - public static function channel($name = null) + */ public static function channel($name = null) { /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->channel($name); @@ -9353,8 +8635,7 @@ public static function channel($name = null) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->getDefaultDriver(); @@ -9364,8 +8645,7 @@ public static function getDefaultDriver() * * @return string * @static - */ - public static function deliversVia() + */ public static function deliversVia() { /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->deliversVia(); @@ -9376,8 +8656,7 @@ public static function deliversVia() * @param string $channel * @return void * @static - */ - public static function deliverVia($channel) + */ public static function deliverVia($channel) { /** @var \Illuminate\Notifications\ChannelManager $instance */ $instance->deliverVia($channel); @@ -9388,8 +8667,7 @@ public static function deliverVia($channel) * @param string $locale * @return \Illuminate\Notifications\ChannelManager * @static - */ - public static function locale($locale) + */ public static function locale($locale) { /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->locale($locale); @@ -9401,8 +8679,7 @@ public static function locale($locale) * @return mixed * @throws \InvalidArgumentException * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->driver($driver); @@ -9414,8 +8691,7 @@ public static function driver($driver = null) * @param \Closure $callback * @return \Illuminate\Notifications\ChannelManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->extend($driver, $callback); @@ -9425,8 +8701,7 @@ public static function extend($driver, $callback) * * @return array * @static - */ - public static function getDrivers() + */ public static function getDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->getDrivers(); @@ -9436,8 +8711,7 @@ public static function getDrivers() * * @return \Illuminate\Contracts\Container\Container * @static - */ - public static function getContainer() + */ public static function getContainer() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->getContainer(); @@ -9448,8 +8722,7 @@ public static function getContainer() * @param \Illuminate\Contracts\Container\Container $container * @return \Illuminate\Notifications\ChannelManager * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->setContainer($container); @@ -9459,8 +8732,7 @@ public static function setContainer($container) * * @return \Illuminate\Notifications\ChannelManager * @static - */ - public static function forgetDrivers() + */ public static function forgetDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Notifications\ChannelManager $instance */ return $instance->forgetDrivers(); @@ -9473,8 +8745,7 @@ public static function forgetDrivers() * @return void * @throws \Exception * @static - */ - public static function assertSentOnDemand($notification, $callback = null) + */ public static function assertSentOnDemand($notification, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertSentOnDemand($notification, $callback); @@ -9488,8 +8759,7 @@ public static function assertSentOnDemand($notification, $callback = null) * @return void * @throws \Exception * @static - */ - public static function assertSentTo($notifiable, $notification, $callback = null) + */ public static function assertSentTo($notifiable, $notification, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertSentTo($notifiable, $notification, $callback); @@ -9501,8 +8771,7 @@ public static function assertSentTo($notifiable, $notification, $callback = null * @param int $times * @return void * @static - */ - public static function assertSentOnDemandTimes($notification, $times = 1) + */ public static function assertSentOnDemandTimes($notification, $times = 1) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertSentOnDemandTimes($notification, $times); @@ -9515,8 +8784,7 @@ public static function assertSentOnDemandTimes($notification, $times = 1) * @param int $times * @return void * @static - */ - public static function assertSentToTimes($notifiable, $notification, $times = 1) + */ public static function assertSentToTimes($notifiable, $notification, $times = 1) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertSentToTimes($notifiable, $notification, $times); @@ -9530,8 +8798,7 @@ public static function assertSentToTimes($notifiable, $notification, $times = 1) * @return void * @throws \Exception * @static - */ - public static function assertNotSentTo($notifiable, $notification, $callback = null) + */ public static function assertNotSentTo($notifiable, $notification, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertNotSentTo($notifiable, $notification, $callback); @@ -9541,8 +8808,7 @@ public static function assertNotSentTo($notifiable, $notification, $callback = n * * @return void * @static - */ - public static function assertNothingSent() + */ public static function assertNothingSent() { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertNothingSent(); @@ -9554,8 +8820,7 @@ public static function assertNothingSent() * @return void * @throws \Exception * @static - */ - public static function assertNothingSentTo($notifiable) + */ public static function assertNothingSentTo($notifiable) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertNothingSentTo($notifiable); @@ -9567,8 +8832,7 @@ public static function assertNothingSentTo($notifiable) * @param int $expectedCount * @return void * @static - */ - public static function assertSentTimes($notification, $expectedCount) + */ public static function assertSentTimes($notification, $expectedCount) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertSentTimes($notification, $expectedCount); @@ -9579,8 +8843,7 @@ public static function assertSentTimes($notification, $expectedCount) * @param int $expectedCount * @return void * @static - */ - public static function assertCount($expectedCount) + */ public static function assertCount($expectedCount) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ $instance->assertCount($expectedCount); @@ -9593,8 +8856,7 @@ public static function assertCount($expectedCount) * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function sent($notifiable, $notification, $callback = null) + */ public static function sent($notifiable, $notification, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ return $instance->sent($notifiable, $notification, $callback); @@ -9606,8 +8868,7 @@ public static function sent($notifiable, $notification, $callback = null) * @param string $notification * @return bool * @static - */ - public static function hasSent($notifiable, $notification) + */ public static function hasSent($notifiable, $notification) { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ return $instance->hasSent($notifiable, $notification); @@ -9617,8 +8878,7 @@ public static function hasSent($notifiable, $notification) * * @return array * @static - */ - public static function sentNotifications() + */ public static function sentNotifications() { /** @var \Illuminate\Support\Testing\Fakes\NotificationFake $instance */ return $instance->sentNotifications(); @@ -9630,8 +8890,7 @@ public static function sentNotifications() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Support\Testing\Fakes\NotificationFake::macro($name, $macro); } @@ -9643,8 +8902,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Support\Testing\Fakes\NotificationFake::mixin($mixin, $replace); } @@ -9654,8 +8912,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Support\Testing\Fakes\NotificationFake::hasMacro($name); } @@ -9664,13 +8921,11 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Support\Testing\Fakes\NotificationFake::flushMacros(); } - - } + } /** * * @@ -9683,16 +8938,14 @@ public static function flushMacros() * @method static \Illuminate\Auth\Passwords\TokenRepositoryInterface getRepository() * @see \Illuminate\Auth\Passwords\PasswordBrokerManager * @see \Illuminate\Auth\Passwords\PasswordBroker - */ - class Password { + */ class Password { /** * Attempt to get the broker from the local cache. * * @param string|null $name * @return \Illuminate\Contracts\Auth\PasswordBroker * @static - */ - public static function broker($name = null) + */ public static function broker($name = null) { /** @var \Illuminate\Auth\Passwords\PasswordBrokerManager $instance */ return $instance->broker($name); @@ -9702,8 +8955,7 @@ public static function broker($name = null) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Auth\Passwords\PasswordBrokerManager $instance */ return $instance->getDefaultDriver(); @@ -9714,14 +8966,12 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Auth\Passwords\PasswordBrokerManager $instance */ $instance->setDefaultDriver($name); } - - } + } /** * * @@ -9736,14 +8986,13 @@ public static function setDefaultDriver($name) * @method static \Illuminate\Process\PendingProcess tty(bool $tty = true) * @method static \Illuminate\Process\PendingProcess options(array $options) * @method static \Illuminate\Contracts\Process\ProcessResult run(array|string|null $command = null, callable|null $output = null) - * @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable $output = null) + * @method static \Illuminate\Process\InvokedProcess start(array|string|null $command = null, callable|null $output = null) * @method static \Illuminate\Process\PendingProcess withFakeHandlers(array $fakeHandlers) * @method static \Illuminate\Process\PendingProcess|mixed when(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @method static \Illuminate\Process\PendingProcess|mixed unless(\Closure|mixed|null $value = null, callable|null $callback = null, callable|null $default = null) * @see \Illuminate\Process\PendingProcess * @see \Illuminate\Process\Factory - */ - class Process { + */ class Process { /** * Create a new fake process response for testing purposes. * @@ -9752,8 +9001,7 @@ class Process { * @param int $exitCode * @return \Illuminate\Process\FakeProcessResult * @static - */ - public static function result($output = '', $errorOutput = '', $exitCode = 0) + */ public static function result($output = '', $errorOutput = '', $exitCode = 0) { /** @var \Illuminate\Process\Factory $instance */ return $instance->result($output, $errorOutput, $exitCode); @@ -9763,8 +9011,7 @@ public static function result($output = '', $errorOutput = '', $exitCode = 0) * * @return \Illuminate\Process\FakeProcessDescription * @static - */ - public static function describe() + */ public static function describe() { /** @var \Illuminate\Process\Factory $instance */ return $instance->describe(); @@ -9775,8 +9022,7 @@ public static function describe() * @param array $processes * @return \Illuminate\Process\FakeProcessSequence * @static - */ - public static function sequence($processes = []) + */ public static function sequence($processes = []) { /** @var \Illuminate\Process\Factory $instance */ return $instance->sequence($processes); @@ -9787,8 +9033,7 @@ public static function sequence($processes = []) * @param \Closure|array|null $callback * @return \Illuminate\Process\Factory * @static - */ - public static function fake($callback = null) + */ public static function fake($callback = null) { /** @var \Illuminate\Process\Factory $instance */ return $instance->fake($callback); @@ -9798,8 +9043,7 @@ public static function fake($callback = null) * * @return bool * @static - */ - public static function isRecording() + */ public static function isRecording() { /** @var \Illuminate\Process\Factory $instance */ return $instance->isRecording(); @@ -9811,8 +9055,7 @@ public static function isRecording() * @param \Illuminate\Contracts\Process\ProcessResult $result * @return \Illuminate\Process\Factory * @static - */ - public static function recordIfRecording($process, $result) + */ public static function recordIfRecording($process, $result) { /** @var \Illuminate\Process\Factory $instance */ return $instance->recordIfRecording($process, $result); @@ -9824,8 +9067,7 @@ public static function recordIfRecording($process, $result) * @param \Illuminate\Contracts\Process\ProcessResult $result * @return \Illuminate\Process\Factory * @static - */ - public static function record($process, $result) + */ public static function record($process, $result) { /** @var \Illuminate\Process\Factory $instance */ return $instance->record($process, $result); @@ -9836,8 +9078,7 @@ public static function record($process, $result) * @param bool $prevent * @return \Illuminate\Process\Factory * @static - */ - public static function preventStrayProcesses($prevent = true) + */ public static function preventStrayProcesses($prevent = true) { /** @var \Illuminate\Process\Factory $instance */ return $instance->preventStrayProcesses($prevent); @@ -9847,8 +9088,7 @@ public static function preventStrayProcesses($prevent = true) * * @return bool * @static - */ - public static function preventingStrayProcesses() + */ public static function preventingStrayProcesses() { /** @var \Illuminate\Process\Factory $instance */ return $instance->preventingStrayProcesses(); @@ -9859,8 +9099,7 @@ public static function preventingStrayProcesses() * @param \Closure|string $callback * @return \Illuminate\Process\Factory * @static - */ - public static function assertRan($callback) + */ public static function assertRan($callback) { /** @var \Illuminate\Process\Factory $instance */ return $instance->assertRan($callback); @@ -9872,8 +9111,7 @@ public static function assertRan($callback) * @param int $times * @return \Illuminate\Process\Factory * @static - */ - public static function assertRanTimes($callback, $times = 1) + */ public static function assertRanTimes($callback, $times = 1) { /** @var \Illuminate\Process\Factory $instance */ return $instance->assertRanTimes($callback, $times); @@ -9884,8 +9122,7 @@ public static function assertRanTimes($callback, $times = 1) * @param \Closure|string $callback * @return \Illuminate\Process\Factory * @static - */ - public static function assertNotRan($callback) + */ public static function assertNotRan($callback) { /** @var \Illuminate\Process\Factory $instance */ return $instance->assertNotRan($callback); @@ -9896,8 +9133,7 @@ public static function assertNotRan($callback) * @param \Closure|string $callback * @return \Illuminate\Process\Factory * @static - */ - public static function assertDidntRun($callback) + */ public static function assertDidntRun($callback) { /** @var \Illuminate\Process\Factory $instance */ return $instance->assertDidntRun($callback); @@ -9907,8 +9143,7 @@ public static function assertDidntRun($callback) * * @return \Illuminate\Process\Factory * @static - */ - public static function assertNothingRan() + */ public static function assertNothingRan() { /** @var \Illuminate\Process\Factory $instance */ return $instance->assertNothingRan(); @@ -9919,8 +9154,7 @@ public static function assertNothingRan() * @param callable $callback * @return \Illuminate\Process\Pool * @static - */ - public static function pool($callback) + */ public static function pool($callback) { /** @var \Illuminate\Process\Factory $instance */ return $instance->pool($callback); @@ -9931,8 +9165,7 @@ public static function pool($callback) * @param callable|array $callback * @return \Illuminate\Contracts\Process\ProcessResult * @static - */ - public static function pipe($callback, $output = null) + */ public static function pipe($callback, $output = null) { /** @var \Illuminate\Process\Factory $instance */ return $instance->pipe($callback, $output); @@ -9944,8 +9177,7 @@ public static function pipe($callback, $output = null) * @param callable|null $output * @return \Illuminate\Process\ProcessPoolResults * @static - */ - public static function concurrently($callback, $output = null) + */ public static function concurrently($callback, $output = null) { /** @var \Illuminate\Process\Factory $instance */ return $instance->concurrently($callback, $output); @@ -9955,8 +9187,7 @@ public static function concurrently($callback, $output = null) * * @return \Illuminate\Process\PendingProcess * @static - */ - public static function newPendingProcess() + */ public static function newPendingProcess() { /** @var \Illuminate\Process\Factory $instance */ return $instance->newPendingProcess(); @@ -9968,8 +9199,7 @@ public static function newPendingProcess() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Process\Factory::macro($name, $macro); } @@ -9981,8 +9211,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Process\Factory::mixin($mixin, $replace); } @@ -9992,8 +9221,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Process\Factory::hasMacro($name); } @@ -10002,8 +9230,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Process\Factory::flushMacros(); } @@ -10015,30 +9242,26 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Process\Factory $instance */ return $instance->macroCall($method, $parameters); } - - } + } /** * * * @see \Illuminate\Queue\QueueManager * @see \Illuminate\Queue\Queue * @see \Illuminate\Support\Testing\Fakes\QueueFake - */ - class Queue { + */ class Queue { /** * Register an event listener for the before job event. * * @param mixed $callback * @return void * @static - */ - public static function before($callback) + */ public static function before($callback) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->before($callback); @@ -10049,8 +9272,7 @@ public static function before($callback) * @param mixed $callback * @return void * @static - */ - public static function after($callback) + */ public static function after($callback) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->after($callback); @@ -10061,8 +9283,7 @@ public static function after($callback) * @param mixed $callback * @return void * @static - */ - public static function exceptionOccurred($callback) + */ public static function exceptionOccurred($callback) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->exceptionOccurred($callback); @@ -10073,8 +9294,7 @@ public static function exceptionOccurred($callback) * @param mixed $callback * @return void * @static - */ - public static function looping($callback) + */ public static function looping($callback) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->looping($callback); @@ -10085,8 +9305,7 @@ public static function looping($callback) * @param mixed $callback * @return void * @static - */ - public static function failing($callback) + */ public static function failing($callback) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->failing($callback); @@ -10097,8 +9316,7 @@ public static function failing($callback) * @param mixed $callback * @return void * @static - */ - public static function stopping($callback) + */ public static function stopping($callback) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->stopping($callback); @@ -10109,8 +9327,7 @@ public static function stopping($callback) * @param string|null $name * @return bool * @static - */ - public static function connected($name = null) + */ public static function connected($name = null) { /** @var \Illuminate\Queue\QueueManager $instance */ return $instance->connected($name); @@ -10121,8 +9338,7 @@ public static function connected($name = null) * @param string|null $name * @return \Illuminate\Contracts\Queue\Queue * @static - */ - public static function connection($name = null) + */ public static function connection($name = null) { /** @var \Illuminate\Queue\QueueManager $instance */ return $instance->connection($name); @@ -10134,8 +9350,7 @@ public static function connection($name = null) * @param \Closure $resolver * @return void * @static - */ - public static function extend($driver, $resolver) + */ public static function extend($driver, $resolver) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->extend($driver, $resolver); @@ -10147,8 +9362,7 @@ public static function extend($driver, $resolver) * @param \Closure $resolver * @return void * @static - */ - public static function addConnector($driver, $resolver) + */ public static function addConnector($driver, $resolver) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->addConnector($driver, $resolver); @@ -10158,8 +9372,7 @@ public static function addConnector($driver, $resolver) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Queue\QueueManager $instance */ return $instance->getDefaultDriver(); @@ -10170,8 +9383,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Queue\QueueManager $instance */ $instance->setDefaultDriver($name); @@ -10182,8 +9394,7 @@ public static function setDefaultDriver($name) * @param string|null $connection * @return string * @static - */ - public static function getName($connection = null) + */ public static function getName($connection = null) { /** @var \Illuminate\Queue\QueueManager $instance */ return $instance->getName($connection); @@ -10193,8 +9404,7 @@ public static function getName($connection = null) * * @return \Illuminate\Contracts\Foundation\Application * @static - */ - public static function getApplication() + */ public static function getApplication() { /** @var \Illuminate\Queue\QueueManager $instance */ return $instance->getApplication(); @@ -10205,8 +9415,7 @@ public static function getApplication() * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Queue\QueueManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Queue\QueueManager $instance */ return $instance->setApplication($app); @@ -10217,8 +9426,7 @@ public static function setApplication($app) * @param array|string $jobsToBeQueued * @return \Illuminate\Support\Testing\Fakes\QueueFake * @static - */ - public static function except($jobsToBeQueued) + */ public static function except($jobsToBeQueued) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->except($jobsToBeQueued); @@ -10230,8 +9438,7 @@ public static function except($jobsToBeQueued) * @param callable|int|null $callback * @return void * @static - */ - public static function assertPushed($job, $callback = null) + */ public static function assertPushed($job, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertPushed($job, $callback); @@ -10244,8 +9451,7 @@ public static function assertPushed($job, $callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertPushedOn($queue, $job, $callback = null) + */ public static function assertPushedOn($queue, $job, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertPushedOn($queue, $job, $callback); @@ -10258,8 +9464,7 @@ public static function assertPushedOn($queue, $job, $callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertPushedWithChain($job, $expectedChain = [], $callback = null) + */ public static function assertPushedWithChain($job, $expectedChain = [], $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertPushedWithChain($job, $expectedChain, $callback); @@ -10271,8 +9476,7 @@ public static function assertPushedWithChain($job, $expectedChain = [], $callbac * @param callable|null $callback * @return void * @static - */ - public static function assertPushedWithoutChain($job, $callback = null) + */ public static function assertPushedWithoutChain($job, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertPushedWithoutChain($job, $callback); @@ -10283,8 +9487,7 @@ public static function assertPushedWithoutChain($job, $callback = null) * @param callable|int|null $callback * @return void * @static - */ - public static function assertClosurePushed($callback = null) + */ public static function assertClosurePushed($callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertClosurePushed($callback); @@ -10295,8 +9498,7 @@ public static function assertClosurePushed($callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertClosureNotPushed($callback = null) + */ public static function assertClosureNotPushed($callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertClosureNotPushed($callback); @@ -10308,19 +9510,28 @@ public static function assertClosureNotPushed($callback = null) * @param callable|null $callback * @return void * @static - */ - public static function assertNotPushed($job, $callback = null) + */ public static function assertNotPushed($job, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertNotPushed($job, $callback); + } + /** + * Assert the total count of jobs that were pushed. + * + * @param int $expectedCount + * @return void + * @static + */ public static function assertCount($expectedCount) + { + /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ + $instance->assertCount($expectedCount); } /** * Assert that no jobs were pushed. * * @return void * @static - */ - public static function assertNothingPushed() + */ public static function assertNothingPushed() { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ $instance->assertNothingPushed(); @@ -10332,8 +9543,7 @@ public static function assertNothingPushed() * @param callable|null $callback * @return \Illuminate\Support\Collection * @static - */ - public static function pushed($job, $callback = null) + */ public static function pushed($job, $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->pushed($job, $callback); @@ -10344,8 +9554,7 @@ public static function pushed($job, $callback = null) * @param string $job * @return bool * @static - */ - public static function hasPushed($job) + */ public static function hasPushed($job) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->hasPushed($job); @@ -10356,8 +9565,7 @@ public static function hasPushed($job) * @param string|null $queue * @return int * @static - */ - public static function size($queue = null) + */ public static function size($queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->size($queue); @@ -10370,8 +9578,7 @@ public static function size($queue = null) * @param string|null $queue * @return mixed * @static - */ - public static function push($job, $data = '', $queue = null) + */ public static function push($job, $data = '', $queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->push($job, $data, $queue); @@ -10382,8 +9589,7 @@ public static function push($job, $data = '', $queue = null) * @param object $job * @return bool * @static - */ - public static function shouldFakeJob($job) + */ public static function shouldFakeJob($job) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->shouldFakeJob($job); @@ -10396,8 +9602,7 @@ public static function shouldFakeJob($job) * @param array $options * @return mixed * @static - */ - public static function pushRaw($payload, $queue = null, $options = []) + */ public static function pushRaw($payload, $queue = null, $options = []) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->pushRaw($payload, $queue, $options); @@ -10411,8 +9616,7 @@ public static function pushRaw($payload, $queue = null, $options = []) * @param string|null $queue * @return mixed * @static - */ - public static function later($delay, $job, $data = '', $queue = null) + */ public static function later($delay, $job, $data = '', $queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->later($delay, $job, $data, $queue); @@ -10425,8 +9629,7 @@ public static function later($delay, $job, $data = '', $queue = null) * @param mixed $data * @return mixed * @static - */ - public static function pushOn($queue, $job, $data = '') + */ public static function pushOn($queue, $job, $data = '') { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->pushOn($queue, $job, $data); @@ -10440,8 +9643,7 @@ public static function pushOn($queue, $job, $data = '') * @param mixed $data * @return mixed * @static - */ - public static function laterOn($queue, $delay, $job, $data = '') + */ public static function laterOn($queue, $delay, $job, $data = '') { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->laterOn($queue, $delay, $job, $data); @@ -10452,8 +9654,7 @@ public static function laterOn($queue, $delay, $job, $data = '') * @param string|null $queue * @return \Illuminate\Contracts\Queue\Job|null * @static - */ - public static function pop($queue = null) + */ public static function pop($queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->pop($queue); @@ -10466,8 +9667,7 @@ public static function pop($queue = null) * @param string|null $queue * @return mixed * @static - */ - public static function bulk($jobs, $data = '', $queue = null) + */ public static function bulk($jobs, $data = '', $queue = null) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->bulk($jobs, $data, $queue); @@ -10477,8 +9677,7 @@ public static function bulk($jobs, $data = '', $queue = null) * * @return array * @static - */ - public static function pushedJobs() + */ public static function pushedJobs() { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->pushedJobs(); @@ -10489,8 +9688,7 @@ public static function pushedJobs() * @param bool $serializeAndRestore * @return \Illuminate\Support\Testing\Fakes\QueueFake * @static - */ - public static function serializeAndRestore($serializeAndRestore = true) + */ public static function serializeAndRestore($serializeAndRestore = true) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->serializeAndRestore($serializeAndRestore); @@ -10500,8 +9698,7 @@ public static function serializeAndRestore($serializeAndRestore = true) * * @return string * @static - */ - public static function getConnectionName() + */ public static function getConnectionName() { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->getConnectionName(); @@ -10512,11 +9709,21 @@ public static function getConnectionName() * @param string $name * @return \Illuminate\Support\Testing\Fakes\QueueFake * @static - */ - public static function setConnectionName($name) + */ public static function setConnectionName($name) { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->setConnectionName($name); + } + /** + * Get the maximum number of attempts for an object-based queue handler. + * + * @param mixed $job + * @return mixed + * @static + */ public static function getJobTries($job) + { //Method inherited from \Illuminate\Queue\Queue + /** @var \Illuminate\Queue\SyncQueue $instance */ + return $instance->getJobTries($job); } /** * Get the backoff for an object-based queue handler. @@ -10524,8 +9731,7 @@ public static function setConnectionName($name) * @param mixed $job * @return mixed * @static - */ - public static function getJobBackoff($job) + */ public static function getJobBackoff($job) { //Method inherited from \Illuminate\Queue\Queue /** @var \Illuminate\Queue\SyncQueue $instance */ return $instance->getJobBackoff($job); @@ -10536,8 +9742,7 @@ public static function getJobBackoff($job) * @param mixed $job * @return mixed * @static - */ - public static function getJobExpiration($job) + */ public static function getJobExpiration($job) { //Method inherited from \Illuminate\Queue\Queue /** @var \Illuminate\Queue\SyncQueue $instance */ return $instance->getJobExpiration($job); @@ -10548,8 +9753,7 @@ public static function getJobExpiration($job) * @param callable|null $callback * @return void * @static - */ - public static function createPayloadUsing($callback) + */ public static function createPayloadUsing($callback) { //Method inherited from \Illuminate\Queue\Queue \Illuminate\Queue\SyncQueue::createPayloadUsing($callback); } @@ -10558,8 +9762,7 @@ public static function createPayloadUsing($callback) * * @return \Illuminate\Container\Container * @static - */ - public static function getContainer() + */ public static function getContainer() { //Method inherited from \Illuminate\Queue\Queue /** @var \Illuminate\Queue\SyncQueue $instance */ return $instance->getContainer(); @@ -10570,20 +9773,17 @@ public static function getContainer() * @param \Illuminate\Container\Container $container * @return void * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { //Method inherited from \Illuminate\Queue\Queue /** @var \Illuminate\Queue\SyncQueue $instance */ $instance->setContainer($container); } - - } + } /** * * * @see \Illuminate\Cache\RateLimiter - */ - class RateLimiter { + */ class RateLimiter { /** * Register a named limiter configuration. * @@ -10591,8 +9791,7 @@ class RateLimiter { * @param \Closure $callback * @return \Illuminate\Cache\RateLimiter * @static - */ - public static function for($name, $callback) + */ public static function for($name, $callback) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->for($name, $callback); @@ -10603,8 +9802,7 @@ public static function for($name, $callback) * @param string $name * @return \Closure|null * @static - */ - public static function limiter($name) + */ public static function limiter($name) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->limiter($name); @@ -10618,8 +9816,7 @@ public static function limiter($name) * @param int $decaySeconds * @return mixed * @static - */ - public static function attempt($key, $maxAttempts, $callback, $decaySeconds = 60) + */ public static function attempt($key, $maxAttempts, $callback, $decaySeconds = 60) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->attempt($key, $maxAttempts, $callback, $decaySeconds); @@ -10631,24 +9828,35 @@ public static function attempt($key, $maxAttempts, $callback, $decaySeconds = 60 * @param int $maxAttempts * @return bool * @static - */ - public static function tooManyAttempts($key, $maxAttempts) + */ public static function tooManyAttempts($key, $maxAttempts) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->tooManyAttempts($key, $maxAttempts); } /** - * Increment the counter for a given key for a given decay time. + * Increment (by 1) the counter for a given key for a given decay time. * * @param string $key * @param int $decaySeconds * @return int * @static - */ - public static function hit($key, $decaySeconds = 60) + */ public static function hit($key, $decaySeconds = 60) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->hit($key, $decaySeconds); + } + /** + * Increment the counter for a given key for a given decay time by a given amount. + * + * @param string $key + * @param int $decaySeconds + * @param int $amount + * @return int + * @static + */ public static function increment($key, $decaySeconds = 60, $amount = 1) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->increment($key, $decaySeconds, $amount); } /** * Get the number of attempts for the given key. @@ -10656,8 +9864,7 @@ public static function hit($key, $decaySeconds = 60) * @param string $key * @return mixed * @static - */ - public static function attempts($key) + */ public static function attempts($key) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->attempts($key); @@ -10668,8 +9875,7 @@ public static function attempts($key) * @param string $key * @return mixed * @static - */ - public static function resetAttempts($key) + */ public static function resetAttempts($key) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->resetAttempts($key); @@ -10681,8 +9887,7 @@ public static function resetAttempts($key) * @param int $maxAttempts * @return int * @static - */ - public static function remaining($key, $maxAttempts) + */ public static function remaining($key, $maxAttempts) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->remaining($key, $maxAttempts); @@ -10694,8 +9899,7 @@ public static function remaining($key, $maxAttempts) * @param int $maxAttempts * @return int * @static - */ - public static function retriesLeft($key, $maxAttempts) + */ public static function retriesLeft($key, $maxAttempts) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->retriesLeft($key, $maxAttempts); @@ -10706,8 +9910,7 @@ public static function retriesLeft($key, $maxAttempts) * @param string $key * @return void * @static - */ - public static function clear($key) + */ public static function clear($key) { /** @var \Illuminate\Cache\RateLimiter $instance */ $instance->clear($key); @@ -10718,8 +9921,7 @@ public static function clear($key) * @param string $key * @return int * @static - */ - public static function availableIn($key) + */ public static function availableIn($key) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->availableIn($key); @@ -10730,20 +9932,17 @@ public static function availableIn($key) * @param string $key * @return string * @static - */ - public static function cleanRateLimiterKey($key) + */ public static function cleanRateLimiterKey($key) { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->cleanRateLimiterKey($key); } - - } + } /** * * * @see \Illuminate\Routing\Redirector - */ - class Redirect { + */ class Redirect { /** * Create a new redirect response to the previous location. * @@ -10752,8 +9951,7 @@ class Redirect { * @param mixed $fallback * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function back($status = 302, $headers = [], $fallback = false) + */ public static function back($status = 302, $headers = [], $fallback = false) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->back($status, $headers, $fallback); @@ -10765,8 +9963,7 @@ public static function back($status = 302, $headers = [], $fallback = false) * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function refresh($status = 302, $headers = []) + */ public static function refresh($status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->refresh($status, $headers); @@ -10780,8 +9977,7 @@ public static function refresh($status = 302, $headers = []) * @param bool|null $secure * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function guest($path, $status = 302, $headers = [], $secure = null) + */ public static function guest($path, $status = 302, $headers = [], $secure = null) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->guest($path, $status, $headers, $secure); @@ -10795,8 +9991,7 @@ public static function guest($path, $status = 302, $headers = [], $secure = null * @param bool|null $secure * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function intended($default = '/', $status = 302, $headers = [], $secure = null) + */ public static function intended($default = '/', $status = 302, $headers = [], $secure = null) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->intended($default, $status, $headers, $secure); @@ -10810,8 +10005,7 @@ public static function intended($default = '/', $status = 302, $headers = [], $s * @param bool|null $secure * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function to($path, $status = 302, $headers = [], $secure = null) + */ public static function to($path, $status = 302, $headers = [], $secure = null) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->to($path, $status, $headers, $secure); @@ -10824,8 +10018,7 @@ public static function to($path, $status = 302, $headers = [], $secure = null) * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function away($path, $status = 302, $headers = []) + */ public static function away($path, $status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->away($path, $status, $headers); @@ -10838,8 +10031,7 @@ public static function away($path, $status = 302, $headers = []) * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function secure($path, $status = 302, $headers = []) + */ public static function secure($path, $status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->secure($path, $status, $headers); @@ -10853,8 +10045,7 @@ public static function secure($path, $status = 302, $headers = []) * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function route($route, $parameters = [], $status = 302, $headers = []) + */ public static function route($route, $parameters = [], $status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->route($route, $parameters, $status, $headers); @@ -10869,8 +10060,7 @@ public static function route($route, $parameters = [], $status = 302, $headers = * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function signedRoute($route, $parameters = [], $expiration = null, $status = 302, $headers = []) + */ public static function signedRoute($route, $parameters = [], $expiration = null, $status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->signedRoute($route, $parameters, $expiration, $status, $headers); @@ -10885,8 +10075,7 @@ public static function signedRoute($route, $parameters = [], $expiration = null, * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function temporarySignedRoute($route, $expiration, $parameters = [], $status = 302, $headers = []) + */ public static function temporarySignedRoute($route, $expiration, $parameters = [], $status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->temporarySignedRoute($route, $expiration, $parameters, $status, $headers); @@ -10900,8 +10089,7 @@ public static function temporarySignedRoute($route, $expiration, $parameters = [ * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function action($action, $parameters = [], $status = 302, $headers = []) + */ public static function action($action, $parameters = [], $status = 302, $headers = []) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->action($action, $parameters, $status, $headers); @@ -10911,8 +10099,7 @@ public static function action($action, $parameters = [], $status = 302, $headers * * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function getUrlGenerator() + */ public static function getUrlGenerator() { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->getUrlGenerator(); @@ -10923,8 +10110,7 @@ public static function getUrlGenerator() * @param \Illuminate\Session\Store $session * @return void * @static - */ - public static function setSession($session) + */ public static function setSession($session) { /** @var \Illuminate\Routing\Redirector $instance */ $instance->setSession($session); @@ -10934,8 +10120,7 @@ public static function setSession($session) * * @return string|null * @static - */ - public static function getIntendedUrl() + */ public static function getIntendedUrl() { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->getIntendedUrl(); @@ -10946,8 +10131,7 @@ public static function getIntendedUrl() * @param string $url * @return \Illuminate\Routing\Redirector * @static - */ - public static function setIntendedUrl($url) + */ public static function setIntendedUrl($url) { /** @var \Illuminate\Routing\Redirector $instance */ return $instance->setIntendedUrl($url); @@ -10959,8 +10143,7 @@ public static function setIntendedUrl($url) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Routing\Redirector::macro($name, $macro); } @@ -10972,8 +10155,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Routing\Redirector::mixin($mixin, $replace); } @@ -10983,8 +10165,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Routing\Redirector::hasMacro($name); } @@ -10993,26 +10174,22 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Routing\Redirector::flushMacros(); } - - } + } /** * * * @see \Illuminate\Http\Request - */ - class Request { + */ class Request { /** * Create a new Illuminate HTTP request from server variables. * * @return static * @static - */ - public static function capture() + */ public static function capture() { return \Illuminate\Http\Request::capture(); } @@ -11021,8 +10198,7 @@ public static function capture() * * @return \Illuminate\Http\Request * @static - */ - public static function instance() + */ public static function instance() { /** @var \Illuminate\Http\Request $instance */ return $instance->instance(); @@ -11032,8 +10208,7 @@ public static function instance() * * @return string * @static - */ - public static function method() + */ public static function method() { /** @var \Illuminate\Http\Request $instance */ return $instance->method(); @@ -11043,8 +10218,7 @@ public static function method() * * @return string * @static - */ - public static function root() + */ public static function root() { /** @var \Illuminate\Http\Request $instance */ return $instance->root(); @@ -11054,8 +10228,7 @@ public static function root() * * @return string * @static - */ - public static function url() + */ public static function url() { /** @var \Illuminate\Http\Request $instance */ return $instance->url(); @@ -11065,8 +10238,7 @@ public static function url() * * @return string * @static - */ - public static function fullUrl() + */ public static function fullUrl() { /** @var \Illuminate\Http\Request $instance */ return $instance->fullUrl(); @@ -11077,8 +10249,7 @@ public static function fullUrl() * @param array $query * @return string * @static - */ - public static function fullUrlWithQuery($query) + */ public static function fullUrlWithQuery($query) { /** @var \Illuminate\Http\Request $instance */ return $instance->fullUrlWithQuery($query); @@ -11089,8 +10260,7 @@ public static function fullUrlWithQuery($query) * @param array|string $keys * @return string * @static - */ - public static function fullUrlWithoutQuery($keys) + */ public static function fullUrlWithoutQuery($keys) { /** @var \Illuminate\Http\Request $instance */ return $instance->fullUrlWithoutQuery($keys); @@ -11100,8 +10270,7 @@ public static function fullUrlWithoutQuery($keys) * * @return string * @static - */ - public static function path() + */ public static function path() { /** @var \Illuminate\Http\Request $instance */ return $instance->path(); @@ -11111,8 +10280,7 @@ public static function path() * * @return string * @static - */ - public static function decodedPath() + */ public static function decodedPath() { /** @var \Illuminate\Http\Request $instance */ return $instance->decodedPath(); @@ -11124,8 +10292,7 @@ public static function decodedPath() * @param string|null $default * @return string|null * @static - */ - public static function segment($index, $default = null) + */ public static function segment($index, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->segment($index, $default); @@ -11135,8 +10302,7 @@ public static function segment($index, $default = null) * * @return array * @static - */ - public static function segments() + */ public static function segments() { /** @var \Illuminate\Http\Request $instance */ return $instance->segments(); @@ -11147,8 +10313,7 @@ public static function segments() * @param mixed $patterns * @return bool * @static - */ - public static function is(...$patterns) + */ public static function is(...$patterns) { /** @var \Illuminate\Http\Request $instance */ return $instance->is(...$patterns); @@ -11159,8 +10324,7 @@ public static function is(...$patterns) * @param mixed $patterns * @return bool * @static - */ - public static function routeIs(...$patterns) + */ public static function routeIs(...$patterns) { /** @var \Illuminate\Http\Request $instance */ return $instance->routeIs(...$patterns); @@ -11171,8 +10335,7 @@ public static function routeIs(...$patterns) * @param mixed $patterns * @return bool * @static - */ - public static function fullUrlIs(...$patterns) + */ public static function fullUrlIs(...$patterns) { /** @var \Illuminate\Http\Request $instance */ return $instance->fullUrlIs(...$patterns); @@ -11182,8 +10345,7 @@ public static function fullUrlIs(...$patterns) * * @return string * @static - */ - public static function host() + */ public static function host() { /** @var \Illuminate\Http\Request $instance */ return $instance->host(); @@ -11193,8 +10355,7 @@ public static function host() * * @return string * @static - */ - public static function httpHost() + */ public static function httpHost() { /** @var \Illuminate\Http\Request $instance */ return $instance->httpHost(); @@ -11204,8 +10365,7 @@ public static function httpHost() * * @return string * @static - */ - public static function schemeAndHttpHost() + */ public static function schemeAndHttpHost() { /** @var \Illuminate\Http\Request $instance */ return $instance->schemeAndHttpHost(); @@ -11215,8 +10375,7 @@ public static function schemeAndHttpHost() * * @return bool * @static - */ - public static function ajax() + */ public static function ajax() { /** @var \Illuminate\Http\Request $instance */ return $instance->ajax(); @@ -11226,8 +10385,7 @@ public static function ajax() * * @return bool * @static - */ - public static function pjax() + */ public static function pjax() { /** @var \Illuminate\Http\Request $instance */ return $instance->pjax(); @@ -11237,8 +10395,7 @@ public static function pjax() * * @return bool * @static - */ - public static function prefetch() + */ public static function prefetch() { /** @var \Illuminate\Http\Request $instance */ return $instance->prefetch(); @@ -11248,8 +10405,7 @@ public static function prefetch() * * @return bool * @static - */ - public static function secure() + */ public static function secure() { /** @var \Illuminate\Http\Request $instance */ return $instance->secure(); @@ -11259,8 +10415,7 @@ public static function secure() * * @return string|null * @static - */ - public static function ip() + */ public static function ip() { /** @var \Illuminate\Http\Request $instance */ return $instance->ip(); @@ -11270,8 +10425,7 @@ public static function ip() * * @return array * @static - */ - public static function ips() + */ public static function ips() { /** @var \Illuminate\Http\Request $instance */ return $instance->ips(); @@ -11281,8 +10435,7 @@ public static function ips() * * @return string|null * @static - */ - public static function userAgent() + */ public static function userAgent() { /** @var \Illuminate\Http\Request $instance */ return $instance->userAgent(); @@ -11293,8 +10446,7 @@ public static function userAgent() * @param array $input * @return \Illuminate\Http\Request * @static - */ - public static function merge($input) + */ public static function merge($input) { /** @var \Illuminate\Http\Request $instance */ return $instance->merge($input); @@ -11305,8 +10457,7 @@ public static function merge($input) * @param array $input * @return \Illuminate\Http\Request * @static - */ - public static function mergeIfMissing($input) + */ public static function mergeIfMissing($input) { /** @var \Illuminate\Http\Request $instance */ return $instance->mergeIfMissing($input); @@ -11317,8 +10468,7 @@ public static function mergeIfMissing($input) * @param array $input * @return \Illuminate\Http\Request * @static - */ - public static function replace($input) + */ public static function replace($input) { /** @var \Illuminate\Http\Request $instance */ return $instance->replace($input); @@ -11332,8 +10482,7 @@ public static function replace($input) * @param mixed $default * @return mixed * @static - */ - public static function get($key, $default = null) + */ public static function get($key, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->get($key, $default); @@ -11345,8 +10494,7 @@ public static function get($key, $default = null) * @param mixed $default * @return \Symfony\Component\HttpFoundation\InputBag|mixed * @static - */ - public static function json($key = null, $default = null) + */ public static function json($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->json($key, $default); @@ -11358,8 +10506,7 @@ public static function json($key = null, $default = null) * @param \Illuminate\Http\Request|null $to * @return static * @static - */ - public static function createFrom($from, $to = null) + */ public static function createFrom($from, $to = null) { return \Illuminate\Http\Request::createFrom($from, $to); } @@ -11369,8 +10516,7 @@ public static function createFrom($from, $to = null) * @param \Symfony\Component\HttpFoundation\Request $request * @return static * @static - */ - public static function createFromBase($request) + */ public static function createFromBase($request) { return \Illuminate\Http\Request::createFromBase($request); } @@ -11385,8 +10531,7 @@ public static function createFromBase($request) * @param array|null $files The FILES parameters * @param array|null $server The SERVER parameters * @static - */ - public static function duplicate($query = null, $request = null, $attributes = null, $cookies = null, $files = null, $server = null) + */ public static function duplicate($query = null, $request = null, $attributes = null, $cookies = null, $files = null, $server = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->duplicate($query, $request, $attributes, $cookies, $files, $server); @@ -11400,8 +10545,7 @@ public static function duplicate($query = null, $request = null, $attributes = n * * @param bool $skipIfUninitialized When true, ignores factories injected by `setSessionFactory` * @static - */ - public static function hasSession($skipIfUninitialized = false) + */ public static function hasSession($skipIfUninitialized = false) { /** @var \Illuminate\Http\Request $instance */ return $instance->hasSession($skipIfUninitialized); @@ -11411,8 +10555,7 @@ public static function hasSession($skipIfUninitialized = false) * * @throws SessionNotFoundException When session is not set properly * @static - */ - public static function getSession() + */ public static function getSession() { /** @var \Illuminate\Http\Request $instance */ return $instance->getSession(); @@ -11423,8 +10566,7 @@ public static function getSession() * @return \Illuminate\Contracts\Session\Session * @throws \RuntimeException * @static - */ - public static function session() + */ public static function session() { /** @var \Illuminate\Http\Request $instance */ return $instance->session(); @@ -11435,8 +10577,7 @@ public static function session() * @param \Illuminate\Contracts\Session\Session $session * @return void * @static - */ - public static function setLaravelSession($session) + */ public static function setLaravelSession($session) { /** @var \Illuminate\Http\Request $instance */ $instance->setLaravelSession($session); @@ -11447,8 +10588,7 @@ public static function setLaravelSession($session) * @param string $locale * @return void * @static - */ - public static function setRequestLocale($locale) + */ public static function setRequestLocale($locale) { /** @var \Illuminate\Http\Request $instance */ $instance->setRequestLocale($locale); @@ -11459,8 +10599,7 @@ public static function setRequestLocale($locale) * @param string $locale * @return void * @static - */ - public static function setDefaultRequestLocale($locale) + */ public static function setDefaultRequestLocale($locale) { /** @var \Illuminate\Http\Request $instance */ $instance->setDefaultRequestLocale($locale); @@ -11471,8 +10610,7 @@ public static function setDefaultRequestLocale($locale) * @param string|null $guard * @return mixed * @static - */ - public static function user($guard = null) + */ public static function user($guard = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->user($guard); @@ -11484,8 +10622,7 @@ public static function user($guard = null) * @param mixed $default * @return \Illuminate\Routing\Route|object|string|null * @static - */ - public static function route($param = null, $default = null) + */ public static function route($param = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->route($param, $default); @@ -11496,8 +10633,7 @@ public static function route($param = null, $default = null) * @return string * @throws \RuntimeException * @static - */ - public static function fingerprint() + */ public static function fingerprint() { /** @var \Illuminate\Http\Request $instance */ return $instance->fingerprint(); @@ -11508,8 +10644,7 @@ public static function fingerprint() * @param \Symfony\Component\HttpFoundation\InputBag $json * @return \Illuminate\Http\Request * @static - */ - public static function setJson($json) + */ public static function setJson($json) { /** @var \Illuminate\Http\Request $instance */ return $instance->setJson($json); @@ -11519,8 +10654,7 @@ public static function setJson($json) * * @return \Closure * @static - */ - public static function getUserResolver() + */ public static function getUserResolver() { /** @var \Illuminate\Http\Request $instance */ return $instance->getUserResolver(); @@ -11531,8 +10665,7 @@ public static function getUserResolver() * @param \Closure $callback * @return \Illuminate\Http\Request * @static - */ - public static function setUserResolver($callback) + */ public static function setUserResolver($callback) { /** @var \Illuminate\Http\Request $instance */ return $instance->setUserResolver($callback); @@ -11542,8 +10675,7 @@ public static function setUserResolver($callback) * * @return \Closure * @static - */ - public static function getRouteResolver() + */ public static function getRouteResolver() { /** @var \Illuminate\Http\Request $instance */ return $instance->getRouteResolver(); @@ -11554,8 +10686,7 @@ public static function getRouteResolver() * @param \Closure $callback * @return \Illuminate\Http\Request * @static - */ - public static function setRouteResolver($callback) + */ public static function setRouteResolver($callback) { /** @var \Illuminate\Http\Request $instance */ return $instance->setRouteResolver($callback); @@ -11565,8 +10696,7 @@ public static function setRouteResolver($callback) * * @return array * @static - */ - public static function toArray() + */ public static function toArray() { /** @var \Illuminate\Http\Request $instance */ return $instance->toArray(); @@ -11577,8 +10707,7 @@ public static function toArray() * @param string $offset * @return bool * @static - */ - public static function offsetExists($offset) + */ public static function offsetExists($offset) { /** @var \Illuminate\Http\Request $instance */ return $instance->offsetExists($offset); @@ -11589,8 +10718,7 @@ public static function offsetExists($offset) * @param string $offset * @return mixed * @static - */ - public static function offsetGet($offset) + */ public static function offsetGet($offset) { /** @var \Illuminate\Http\Request $instance */ return $instance->offsetGet($offset); @@ -11602,8 +10730,7 @@ public static function offsetGet($offset) * @param mixed $value * @return void * @static - */ - public static function offsetSet($offset, $value) + */ public static function offsetSet($offset, $value) { /** @var \Illuminate\Http\Request $instance */ $instance->offsetSet($offset, $value); @@ -11614,8 +10741,7 @@ public static function offsetSet($offset, $value) * @param string $offset * @return void * @static - */ - public static function offsetUnset($offset) + */ public static function offsetUnset($offset) { /** @var \Illuminate\Http\Request $instance */ $instance->offsetUnset($offset); @@ -11634,8 +10760,7 @@ public static function offsetUnset($offset) * @param string|resource|null $content The raw body data * @return void * @static - */ - public static function initialize($query = [], $request = [], $attributes = [], $cookies = [], $files = [], $server = [], $content = null) + */ public static function initialize($query = [], $request = [], $attributes = [], $cookies = [], $files = [], $server = [], $content = null) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->initialize($query, $request, $attributes, $cookies, $files, $server, $content); @@ -11644,8 +10769,7 @@ public static function initialize($query = [], $request = [], $attributes = [], * Creates a new request with values from PHP's super globals. * * @static - */ - public static function createFromGlobals() + */ public static function createFromGlobals() { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::createFromGlobals(); } @@ -11663,8 +10787,7 @@ public static function createFromGlobals() * @param array $server The server parameters ($_SERVER) * @param string|resource|null $content The raw body data * @static - */ - public static function create($uri, $method = 'GET', $parameters = [], $cookies = [], $files = [], $server = [], $content = null) + */ public static function create($uri, $method = 'GET', $parameters = [], $cookies = [], $files = [], $server = [], $content = null) { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::create($uri, $method, $parameters, $cookies, $files, $server, $content); } @@ -11677,8 +10800,7 @@ public static function create($uri, $method = 'GET', $parameters = [], $cookies * * @return void * @static - */ - public static function setFactory($callable) + */ public static function setFactory($callable) { //Method inherited from \Symfony\Component\HttpFoundation\Request \Illuminate\Http\Request::setFactory($callable); } @@ -11690,8 +10812,7 @@ public static function setFactory($callable) * * @return void * @static - */ - public static function overrideGlobals() + */ public static function overrideGlobals() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->overrideGlobals(); @@ -11705,8 +10826,7 @@ public static function overrideGlobals() * @param int $trustedHeaderSet A bit field of Request::HEADER_*, to set which headers to trust from your proxies * @return void * @static - */ - public static function setTrustedProxies($proxies, $trustedHeaderSet) + */ public static function setTrustedProxies($proxies, $trustedHeaderSet) { //Method inherited from \Symfony\Component\HttpFoundation\Request \Illuminate\Http\Request::setTrustedProxies($proxies, $trustedHeaderSet); } @@ -11715,8 +10835,7 @@ public static function setTrustedProxies($proxies, $trustedHeaderSet) * * @return string[] * @static - */ - public static function getTrustedProxies() + */ public static function getTrustedProxies() { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::getTrustedProxies(); } @@ -11725,8 +10844,7 @@ public static function getTrustedProxies() * * @return int A bit field of Request::HEADER_* that defines which headers are trusted from your proxies * @static - */ - public static function getTrustedHeaderSet() + */ public static function getTrustedHeaderSet() { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::getTrustedHeaderSet(); } @@ -11738,8 +10856,7 @@ public static function getTrustedHeaderSet() * @param array $hostPatterns A list of trusted host patterns * @return void * @static - */ - public static function setTrustedHosts($hostPatterns) + */ public static function setTrustedHosts($hostPatterns) { //Method inherited from \Symfony\Component\HttpFoundation\Request \Illuminate\Http\Request::setTrustedHosts($hostPatterns); } @@ -11748,8 +10865,7 @@ public static function setTrustedHosts($hostPatterns) * * @return string[] * @static - */ - public static function getTrustedHosts() + */ public static function getTrustedHosts() { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::getTrustedHosts(); } @@ -11760,8 +10876,7 @@ public static function getTrustedHosts() * have consistent escaping and unneeded delimiters are removed. * * @static - */ - public static function normalizeQueryString($qs) + */ public static function normalizeQueryString($qs) { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::normalizeQueryString($qs); } @@ -11778,8 +10893,7 @@ public static function normalizeQueryString($qs) * * @return void * @static - */ - public static function enableHttpMethodParameterOverride() + */ public static function enableHttpMethodParameterOverride() { //Method inherited from \Symfony\Component\HttpFoundation\Request \Illuminate\Http\Request::enableHttpMethodParameterOverride(); } @@ -11787,8 +10901,7 @@ public static function enableHttpMethodParameterOverride() * Checks whether support for the _method request parameter is enabled. * * @static - */ - public static function getHttpMethodParameterOverride() + */ public static function getHttpMethodParameterOverride() { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::getHttpMethodParameterOverride(); } @@ -11797,8 +10910,7 @@ public static function getHttpMethodParameterOverride() * previous requests. * * @static - */ - public static function hasPreviousSession() + */ public static function hasPreviousSession() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->hasPreviousSession(); @@ -11808,8 +10920,7 @@ public static function hasPreviousSession() * * @return void * @static - */ - public static function setSession($session) + */ public static function setSession($session) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->setSession($session); @@ -11820,8 +10931,7 @@ public static function setSession($session) * @internal * @param \Symfony\Component\HttpFoundation\callable(): SessionInterface $factory * @static - */ - public static function setSessionFactory($factory) + */ public static function setSessionFactory($factory) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->setSessionFactory($factory); @@ -11837,8 +10947,7 @@ public static function setSessionFactory($factory) * * @see getClientIp() * @static - */ - public static function getClientIps() + */ public static function getClientIps() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getClientIps(); @@ -11859,8 +10968,7 @@ public static function getClientIps() * @see getClientIps() * @see https://wikipedia.org/wiki/X-Forwarded-For * @static - */ - public static function getClientIp() + */ public static function getClientIp() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getClientIp(); @@ -11869,8 +10977,7 @@ public static function getClientIp() * Returns current script name. * * @static - */ - public static function getScriptName() + */ public static function getScriptName() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getScriptName(); @@ -11889,8 +10996,7 @@ public static function getScriptName() * * @return string The raw path (i.e. not urldecoded) * @static - */ - public static function getPathInfo() + */ public static function getPathInfo() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getPathInfo(); @@ -11907,8 +11013,7 @@ public static function getPathInfo() * * @return string The raw path (i.e. not urldecoded) * @static - */ - public static function getBasePath() + */ public static function getBasePath() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getBasePath(); @@ -11923,8 +11028,7 @@ public static function getBasePath() * * @return string The raw URL (i.e. not urldecoded) * @static - */ - public static function getBaseUrl() + */ public static function getBaseUrl() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getBaseUrl(); @@ -11933,8 +11037,7 @@ public static function getBaseUrl() * Gets the request's scheme. * * @static - */ - public static function getScheme() + */ public static function getScheme() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getScheme(); @@ -11949,8 +11052,7 @@ public static function getScheme() * * @return int|string|null Can be a string if fetched from the server bag * @static - */ - public static function getPort() + */ public static function getPort() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getPort(); @@ -11959,8 +11061,7 @@ public static function getPort() * Returns the user. * * @static - */ - public static function getUser() + */ public static function getUser() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getUser(); @@ -11969,8 +11070,7 @@ public static function getUser() * Returns the password. * * @static - */ - public static function getPassword() + */ public static function getPassword() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getPassword(); @@ -11980,8 +11080,7 @@ public static function getPassword() * * @return string|null A user name if any and, optionally, scheme-specific information about how to gain authorization to access the server * @static - */ - public static function getUserInfo() + */ public static function getUserInfo() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getUserInfo(); @@ -11992,8 +11091,7 @@ public static function getUserInfo() * The port name will be appended to the host if it's non-standard. * * @static - */ - public static function getHttpHost() + */ public static function getHttpHost() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getHttpHost(); @@ -12003,8 +11101,7 @@ public static function getHttpHost() * * @return string The raw URI (i.e. not URI decoded) * @static - */ - public static function getRequestUri() + */ public static function getRequestUri() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getRequestUri(); @@ -12016,8 +11113,7 @@ public static function getRequestUri() * and the password are not added to the generated string. * * @static - */ - public static function getSchemeAndHttpHost() + */ public static function getSchemeAndHttpHost() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getSchemeAndHttpHost(); @@ -12027,8 +11123,7 @@ public static function getSchemeAndHttpHost() * * @see getQueryString() * @static - */ - public static function getUri() + */ public static function getUri() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getUri(); @@ -12038,8 +11133,7 @@ public static function getUri() * * @param string $path A path to use instead of the current one * @static - */ - public static function getUriForPath($path) + */ public static function getUriForPath($path) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getUriForPath($path); @@ -12060,8 +11154,7 @@ public static function getUriForPath($path) * - "/a/x/y" -> "../../x/y" * * @static - */ - public static function getRelativeUriForPath($path) + */ public static function getRelativeUriForPath($path) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getRelativeUriForPath($path); @@ -12073,8 +11166,7 @@ public static function getRelativeUriForPath($path) * and have consistent escaping. * * @static - */ - public static function getQueryString() + */ public static function getQueryString() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getQueryString(); @@ -12088,8 +11180,7 @@ public static function getQueryString() * The "X-Forwarded-Proto" header must contain the protocol: "https" or "http". * * @static - */ - public static function isSecure() + */ public static function isSecure() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isSecure(); @@ -12104,8 +11195,7 @@ public static function isSecure() * * @throws SuspiciousOperationException when the host name is invalid or not trusted * @static - */ - public static function getHost() + */ public static function getHost() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getHost(); @@ -12115,8 +11205,7 @@ public static function getHost() * * @return void * @static - */ - public static function setMethod($method) + */ public static function setMethod($method) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->setMethod($method); @@ -12134,8 +11223,7 @@ public static function setMethod($method) * * @see getRealMethod() * @static - */ - public static function getMethod() + */ public static function getMethod() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getMethod(); @@ -12145,8 +11233,7 @@ public static function getMethod() * * @see getMethod() * @static - */ - public static function getRealMethod() + */ public static function getRealMethod() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getRealMethod(); @@ -12155,8 +11242,7 @@ public static function getRealMethod() * Gets the mime type associated with the format. * * @static - */ - public static function getMimeType($format) + */ public static function getMimeType($format) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getMimeType($format); @@ -12166,8 +11252,7 @@ public static function getMimeType($format) * * @return string[] * @static - */ - public static function getMimeTypes($format) + */ public static function getMimeTypes($format) { //Method inherited from \Symfony\Component\HttpFoundation\Request return \Illuminate\Http\Request::getMimeTypes($format); } @@ -12175,8 +11260,7 @@ public static function getMimeTypes($format) * Gets the format associated with the mime type. * * @static - */ - public static function getFormat($mimeType) + */ public static function getFormat($mimeType) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getFormat($mimeType); @@ -12187,8 +11271,7 @@ public static function getFormat($mimeType) * @param string|string[] $mimeTypes The associated mime types (the preferred one must be the first as it will be used as the content type) * @return void * @static - */ - public static function setFormat($format, $mimeTypes) + */ public static function setFormat($format, $mimeTypes) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->setFormat($format, $mimeTypes); @@ -12204,8 +11287,7 @@ public static function setFormat($format, $mimeTypes) * * @see getPreferredFormat * @static - */ - public static function getRequestFormat($default = 'html') + */ public static function getRequestFormat($default = 'html') { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getRequestFormat($default); @@ -12215,8 +11297,7 @@ public static function getRequestFormat($default = 'html') * * @return void * @static - */ - public static function setRequestFormat($format) + */ public static function setRequestFormat($format) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->setRequestFormat($format); @@ -12226,8 +11307,7 @@ public static function setRequestFormat($format) * * @deprecated since Symfony 6.2, use getContentTypeFormat() instead * @static - */ - public static function getContentType() + */ public static function getContentType() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getContentType(); @@ -12237,8 +11317,7 @@ public static function getContentType() * * @see Request::$formats * @static - */ - public static function getContentTypeFormat() + */ public static function getContentTypeFormat() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getContentTypeFormat(); @@ -12248,8 +11327,7 @@ public static function getContentTypeFormat() * * @return void * @static - */ - public static function setDefaultLocale($locale) + */ public static function setDefaultLocale($locale) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->setDefaultLocale($locale); @@ -12258,8 +11336,7 @@ public static function setDefaultLocale($locale) * Get the default locale. * * @static - */ - public static function getDefaultLocale() + */ public static function getDefaultLocale() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getDefaultLocale(); @@ -12269,8 +11346,7 @@ public static function getDefaultLocale() * * @return void * @static - */ - public static function setLocale($locale) + */ public static function setLocale($locale) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ $instance->setLocale($locale); @@ -12279,8 +11355,7 @@ public static function setLocale($locale) * Get the locale. * * @static - */ - public static function getLocale() + */ public static function getLocale() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getLocale(); @@ -12290,8 +11365,7 @@ public static function getLocale() * * @param string $method Uppercase request method (GET, POST etc) * @static - */ - public static function isMethod($method) + */ public static function isMethod($method) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isMethod($method); @@ -12301,8 +11375,7 @@ public static function isMethod($method) * * @see https://tools.ietf.org/html/rfc7231#section-4.2.1 * @static - */ - public static function isMethodSafe() + */ public static function isMethodSafe() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isMethodSafe(); @@ -12311,8 +11384,7 @@ public static function isMethodSafe() * Checks whether or not the method is idempotent. * * @static - */ - public static function isMethodIdempotent() + */ public static function isMethodIdempotent() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isMethodIdempotent(); @@ -12322,8 +11394,7 @@ public static function isMethodIdempotent() * * @see https://tools.ietf.org/html/rfc7231#section-4.2.3 * @static - */ - public static function isMethodCacheable() + */ public static function isMethodCacheable() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isMethodCacheable(); @@ -12338,8 +11409,7 @@ public static function isMethodCacheable() * the latter (from the "SERVER_PROTOCOL" server parameter). * * @static - */ - public static function getProtocolVersion() + */ public static function getProtocolVersion() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getProtocolVersion(); @@ -12351,8 +11421,7 @@ public static function getProtocolVersion() * @return string|resource * @psalm-return ($asResource is true ? resource : string) * @static - */ - public static function getContent($asResource = false) + */ public static function getContent($asResource = false) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getContent($asResource); @@ -12362,8 +11431,7 @@ public static function getContent($asResource = false) * * @throws JsonException When the body cannot be decoded to an array * @static - */ - public static function getPayload() + */ public static function getPayload() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getPayload(); @@ -12372,8 +11440,7 @@ public static function getPayload() * Gets the Etags. * * @static - */ - public static function getETags() + */ public static function getETags() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getETags(); @@ -12382,8 +11449,7 @@ public static function getETags() * * * @static - */ - public static function isNoCache() + */ public static function isNoCache() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isNoCache(); @@ -12397,8 +11463,7 @@ public static function isNoCache() * in the response to prevent any issues with intermediary HTTP caches. * * @static - */ - public static function getPreferredFormat($default = 'html') + */ public static function getPreferredFormat($default = 'html') { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getPreferredFormat($default); @@ -12408,8 +11473,7 @@ public static function getPreferredFormat($default = 'html') * * @param string[] $locales An array of ordered available locales * @static - */ - public static function getPreferredLanguage($locales = null) + */ public static function getPreferredLanguage($locales = null) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getPreferredLanguage($locales); @@ -12419,8 +11483,7 @@ public static function getPreferredLanguage($locales = null) * * @return string[] * @static - */ - public static function getLanguages() + */ public static function getLanguages() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getLanguages(); @@ -12430,8 +11493,7 @@ public static function getLanguages() * * @return string[] * @static - */ - public static function getCharsets() + */ public static function getCharsets() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getCharsets(); @@ -12441,8 +11503,7 @@ public static function getCharsets() * * @return string[] * @static - */ - public static function getEncodings() + */ public static function getEncodings() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getEncodings(); @@ -12452,8 +11513,7 @@ public static function getEncodings() * * @return string[] * @static - */ - public static function getAcceptableContentTypes() + */ public static function getAcceptableContentTypes() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->getAcceptableContentTypes(); @@ -12466,8 +11526,7 @@ public static function getAcceptableContentTypes() * * @see https://wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript * @static - */ - public static function isXmlHttpRequest() + */ public static function isXmlHttpRequest() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isXmlHttpRequest(); @@ -12477,8 +11536,7 @@ public static function isXmlHttpRequest() * * @see https://tools.ietf.org/html/rfc8674 * @static - */ - public static function preferSafeContent() + */ public static function preferSafeContent() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->preferSafeContent(); @@ -12490,8 +11548,7 @@ public static function preferSafeContent() * contents of a proxy-specific header. * * @static - */ - public static function isFromTrustedProxy() + */ public static function isFromTrustedProxy() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ return $instance->isFromTrustedProxy(); @@ -12502,8 +11559,7 @@ public static function isFromTrustedProxy() * @param array $rules * @return array * @static - */ - public static function filterPrecognitiveRules($rules) + */ public static function filterPrecognitiveRules($rules) { /** @var \Illuminate\Http\Request $instance */ return $instance->filterPrecognitiveRules($rules); @@ -12513,8 +11569,7 @@ public static function filterPrecognitiveRules($rules) * * @return bool * @static - */ - public static function isAttemptingPrecognition() + */ public static function isAttemptingPrecognition() { /** @var \Illuminate\Http\Request $instance */ return $instance->isAttemptingPrecognition(); @@ -12524,8 +11579,7 @@ public static function isAttemptingPrecognition() * * @return bool * @static - */ - public static function isPrecognitive() + */ public static function isPrecognitive() { /** @var \Illuminate\Http\Request $instance */ return $instance->isPrecognitive(); @@ -12535,8 +11589,7 @@ public static function isPrecognitive() * * @return bool * @static - */ - public static function isJson() + */ public static function isJson() { /** @var \Illuminate\Http\Request $instance */ return $instance->isJson(); @@ -12546,8 +11599,7 @@ public static function isJson() * * @return bool * @static - */ - public static function expectsJson() + */ public static function expectsJson() { /** @var \Illuminate\Http\Request $instance */ return $instance->expectsJson(); @@ -12557,8 +11609,7 @@ public static function expectsJson() * * @return bool * @static - */ - public static function wantsJson() + */ public static function wantsJson() { /** @var \Illuminate\Http\Request $instance */ return $instance->wantsJson(); @@ -12569,8 +11620,7 @@ public static function wantsJson() * @param string|array $contentTypes * @return bool * @static - */ - public static function accepts($contentTypes) + */ public static function accepts($contentTypes) { /** @var \Illuminate\Http\Request $instance */ return $instance->accepts($contentTypes); @@ -12581,8 +11631,7 @@ public static function accepts($contentTypes) * @param string|array $contentTypes * @return string|null * @static - */ - public static function prefers($contentTypes) + */ public static function prefers($contentTypes) { /** @var \Illuminate\Http\Request $instance */ return $instance->prefers($contentTypes); @@ -12592,8 +11641,7 @@ public static function prefers($contentTypes) * * @return bool * @static - */ - public static function acceptsAnyContentType() + */ public static function acceptsAnyContentType() { /** @var \Illuminate\Http\Request $instance */ return $instance->acceptsAnyContentType(); @@ -12603,8 +11651,7 @@ public static function acceptsAnyContentType() * * @return bool * @static - */ - public static function acceptsJson() + */ public static function acceptsJson() { /** @var \Illuminate\Http\Request $instance */ return $instance->acceptsJson(); @@ -12614,8 +11661,7 @@ public static function acceptsJson() * * @return bool * @static - */ - public static function acceptsHtml() + */ public static function acceptsHtml() { /** @var \Illuminate\Http\Request $instance */ return $instance->acceptsHtml(); @@ -12627,8 +11673,7 @@ public static function acceptsHtml() * @param string $type * @return bool * @static - */ - public static function matchesType($actual, $type) + */ public static function matchesType($actual, $type) { return \Illuminate\Http\Request::matchesType($actual, $type); } @@ -12638,8 +11683,7 @@ public static function matchesType($actual, $type) * @param string $default * @return string * @static - */ - public static function format($default = 'html') + */ public static function format($default = 'html') { /** @var \Illuminate\Http\Request $instance */ return $instance->format($default); @@ -12651,8 +11695,7 @@ public static function format($default = 'html') * @param \Illuminate\Database\Eloquent\Model|string|array|null $default * @return string|array|null * @static - */ - public static function old($key = null, $default = null) + */ public static function old($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->old($key, $default); @@ -12662,8 +11705,7 @@ public static function old($key = null, $default = null) * * @return void * @static - */ - public static function flash() + */ public static function flash() { /** @var \Illuminate\Http\Request $instance */ $instance->flash(); @@ -12674,8 +11716,7 @@ public static function flash() * @param array|mixed $keys * @return void * @static - */ - public static function flashOnly($keys) + */ public static function flashOnly($keys) { /** @var \Illuminate\Http\Request $instance */ $instance->flashOnly($keys); @@ -12686,8 +11727,7 @@ public static function flashOnly($keys) * @param array|mixed $keys * @return void * @static - */ - public static function flashExcept($keys) + */ public static function flashExcept($keys) { /** @var \Illuminate\Http\Request $instance */ $instance->flashExcept($keys); @@ -12697,8 +11737,7 @@ public static function flashExcept($keys) * * @return void * @static - */ - public static function flush() + */ public static function flush() { /** @var \Illuminate\Http\Request $instance */ $instance->flush(); @@ -12710,8 +11749,7 @@ public static function flush() * @param string|array|null $default * @return string|array|null * @static - */ - public static function server($key = null, $default = null) + */ public static function server($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->server($key, $default); @@ -12722,8 +11760,7 @@ public static function server($key = null, $default = null) * @param string $key * @return bool * @static - */ - public static function hasHeader($key) + */ public static function hasHeader($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->hasHeader($key); @@ -12735,8 +11772,7 @@ public static function hasHeader($key) * @param string|array|null $default * @return string|array|null * @static - */ - public static function header($key = null, $default = null) + */ public static function header($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->header($key, $default); @@ -12746,8 +11782,7 @@ public static function header($key = null, $default = null) * * @return string|null * @static - */ - public static function bearerToken() + */ public static function bearerToken() { /** @var \Illuminate\Http\Request $instance */ return $instance->bearerToken(); @@ -12758,8 +11793,7 @@ public static function bearerToken() * @param string|array $key * @return bool * @static - */ - public static function exists($key) + */ public static function exists($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->exists($key); @@ -12770,8 +11804,7 @@ public static function exists($key) * @param string|array $key * @return bool * @static - */ - public static function has($key) + */ public static function has($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->has($key); @@ -12782,8 +11815,7 @@ public static function has($key) * @param string|array $keys * @return bool * @static - */ - public static function hasAny($keys) + */ public static function hasAny($keys) { /** @var \Illuminate\Http\Request $instance */ return $instance->hasAny($keys); @@ -12796,8 +11828,7 @@ public static function hasAny($keys) * @param callable|null $default * @return $this|mixed * @static - */ - public static function whenHas($key, $callback, $default = null) + */ public static function whenHas($key, $callback, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->whenHas($key, $callback, $default); @@ -12808,8 +11839,7 @@ public static function whenHas($key, $callback, $default = null) * @param string|array $key * @return bool * @static - */ - public static function filled($key) + */ public static function filled($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->filled($key); @@ -12820,8 +11850,7 @@ public static function filled($key) * @param string|array $key * @return bool * @static - */ - public static function isNotFilled($key) + */ public static function isNotFilled($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->isNotFilled($key); @@ -12832,8 +11861,7 @@ public static function isNotFilled($key) * @param string|array $keys * @return bool * @static - */ - public static function anyFilled($keys) + */ public static function anyFilled($keys) { /** @var \Illuminate\Http\Request $instance */ return $instance->anyFilled($keys); @@ -12846,8 +11874,7 @@ public static function anyFilled($keys) * @param callable|null $default * @return $this|mixed * @static - */ - public static function whenFilled($key, $callback, $default = null) + */ public static function whenFilled($key, $callback, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->whenFilled($key, $callback, $default); @@ -12858,8 +11885,7 @@ public static function whenFilled($key, $callback, $default = null) * @param string|array $key * @return bool * @static - */ - public static function missing($key) + */ public static function missing($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->missing($key); @@ -12872,8 +11898,7 @@ public static function missing($key) * @param callable|null $default * @return $this|mixed * @static - */ - public static function whenMissing($key, $callback, $default = null) + */ public static function whenMissing($key, $callback, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->whenMissing($key, $callback, $default); @@ -12883,8 +11908,7 @@ public static function whenMissing($key, $callback, $default = null) * * @return array * @static - */ - public static function keys() + */ public static function keys() { /** @var \Illuminate\Http\Request $instance */ return $instance->keys(); @@ -12895,8 +11919,7 @@ public static function keys() * @param array|mixed|null $keys * @return array * @static - */ - public static function all($keys = null) + */ public static function all($keys = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->all($keys); @@ -12908,8 +11931,7 @@ public static function all($keys = null) * @param mixed $default * @return mixed * @static - */ - public static function input($key = null, $default = null) + */ public static function input($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->input($key, $default); @@ -12921,8 +11943,7 @@ public static function input($key = null, $default = null) * @param mixed $default * @return \Illuminate\Support\Stringable * @static - */ - public static function str($key, $default = null) + */ public static function str($key, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->str($key, $default); @@ -12934,8 +11955,7 @@ public static function str($key, $default = null) * @param mixed $default * @return \Illuminate\Support\Stringable * @static - */ - public static function string($key, $default = null) + */ public static function string($key, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->string($key, $default); @@ -12949,8 +11969,7 @@ public static function string($key, $default = null) * @param bool $default * @return bool * @static - */ - public static function boolean($key = null, $default = false) + */ public static function boolean($key = null, $default = false) { /** @var \Illuminate\Http\Request $instance */ return $instance->boolean($key, $default); @@ -12962,8 +11981,7 @@ public static function boolean($key = null, $default = false) * @param int $default * @return int * @static - */ - public static function integer($key, $default = 0) + */ public static function integer($key, $default = 0) { /** @var \Illuminate\Http\Request $instance */ return $instance->integer($key, $default); @@ -12975,8 +11993,7 @@ public static function integer($key, $default = 0) * @param float $default * @return float * @static - */ - public static function float($key, $default = 0.0) + */ public static function float($key, $default = 0.0) { /** @var \Illuminate\Http\Request $instance */ return $instance->float($key, $default); @@ -12990,8 +12007,7 @@ public static function float($key, $default = 0.0) * @return \Illuminate\Support\Carbon|null * @throws \Carbon\Exceptions\InvalidFormatException * @static - */ - public static function date($key, $format = null, $tz = null) + */ public static function date($key, $format = null, $tz = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->date($key, $format, $tz); @@ -13004,8 +12020,7 @@ public static function date($key, $format = null, $tz = null) * @param \Illuminate\Http\class-string $enumClass * @return \Illuminate\Http\TEnum|null * @static - */ - public static function enum($key, $enumClass) + */ public static function enum($key, $enumClass) { /** @var \Illuminate\Http\Request $instance */ return $instance->enum($key, $enumClass); @@ -13016,8 +12031,7 @@ public static function enum($key, $enumClass) * @param array|string|null $key * @return \Illuminate\Support\Collection * @static - */ - public static function collect($key = null) + */ public static function collect($key = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->collect($key); @@ -13028,8 +12042,7 @@ public static function collect($key = null) * @param array|mixed $keys * @return array * @static - */ - public static function only($keys) + */ public static function only($keys) { /** @var \Illuminate\Http\Request $instance */ return $instance->only($keys); @@ -13040,8 +12053,7 @@ public static function only($keys) * @param array|mixed $keys * @return array * @static - */ - public static function except($keys) + */ public static function except($keys) { /** @var \Illuminate\Http\Request $instance */ return $instance->except($keys); @@ -13053,8 +12065,7 @@ public static function except($keys) * @param string|array|null $default * @return string|array|null * @static - */ - public static function query($key = null, $default = null) + */ public static function query($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->query($key, $default); @@ -13066,8 +12077,7 @@ public static function query($key = null, $default = null) * @param string|array|null $default * @return string|array|null * @static - */ - public static function post($key = null, $default = null) + */ public static function post($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->post($key, $default); @@ -13078,8 +12088,7 @@ public static function post($key = null, $default = null) * @param string $key * @return bool * @static - */ - public static function hasCookie($key) + */ public static function hasCookie($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->hasCookie($key); @@ -13091,8 +12100,7 @@ public static function hasCookie($key) * @param string|array|null $default * @return string|array|null * @static - */ - public static function cookie($key = null, $default = null) + */ public static function cookie($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->cookie($key, $default); @@ -13102,8 +12110,7 @@ public static function cookie($key = null, $default = null) * * @return array * @static - */ - public static function allFiles() + */ public static function allFiles() { /** @var \Illuminate\Http\Request $instance */ return $instance->allFiles(); @@ -13114,8 +12121,7 @@ public static function allFiles() * @param string $key * @return bool * @static - */ - public static function hasFile($key) + */ public static function hasFile($key) { /** @var \Illuminate\Http\Request $instance */ return $instance->hasFile($key); @@ -13127,8 +12133,7 @@ public static function hasFile($key) * @param mixed $default * @return \Illuminate\Http\UploadedFile|\Illuminate\Http\UploadedFile[]|array|null * @static - */ - public static function file($key = null, $default = null) + */ public static function file($key = null, $default = null) { /** @var \Illuminate\Http\Request $instance */ return $instance->file($key, $default); @@ -13139,8 +12144,7 @@ public static function file($key = null, $default = null) * @param mixed $keys * @return \Illuminate\Http\never * @static - */ - public static function dd(...$keys) + */ public static function dd(...$keys) { /** @var \Illuminate\Http\Request $instance */ return $instance->dd(...$keys); @@ -13151,8 +12155,7 @@ public static function dd(...$keys) * @param mixed $keys * @return \Illuminate\Http\Request * @static - */ - public static function dump($keys = []) + */ public static function dump($keys = []) { /** @var \Illuminate\Http\Request $instance */ return $instance->dump($keys); @@ -13164,8 +12167,7 @@ public static function dump($keys = []) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Http\Request::macro($name, $macro); } @@ -13177,8 +12179,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Http\Request::mixin($mixin, $replace); } @@ -13188,8 +12189,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Http\Request::hasMacro($name); } @@ -13198,8 +12198,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Http\Request::flushMacros(); } @@ -13210,8 +12209,7 @@ public static function flushMacros() * @param array $rules * @param mixed $params * @static - */ - public static function validate($rules, ...$params) + */ public static function validate($rules, ...$params) { return \Illuminate\Http\Request::validate($rules, ...$params); } @@ -13223,8 +12221,7 @@ public static function validate($rules, ...$params) * @param array $rules * @param mixed $params * @static - */ - public static function validateWithBag($errorBag, $rules, ...$params) + */ public static function validateWithBag($errorBag, $rules, ...$params) { return \Illuminate\Http\Request::validateWithBag($errorBag, $rules, ...$params); } @@ -13234,8 +12231,7 @@ public static function validateWithBag($errorBag, $rules, ...$params) * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @param mixed $absolute * @static - */ - public static function hasValidSignature($absolute = true) + */ public static function hasValidSignature($absolute = true) { return \Illuminate\Http\Request::hasValidSignature($absolute); } @@ -13244,8 +12240,7 @@ public static function hasValidSignature($absolute = true) * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @static - */ - public static function hasValidRelativeSignature() + */ public static function hasValidRelativeSignature() { return \Illuminate\Http\Request::hasValidRelativeSignature(); } @@ -13256,19 +12251,16 @@ public static function hasValidRelativeSignature() * @param mixed $ignoreQuery * @param mixed $absolute * @static - */ - public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) + */ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) { return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute); } - - } + } /** * * * @see \Illuminate\Routing\ResponseFactory - */ - class Response { + */ class Response { /** * Create a new response instance. * @@ -13277,8 +12269,7 @@ class Response { * @param array $headers * @return \Illuminate\Http\Response * @static - */ - public static function make($content = '', $status = 200, $headers = []) + */ public static function make($content = '', $status = 200, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->make($content, $status, $headers); @@ -13290,8 +12281,7 @@ public static function make($content = '', $status = 200, $headers = []) * @param array $headers * @return \Illuminate\Http\Response * @static - */ - public static function noContent($status = 204, $headers = []) + */ public static function noContent($status = 204, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->noContent($status, $headers); @@ -13305,8 +12295,7 @@ public static function noContent($status = 204, $headers = []) * @param array $headers * @return \Illuminate\Http\Response * @static - */ - public static function view($view, $data = [], $status = 200, $headers = []) + */ public static function view($view, $data = [], $status = 200, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->view($view, $data, $status, $headers); @@ -13320,8 +12309,7 @@ public static function view($view, $data = [], $status = 200, $headers = []) * @param int $options * @return \Illuminate\Http\JsonResponse * @static - */ - public static function json($data = [], $status = 200, $headers = [], $options = 0) + */ public static function json($data = [], $status = 200, $headers = [], $options = 0) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->json($data, $status, $headers, $options); @@ -13336,8 +12324,7 @@ public static function json($data = [], $status = 200, $headers = [], $options = * @param int $options * @return \Illuminate\Http\JsonResponse * @static - */ - public static function jsonp($callback, $data = [], $status = 200, $headers = [], $options = 0) + */ public static function jsonp($callback, $data = [], $status = 200, $headers = [], $options = 0) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->jsonp($callback, $data, $status, $headers, $options); @@ -13350,11 +12337,24 @@ public static function jsonp($callback, $data = [], $status = 200, $headers = [] * @param array $headers * @return \Symfony\Component\HttpFoundation\StreamedResponse * @static - */ - public static function stream($callback, $status = 200, $headers = []) + */ public static function stream($callback, $status = 200, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->stream($callback, $status, $headers); + } + /** + * Create a new streamed response instance. + * + * @param array $data + * @param int $status + * @param array $headers + * @param int $encodingOptions + * @return \Symfony\Component\HttpFoundation\StreamedJsonResponse + * @static + */ public static function streamJson($data, $status = 200, $headers = [], $encodingOptions = 15) + { + /** @var \Illuminate\Routing\ResponseFactory $instance */ + return $instance->streamJson($data, $status, $headers, $encodingOptions); } /** * Create a new streamed response instance as a file download. @@ -13365,8 +12365,7 @@ public static function stream($callback, $status = 200, $headers = []) * @param string|null $disposition * @return \Symfony\Component\HttpFoundation\StreamedResponse * @static - */ - public static function streamDownload($callback, $name = null, $headers = [], $disposition = 'attachment') + */ public static function streamDownload($callback, $name = null, $headers = [], $disposition = 'attachment') { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->streamDownload($callback, $name, $headers, $disposition); @@ -13380,8 +12379,7 @@ public static function streamDownload($callback, $name = null, $headers = [], $d * @param string|null $disposition * @return \Symfony\Component\HttpFoundation\BinaryFileResponse * @static - */ - public static function download($file, $name = null, $headers = [], $disposition = 'attachment') + */ public static function download($file, $name = null, $headers = [], $disposition = 'attachment') { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->download($file, $name, $headers, $disposition); @@ -13393,8 +12391,7 @@ public static function download($file, $name = null, $headers = [], $disposition * @param array $headers * @return \Symfony\Component\HttpFoundation\BinaryFileResponse * @static - */ - public static function file($file, $headers = []) + */ public static function file($file, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->file($file, $headers); @@ -13408,8 +12405,7 @@ public static function file($file, $headers = []) * @param bool|null $secure * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function redirectTo($path, $status = 302, $headers = [], $secure = null) + */ public static function redirectTo($path, $status = 302, $headers = [], $secure = null) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->redirectTo($path, $status, $headers, $secure); @@ -13423,8 +12419,7 @@ public static function redirectTo($path, $status = 302, $headers = [], $secure = * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function redirectToRoute($route, $parameters = [], $status = 302, $headers = []) + */ public static function redirectToRoute($route, $parameters = [], $status = 302, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->redirectToRoute($route, $parameters, $status, $headers); @@ -13438,8 +12433,7 @@ public static function redirectToRoute($route, $parameters = [], $status = 302, * @param array $headers * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function redirectToAction($action, $parameters = [], $status = 302, $headers = []) + */ public static function redirectToAction($action, $parameters = [], $status = 302, $headers = []) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->redirectToAction($action, $parameters, $status, $headers); @@ -13453,8 +12447,7 @@ public static function redirectToAction($action, $parameters = [], $status = 302 * @param bool|null $secure * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function redirectGuest($path, $status = 302, $headers = [], $secure = null) + */ public static function redirectGuest($path, $status = 302, $headers = [], $secure = null) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->redirectGuest($path, $status, $headers, $secure); @@ -13468,8 +12461,7 @@ public static function redirectGuest($path, $status = 302, $headers = [], $secur * @param bool|null $secure * @return \Illuminate\Http\RedirectResponse * @static - */ - public static function redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null) + */ public static function redirectToIntended($default = '/', $status = 302, $headers = [], $secure = null) { /** @var \Illuminate\Routing\ResponseFactory $instance */ return $instance->redirectToIntended($default, $status, $headers, $secure); @@ -13481,8 +12473,7 @@ public static function redirectToIntended($default = '/', $status = 302, $header * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Routing\ResponseFactory::macro($name, $macro); } @@ -13494,8 +12485,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Routing\ResponseFactory::mixin($mixin, $replace); } @@ -13505,8 +12495,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Routing\ResponseFactory::hasMacro($name); } @@ -13515,13 +12504,11 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Routing\ResponseFactory::flushMacros(); } - - } + } /** * * @@ -13545,8 +12532,7 @@ public static function flushMacros() * @method static \Illuminate\Routing\RouteRegistrar withoutMiddleware(array|string $middleware) * @method static \Illuminate\Routing\RouteRegistrar withoutScopedBindings() * @see \Illuminate\Routing\Router - */ - class Route { + */ class Route { /** * Register a new GET route with the router. * @@ -13554,8 +12540,7 @@ class Route { * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function get($uri, $action = null) + */ public static function get($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->get($uri, $action); @@ -13567,8 +12552,7 @@ public static function get($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function post($uri, $action = null) + */ public static function post($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->post($uri, $action); @@ -13580,8 +12564,7 @@ public static function post($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function put($uri, $action = null) + */ public static function put($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->put($uri, $action); @@ -13593,8 +12576,7 @@ public static function put($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function patch($uri, $action = null) + */ public static function patch($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->patch($uri, $action); @@ -13606,8 +12588,7 @@ public static function patch($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function delete($uri, $action = null) + */ public static function delete($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->delete($uri, $action); @@ -13619,8 +12600,7 @@ public static function delete($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function options($uri, $action = null) + */ public static function options($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->options($uri, $action); @@ -13632,8 +12612,7 @@ public static function options($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function any($uri, $action = null) + */ public static function any($uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->any($uri, $action); @@ -13644,8 +12623,7 @@ public static function any($uri, $action = null) * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function fallback($action) + */ public static function fallback($action) { /** @var \Illuminate\Routing\Router $instance */ return $instance->fallback($action); @@ -13658,8 +12636,7 @@ public static function fallback($action) * @param int $status * @return \Illuminate\Routing\Route * @static - */ - public static function redirect($uri, $destination, $status = 302) + */ public static function redirect($uri, $destination, $status = 302) { /** @var \Illuminate\Routing\Router $instance */ return $instance->redirect($uri, $destination, $status); @@ -13671,8 +12648,7 @@ public static function redirect($uri, $destination, $status = 302) * @param string $destination * @return \Illuminate\Routing\Route * @static - */ - public static function permanentRedirect($uri, $destination) + */ public static function permanentRedirect($uri, $destination) { /** @var \Illuminate\Routing\Router $instance */ return $instance->permanentRedirect($uri, $destination); @@ -13687,8 +12663,7 @@ public static function permanentRedirect($uri, $destination) * @param array $headers * @return \Illuminate\Routing\Route * @static - */ - public static function view($uri, $view, $data = [], $status = 200, $headers = []) + */ public static function view($uri, $view, $data = [], $status = 200, $headers = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->view($uri, $view, $data, $status, $headers); @@ -13701,8 +12676,7 @@ public static function view($uri, $view, $data = [], $status = 200, $headers = [ * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function match($methods, $uri, $action = null) + */ public static function match($methods, $uri, $action = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->match($methods, $uri, $action); @@ -13714,8 +12688,7 @@ public static function match($methods, $uri, $action = null) * @param array $options * @return void * @static - */ - public static function resources($resources, $options = []) + */ public static function resources($resources, $options = []) { /** @var \Illuminate\Routing\Router $instance */ $instance->resources($resources, $options); @@ -13728,8 +12701,7 @@ public static function resources($resources, $options = []) * @param array $options * @return \Illuminate\Routing\PendingResourceRegistration * @static - */ - public static function resource($name, $controller, $options = []) + */ public static function resource($name, $controller, $options = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->resource($name, $controller, $options); @@ -13741,8 +12713,7 @@ public static function resource($name, $controller, $options = []) * @param array $options * @return void * @static - */ - public static function apiResources($resources, $options = []) + */ public static function apiResources($resources, $options = []) { /** @var \Illuminate\Routing\Router $instance */ $instance->apiResources($resources, $options); @@ -13755,8 +12726,7 @@ public static function apiResources($resources, $options = []) * @param array $options * @return \Illuminate\Routing\PendingResourceRegistration * @static - */ - public static function apiResource($name, $controller, $options = []) + */ public static function apiResource($name, $controller, $options = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->apiResource($name, $controller, $options); @@ -13768,8 +12738,7 @@ public static function apiResource($name, $controller, $options = []) * @param array $options * @return void * @static - */ - public static function singletons($singletons, $options = []) + */ public static function singletons($singletons, $options = []) { /** @var \Illuminate\Routing\Router $instance */ $instance->singletons($singletons, $options); @@ -13782,8 +12751,7 @@ public static function singletons($singletons, $options = []) * @param array $options * @return \Illuminate\Routing\PendingSingletonResourceRegistration * @static - */ - public static function singleton($name, $controller, $options = []) + */ public static function singleton($name, $controller, $options = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->singleton($name, $controller, $options); @@ -13795,8 +12763,7 @@ public static function singleton($name, $controller, $options = []) * @param array $options * @return void * @static - */ - public static function apiSingletons($singletons, $options = []) + */ public static function apiSingletons($singletons, $options = []) { /** @var \Illuminate\Routing\Router $instance */ $instance->apiSingletons($singletons, $options); @@ -13809,8 +12776,7 @@ public static function apiSingletons($singletons, $options = []) * @param array $options * @return \Illuminate\Routing\PendingSingletonResourceRegistration * @static - */ - public static function apiSingleton($name, $controller, $options = []) + */ public static function apiSingleton($name, $controller, $options = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->apiSingleton($name, $controller, $options); @@ -13822,8 +12788,7 @@ public static function apiSingleton($name, $controller, $options = []) * @param \Closure|array|string $routes * @return \Illuminate\Routing\Router * @static - */ - public static function group($attributes, $routes) + */ public static function group($attributes, $routes) { /** @var \Illuminate\Routing\Router $instance */ return $instance->group($attributes, $routes); @@ -13835,8 +12800,7 @@ public static function group($attributes, $routes) * @param bool $prependExistingPrefix * @return array * @static - */ - public static function mergeWithLastGroup($new, $prependExistingPrefix = true) + */ public static function mergeWithLastGroup($new, $prependExistingPrefix = true) { /** @var \Illuminate\Routing\Router $instance */ return $instance->mergeWithLastGroup($new, $prependExistingPrefix); @@ -13846,8 +12810,7 @@ public static function mergeWithLastGroup($new, $prependExistingPrefix = true) * * @return string * @static - */ - public static function getLastGroupPrefix() + */ public static function getLastGroupPrefix() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getLastGroupPrefix(); @@ -13860,8 +12823,7 @@ public static function getLastGroupPrefix() * @param array|string|callable|null $action * @return \Illuminate\Routing\Route * @static - */ - public static function addRoute($methods, $uri, $action) + */ public static function addRoute($methods, $uri, $action) { /** @var \Illuminate\Routing\Router $instance */ return $instance->addRoute($methods, $uri, $action); @@ -13874,8 +12836,7 @@ public static function addRoute($methods, $uri, $action) * @param mixed $action * @return \Illuminate\Routing\Route * @static - */ - public static function newRoute($methods, $uri, $action) + */ public static function newRoute($methods, $uri, $action) { /** @var \Illuminate\Routing\Router $instance */ return $instance->newRoute($methods, $uri, $action); @@ -13886,8 +12847,7 @@ public static function newRoute($methods, $uri, $action) * @param string $name * @return \Symfony\Component\HttpFoundation\Response * @static - */ - public static function respondWithRoute($name) + */ public static function respondWithRoute($name) { /** @var \Illuminate\Routing\Router $instance */ return $instance->respondWithRoute($name); @@ -13898,8 +12858,7 @@ public static function respondWithRoute($name) * @param \Illuminate\Http\Request $request * @return \Symfony\Component\HttpFoundation\Response * @static - */ - public static function dispatch($request) + */ public static function dispatch($request) { /** @var \Illuminate\Routing\Router $instance */ return $instance->dispatch($request); @@ -13910,8 +12869,7 @@ public static function dispatch($request) * @param \Illuminate\Http\Request $request * @return \Symfony\Component\HttpFoundation\Response * @static - */ - public static function dispatchToRoute($request) + */ public static function dispatchToRoute($request) { /** @var \Illuminate\Routing\Router $instance */ return $instance->dispatchToRoute($request); @@ -13922,8 +12880,7 @@ public static function dispatchToRoute($request) * @param \Illuminate\Routing\Route $route * @return array * @static - */ - public static function gatherRouteMiddleware($route) + */ public static function gatherRouteMiddleware($route) { /** @var \Illuminate\Routing\Router $instance */ return $instance->gatherRouteMiddleware($route); @@ -13935,8 +12892,7 @@ public static function gatherRouteMiddleware($route) * @param array $excluded * @return array * @static - */ - public static function resolveMiddleware($middleware, $excluded = []) + */ public static function resolveMiddleware($middleware, $excluded = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->resolveMiddleware($middleware, $excluded); @@ -13948,8 +12904,7 @@ public static function resolveMiddleware($middleware, $excluded = []) * @param mixed $response * @return \Symfony\Component\HttpFoundation\Response * @static - */ - public static function prepareResponse($request, $response) + */ public static function prepareResponse($request, $response) { /** @var \Illuminate\Routing\Router $instance */ return $instance->prepareResponse($request, $response); @@ -13961,8 +12916,7 @@ public static function prepareResponse($request, $response) * @param mixed $response * @return \Symfony\Component\HttpFoundation\Response * @static - */ - public static function toResponse($request, $response) + */ public static function toResponse($request, $response) { return \Illuminate\Routing\Router::toResponse($request, $response); } @@ -13974,8 +12928,7 @@ public static function toResponse($request, $response) * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException * @static - */ - public static function substituteBindings($route) + */ public static function substituteBindings($route) { /** @var \Illuminate\Routing\Router $instance */ return $instance->substituteBindings($route); @@ -13988,8 +12941,7 @@ public static function substituteBindings($route) * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @throws \Illuminate\Routing\Exceptions\BackedEnumCaseNotFoundException * @static - */ - public static function substituteImplicitBindings($route) + */ public static function substituteImplicitBindings($route) { /** @var \Illuminate\Routing\Router $instance */ $instance->substituteImplicitBindings($route); @@ -14000,8 +12952,7 @@ public static function substituteImplicitBindings($route) * @param callable $callback * @return \Illuminate\Routing\Router * @static - */ - public static function substituteImplicitBindingsUsing($callback) + */ public static function substituteImplicitBindingsUsing($callback) { /** @var \Illuminate\Routing\Router $instance */ return $instance->substituteImplicitBindingsUsing($callback); @@ -14012,8 +12963,7 @@ public static function substituteImplicitBindingsUsing($callback) * @param string|callable $callback * @return void * @static - */ - public static function matched($callback) + */ public static function matched($callback) { /** @var \Illuminate\Routing\Router $instance */ $instance->matched($callback); @@ -14023,8 +12973,7 @@ public static function matched($callback) * * @return array * @static - */ - public static function getMiddleware() + */ public static function getMiddleware() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getMiddleware(); @@ -14036,8 +12985,7 @@ public static function getMiddleware() * @param string $class * @return \Illuminate\Routing\Router * @static - */ - public static function aliasMiddleware($name, $class) + */ public static function aliasMiddleware($name, $class) { /** @var \Illuminate\Routing\Router $instance */ return $instance->aliasMiddleware($name, $class); @@ -14048,8 +12996,7 @@ public static function aliasMiddleware($name, $class) * @param string $name * @return bool * @static - */ - public static function hasMiddlewareGroup($name) + */ public static function hasMiddlewareGroup($name) { /** @var \Illuminate\Routing\Router $instance */ return $instance->hasMiddlewareGroup($name); @@ -14059,8 +13006,7 @@ public static function hasMiddlewareGroup($name) * * @return array * @static - */ - public static function getMiddlewareGroups() + */ public static function getMiddlewareGroups() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getMiddlewareGroups(); @@ -14072,8 +13018,7 @@ public static function getMiddlewareGroups() * @param array $middleware * @return \Illuminate\Routing\Router * @static - */ - public static function middlewareGroup($name, $middleware) + */ public static function middlewareGroup($name, $middleware) { /** @var \Illuminate\Routing\Router $instance */ return $instance->middlewareGroup($name, $middleware); @@ -14087,8 +13032,7 @@ public static function middlewareGroup($name, $middleware) * @param string $middleware * @return \Illuminate\Routing\Router * @static - */ - public static function prependMiddlewareToGroup($group, $middleware) + */ public static function prependMiddlewareToGroup($group, $middleware) { /** @var \Illuminate\Routing\Router $instance */ return $instance->prependMiddlewareToGroup($group, $middleware); @@ -14102,8 +13046,7 @@ public static function prependMiddlewareToGroup($group, $middleware) * @param string $middleware * @return \Illuminate\Routing\Router * @static - */ - public static function pushMiddlewareToGroup($group, $middleware) + */ public static function pushMiddlewareToGroup($group, $middleware) { /** @var \Illuminate\Routing\Router $instance */ return $instance->pushMiddlewareToGroup($group, $middleware); @@ -14115,8 +13058,7 @@ public static function pushMiddlewareToGroup($group, $middleware) * @param string $middleware * @return \Illuminate\Routing\Router * @static - */ - public static function removeMiddlewareFromGroup($group, $middleware) + */ public static function removeMiddlewareFromGroup($group, $middleware) { /** @var \Illuminate\Routing\Router $instance */ return $instance->removeMiddlewareFromGroup($group, $middleware); @@ -14126,8 +13068,7 @@ public static function removeMiddlewareFromGroup($group, $middleware) * * @return \Illuminate\Routing\Router * @static - */ - public static function flushMiddlewareGroups() + */ public static function flushMiddlewareGroups() { /** @var \Illuminate\Routing\Router $instance */ return $instance->flushMiddlewareGroups(); @@ -14139,8 +13080,7 @@ public static function flushMiddlewareGroups() * @param string|callable $binder * @return void * @static - */ - public static function bind($key, $binder) + */ public static function bind($key, $binder) { /** @var \Illuminate\Routing\Router $instance */ $instance->bind($key, $binder); @@ -14153,8 +13093,7 @@ public static function bind($key, $binder) * @param \Closure|null $callback * @return void * @static - */ - public static function model($key, $class, $callback = null) + */ public static function model($key, $class, $callback = null) { /** @var \Illuminate\Routing\Router $instance */ $instance->model($key, $class, $callback); @@ -14165,8 +13104,7 @@ public static function model($key, $class, $callback = null) * @param string $key * @return \Closure|null * @static - */ - public static function getBindingCallback($key) + */ public static function getBindingCallback($key) { /** @var \Illuminate\Routing\Router $instance */ return $instance->getBindingCallback($key); @@ -14176,8 +13114,7 @@ public static function getBindingCallback($key) * * @return array * @static - */ - public static function getPatterns() + */ public static function getPatterns() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getPatterns(); @@ -14189,8 +13126,7 @@ public static function getPatterns() * @param string $pattern * @return void * @static - */ - public static function pattern($key, $pattern) + */ public static function pattern($key, $pattern) { /** @var \Illuminate\Routing\Router $instance */ $instance->pattern($key, $pattern); @@ -14201,8 +13137,7 @@ public static function pattern($key, $pattern) * @param array $patterns * @return void * @static - */ - public static function patterns($patterns) + */ public static function patterns($patterns) { /** @var \Illuminate\Routing\Router $instance */ $instance->patterns($patterns); @@ -14212,8 +13147,7 @@ public static function patterns($patterns) * * @return bool * @static - */ - public static function hasGroupStack() + */ public static function hasGroupStack() { /** @var \Illuminate\Routing\Router $instance */ return $instance->hasGroupStack(); @@ -14223,8 +13157,7 @@ public static function hasGroupStack() * * @return array * @static - */ - public static function getGroupStack() + */ public static function getGroupStack() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getGroupStack(); @@ -14236,8 +13169,7 @@ public static function getGroupStack() * @param string|null $default * @return mixed * @static - */ - public static function input($key, $default = null) + */ public static function input($key, $default = null) { /** @var \Illuminate\Routing\Router $instance */ return $instance->input($key, $default); @@ -14247,8 +13179,7 @@ public static function input($key, $default = null) * * @return \Illuminate\Http\Request * @static - */ - public static function getCurrentRequest() + */ public static function getCurrentRequest() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getCurrentRequest(); @@ -14258,8 +13189,7 @@ public static function getCurrentRequest() * * @return \Illuminate\Routing\Route|null * @static - */ - public static function getCurrentRoute() + */ public static function getCurrentRoute() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getCurrentRoute(); @@ -14269,8 +13199,7 @@ public static function getCurrentRoute() * * @return \Illuminate\Routing\Route|null * @static - */ - public static function current() + */ public static function current() { /** @var \Illuminate\Routing\Router $instance */ return $instance->current(); @@ -14281,8 +13210,7 @@ public static function current() * @param string|array $name * @return bool * @static - */ - public static function has($name) + */ public static function has($name) { /** @var \Illuminate\Routing\Router $instance */ return $instance->has($name); @@ -14292,8 +13220,7 @@ public static function has($name) * * @return string|null * @static - */ - public static function currentRouteName() + */ public static function currentRouteName() { /** @var \Illuminate\Routing\Router $instance */ return $instance->currentRouteName(); @@ -14304,8 +13231,7 @@ public static function currentRouteName() * @param mixed $patterns * @return bool * @static - */ - public static function is(...$patterns) + */ public static function is(...$patterns) { /** @var \Illuminate\Routing\Router $instance */ return $instance->is(...$patterns); @@ -14316,8 +13242,7 @@ public static function is(...$patterns) * @param mixed $patterns * @return bool * @static - */ - public static function currentRouteNamed(...$patterns) + */ public static function currentRouteNamed(...$patterns) { /** @var \Illuminate\Routing\Router $instance */ return $instance->currentRouteNamed(...$patterns); @@ -14327,8 +13252,7 @@ public static function currentRouteNamed(...$patterns) * * @return string|null * @static - */ - public static function currentRouteAction() + */ public static function currentRouteAction() { /** @var \Illuminate\Routing\Router $instance */ return $instance->currentRouteAction(); @@ -14339,8 +13263,7 @@ public static function currentRouteAction() * @param array $patterns * @return bool * @static - */ - public static function uses(...$patterns) + */ public static function uses(...$patterns) { /** @var \Illuminate\Routing\Router $instance */ return $instance->uses(...$patterns); @@ -14351,8 +13274,7 @@ public static function uses(...$patterns) * @param string $action * @return bool * @static - */ - public static function currentRouteUses($action) + */ public static function currentRouteUses($action) { /** @var \Illuminate\Routing\Router $instance */ return $instance->currentRouteUses($action); @@ -14363,8 +13285,7 @@ public static function currentRouteUses($action) * @param bool $singular * @return void * @static - */ - public static function singularResourceParameters($singular = true) + */ public static function singularResourceParameters($singular = true) { /** @var \Illuminate\Routing\Router $instance */ $instance->singularResourceParameters($singular); @@ -14375,8 +13296,7 @@ public static function singularResourceParameters($singular = true) * @param array $parameters * @return void * @static - */ - public static function resourceParameters($parameters = []) + */ public static function resourceParameters($parameters = []) { /** @var \Illuminate\Routing\Router $instance */ $instance->resourceParameters($parameters); @@ -14387,8 +13307,7 @@ public static function resourceParameters($parameters = []) * @param array $verbs * @return array|null * @static - */ - public static function resourceVerbs($verbs = []) + */ public static function resourceVerbs($verbs = []) { /** @var \Illuminate\Routing\Router $instance */ return $instance->resourceVerbs($verbs); @@ -14398,8 +13317,7 @@ public static function resourceVerbs($verbs = []) * * @return \Illuminate\Routing\RouteCollectionInterface * @static - */ - public static function getRoutes() + */ public static function getRoutes() { /** @var \Illuminate\Routing\Router $instance */ return $instance->getRoutes(); @@ -14410,8 +13328,7 @@ public static function getRoutes() * @param \Illuminate\Routing\RouteCollection $routes * @return void * @static - */ - public static function setRoutes($routes) + */ public static function setRoutes($routes) { /** @var \Illuminate\Routing\Router $instance */ $instance->setRoutes($routes); @@ -14422,8 +13339,7 @@ public static function setRoutes($routes) * @param array $routes * @return void * @static - */ - public static function setCompiledRoutes($routes) + */ public static function setCompiledRoutes($routes) { /** @var \Illuminate\Routing\Router $instance */ $instance->setCompiledRoutes($routes); @@ -14434,8 +13350,7 @@ public static function setCompiledRoutes($routes) * @param array $middleware * @return array * @static - */ - public static function uniqueMiddleware($middleware) + */ public static function uniqueMiddleware($middleware) { return \Illuminate\Routing\Router::uniqueMiddleware($middleware); } @@ -14445,8 +13360,7 @@ public static function uniqueMiddleware($middleware) * @param \Illuminate\Container\Container $container * @return \Illuminate\Routing\Router * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { /** @var \Illuminate\Routing\Router $instance */ return $instance->setContainer($container); @@ -14458,8 +13372,7 @@ public static function setContainer($container) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Routing\Router::macro($name, $macro); } @@ -14471,8 +13384,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Routing\Router::mixin($mixin, $replace); } @@ -14482,8 +13394,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Routing\Router::hasMacro($name); } @@ -14492,8 +13403,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Routing\Router::flushMacros(); } @@ -14505,8 +13415,7 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Routing\Router $instance */ return $instance->macroCall($method, $parameters); @@ -14517,8 +13426,7 @@ public static function macroCall($method, $parameters) * @see \Laravel\Ui\AuthRouteMethods::auth() * @param mixed $options * @static - */ - public static function auth($options = []) + */ public static function auth($options = []) { return \Illuminate\Routing\Router::auth($options); } @@ -14527,8 +13435,7 @@ public static function auth($options = []) * * @see \Laravel\Ui\AuthRouteMethods::resetPassword() * @static - */ - public static function resetPassword() + */ public static function resetPassword() { return \Illuminate\Routing\Router::resetPassword(); } @@ -14537,8 +13444,7 @@ public static function resetPassword() * * @see \Laravel\Ui\AuthRouteMethods::confirmPassword() * @static - */ - public static function confirmPassword() + */ public static function confirmPassword() { return \Illuminate\Routing\Router::confirmPassword(); } @@ -14547,29 +13453,25 @@ public static function confirmPassword() * * @see \Laravel\Ui\AuthRouteMethods::emailVerification() * @static - */ - public static function emailVerification() + */ public static function emailVerification() { return \Illuminate\Routing\Router::emailVerification(); } - - } + } /** * * * @see \Illuminate\Database\Schema\Builder - */ - class Schema { + */ class Schema { /** * Create a database in the schema. * * @param string $name * @return bool * @static - */ - public static function createDatabase($name) + */ public static function createDatabase($name) { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->createDatabase($name); } /** @@ -14578,34 +13480,30 @@ public static function createDatabase($name) * @param string $name * @return bool * @static - */ - public static function dropDatabaseIfExists($name) + */ public static function dropDatabaseIfExists($name) { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->dropDatabaseIfExists($name); } /** - * Determine if the given table exists. - * - * @param string $table - * @return bool - * @static - */ - public static function hasTable($table) - { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - return $instance->hasTable($table); - } - /** - * Get the user-defined types that belong to the database. + * Get the tables for the database. * * @return array * @static - */ - public static function getTypes() + */ public static function getTables() { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - return $instance->getTypes(); + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTables(); + } + /** + * Get the views for the database. + * + * @return array + * @static + */ public static function getViews() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getViews(); } /** * Get all of the table names for the database. @@ -14613,10 +13511,9 @@ public static function getTypes() * @deprecated Will be removed in a future Laravel version. * @return array * @static - */ - public static function getAllTables() + */ public static function getAllTables() { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getAllTables(); } /** @@ -14625,56 +13522,10 @@ public static function getAllTables() * @deprecated Will be removed in a future Laravel version. * @return array * @static - */ - public static function getAllViews() + */ public static function getAllViews() { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getAllViews(); - } - /** - * Drop all tables from the database. - * - * @return void - * @static - */ - public static function dropAllTables() - { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - $instance->dropAllTables(); - } - /** - * Drop all views from the database. - * - * @return void - * @static - */ - public static function dropAllViews() - { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - $instance->dropAllViews(); - } - /** - * Get all of the type names for the database. - * - * @deprecated Will be removed in a future Laravel version. - * @return array - * @static - */ - public static function getAllTypes() - { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - return $instance->getAllTypes(); - } - /** - * Drop all types from the database. - * - * @return void - * @static - */ - public static function dropAllTypes() - { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - $instance->dropAllTypes(); } /** * Get the columns for a given table. @@ -14682,10 +13533,9 @@ public static function dropAllTypes() * @param string $table * @return array * @static - */ - public static function getColumns($table) + */ public static function getColumns($table) { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getColumns($table); } /** @@ -14694,10 +13544,9 @@ public static function getColumns($table) * @param string $table * @return array * @static - */ - public static function getIndexes($table) + */ public static function getIndexes($table) { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getIndexes($table); } /** @@ -14706,11 +13555,30 @@ public static function getIndexes($table) * @param string $table * @return array * @static - */ - public static function getForeignKeys($table) + */ public static function getForeignKeys($table) { - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getForeignKeys($table); + } + /** + * Drop all tables from the database. + * + * @return void + * @static + */ public static function dropAllTables() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropAllTables(); + } + /** + * Drop all views from the database. + * + * @return void + * @static + */ public static function dropAllViews() + { + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropAllViews(); } /** * Set the default string length for migrations. @@ -14718,10 +13586,9 @@ public static function getForeignKeys($table) * @param int $length * @return void * @static - */ - public static function defaultStringLength($length) + */ public static function defaultStringLength($length) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\PostgresBuilder::defaultStringLength($length); + \Illuminate\Database\Schema\MySqlBuilder::defaultStringLength($length); } /** * Set the default morph key type for migrations. @@ -14730,30 +13597,27 @@ public static function defaultStringLength($length) * @return void * @throws \InvalidArgumentException * @static - */ - public static function defaultMorphKeyType($type) + */ public static function defaultMorphKeyType($type) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\PostgresBuilder::defaultMorphKeyType($type); + \Illuminate\Database\Schema\MySqlBuilder::defaultMorphKeyType($type); } /** * Set the default morph key type for migrations to UUIDs. * * @return void * @static - */ - public static function morphUsingUuids() + */ public static function morphUsingUuids() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\PostgresBuilder::morphUsingUuids(); + \Illuminate\Database\Schema\MySqlBuilder::morphUsingUuids(); } /** * Set the default morph key type for migrations to ULIDs. * * @return void * @static - */ - public static function morphUsingUlids() + */ public static function morphUsingUlids() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\PostgresBuilder::morphUsingUlids(); + \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); } /** * Attempt to use native schema operations for dropping, renaming, and modifying columns, even if Doctrine DBAL is installed. @@ -14761,10 +13625,20 @@ public static function morphUsingUlids() * @param bool $value * @return void * @static - */ - public static function useNativeSchemaOperationsIfPossible($value = true) + */ public static function useNativeSchemaOperationsIfPossible($value = true) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\PostgresBuilder::useNativeSchemaOperationsIfPossible($value); + \Illuminate\Database\Schema\MySqlBuilder::useNativeSchemaOperationsIfPossible($value); + } + /** + * Determine if the given table exists. + * + * @param string $table + * @return bool + * @static + */ public static function hasTable($table) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasTable($table); } /** * Determine if the given view exists. @@ -14772,33 +13646,30 @@ public static function useNativeSchemaOperationsIfPossible($value = true) * @param string $view * @return bool * @static - */ - public static function hasView($view) + */ public static function hasView($view) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->hasView($view); } /** - * Get the tables that belong to the database. + * Get the names of the tables that belong to the database. * * @return array * @static - */ - public static function getTables() + */ public static function getTableListing() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - return $instance->getTables(); + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTableListing(); } /** - * Get the views that belong to the database. + * Get the user-defined types that belong to the database. * * @return array * @static - */ - public static function getViews() + */ public static function getTypes() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ - return $instance->getViews(); + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getTypes(); } /** * Determine if the given table has a given column. @@ -14807,10 +13678,9 @@ public static function getViews() * @param string $column * @return bool * @static - */ - public static function hasColumn($table, $column) + */ public static function hasColumn($table, $column) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->hasColumn($table, $column); } /** @@ -14820,10 +13690,9 @@ public static function hasColumn($table, $column) * @param array $columns * @return bool * @static - */ - public static function hasColumns($table, $columns) + */ public static function hasColumns($table, $columns) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->hasColumns($table, $columns); } /** @@ -14834,10 +13703,9 @@ public static function hasColumns($table, $columns) * @param \Closure $callback * @return void * @static - */ - public static function whenTableHasColumn($table, $column, $callback) + */ public static function whenTableHasColumn($table, $column, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->whenTableHasColumn($table, $column, $callback); } /** @@ -14848,10 +13716,9 @@ public static function whenTableHasColumn($table, $column, $callback) * @param \Closure $callback * @return void * @static - */ - public static function whenTableDoesntHaveColumn($table, $column, $callback) + */ public static function whenTableDoesntHaveColumn($table, $column, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->whenTableDoesntHaveColumn($table, $column, $callback); } /** @@ -14862,10 +13729,9 @@ public static function whenTableDoesntHaveColumn($table, $column, $callback) * @param bool $fullDefinition * @return string * @static - */ - public static function getColumnType($table, $column, $fullDefinition = false) + */ public static function getColumnType($table, $column, $fullDefinition = false) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getColumnType($table, $column, $fullDefinition); } /** @@ -14874,11 +13740,34 @@ public static function getColumnType($table, $column, $fullDefinition = false) * @param string $table * @return array * @static - */ - public static function getColumnListing($table) + */ public static function getColumnListing($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getColumnListing($table); + } + /** + * Get the names of the indexes for a given table. + * + * @param string $table + * @return array + * @static + */ public static function getIndexListing($table) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->getIndexListing($table); + } + /** + * Determine if the given table has a given index. + * + * @param string $table + * @param string|array $index + * @param string|null $type + * @return bool + * @static + */ public static function hasIndex($table, $index, $type = null) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + return $instance->hasIndex($table, $index, $type); } /** * Modify a table on the schema. @@ -14887,10 +13776,9 @@ public static function getColumnListing($table) * @param \Closure $callback * @return void * @static - */ - public static function table($table, $callback) + */ public static function table($table, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->table($table, $callback); } /** @@ -14900,10 +13788,9 @@ public static function table($table, $callback) * @param \Closure $callback * @return void * @static - */ - public static function create($table, $callback) + */ public static function create($table, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->create($table, $callback); } /** @@ -14912,10 +13799,9 @@ public static function create($table, $callback) * @param string $table * @return void * @static - */ - public static function drop($table) + */ public static function drop($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->drop($table); } /** @@ -14924,10 +13810,9 @@ public static function drop($table) * @param string $table * @return void * @static - */ - public static function dropIfExists($table) + */ public static function dropIfExists($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->dropIfExists($table); } /** @@ -14937,11 +13822,21 @@ public static function dropIfExists($table) * @param string|array $columns * @return void * @static - */ - public static function dropColumns($table, $columns) + */ public static function dropColumns($table, $columns) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->dropColumns($table, $columns); + } + /** + * Drop all types from the database. + * + * @return void + * @throws \LogicException + * @static + */ public static function dropAllTypes() + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + $instance->dropAllTypes(); } /** * Rename a table on the schema. @@ -14950,10 +13845,9 @@ public static function dropColumns($table, $columns) * @param string $to * @return void * @static - */ - public static function rename($from, $to) + */ public static function rename($from, $to) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->rename($from, $to); } /** @@ -14961,10 +13855,9 @@ public static function rename($from, $to) * * @return bool * @static - */ - public static function enableForeignKeyConstraints() + */ public static function enableForeignKeyConstraints() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->enableForeignKeyConstraints(); } /** @@ -14972,10 +13865,9 @@ public static function enableForeignKeyConstraints() * * @return bool * @static - */ - public static function disableForeignKeyConstraints() + */ public static function disableForeignKeyConstraints() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->disableForeignKeyConstraints(); } /** @@ -14984,10 +13876,9 @@ public static function disableForeignKeyConstraints() * @param \Closure $callback * @return mixed * @static - */ - public static function withoutForeignKeyConstraints($callback) + */ public static function withoutForeignKeyConstraints($callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->withoutForeignKeyConstraints($callback); } /** @@ -14995,22 +13886,20 @@ public static function withoutForeignKeyConstraints($callback) * * @return \Illuminate\Database\Connection * @static - */ - public static function getConnection() + */ public static function getConnection() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getConnection(); } /** * Set the database connection instance. * * @param \Illuminate\Database\Connection $connection - * @return \Illuminate\Database\Schema\PostgresBuilder + * @return \Illuminate\Database\Schema\MySqlBuilder * @static - */ - public static function setConnection($connection) + */ public static function setConnection($connection) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->setConnection($connection); } /** @@ -15019,27 +13908,65 @@ public static function setConnection($connection) * @param \Closure $resolver * @return void * @static - */ - public static function blueprintResolver($resolver) + */ public static function blueprintResolver($resolver) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\PostgresBuilder $instance */ + /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ $instance->blueprintResolver($resolver); } - - } + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @return void + * @static + */ public static function macro($name, $macro) + { //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::macro($name, $macro); + } + /** + * Mix another object into the class. + * + * @param object $mixin + * @param bool $replace + * @return void + * @throws \ReflectionException + * @static + */ public static function mixin($mixin, $replace = true) + { //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::mixin($mixin, $replace); + } + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ public static function hasMacro($name) + { //Method inherited from \Illuminate\Database\Schema\Builder + return \Illuminate\Database\Schema\MySqlBuilder::hasMacro($name); + } + /** + * Flush the existing macros. + * + * @return void + * @static + */ public static function flushMacros() + { //Method inherited from \Illuminate\Database\Schema\Builder + \Illuminate\Database\Schema\MySqlBuilder::flushMacros(); + } + } /** * * * @see \Illuminate\Session\SessionManager - */ - class Session { + */ class Session { /** * Determine if requests for the same session should wait for each to finish before executing. * * @return bool * @static - */ - public static function shouldBlock() + */ public static function shouldBlock() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->shouldBlock(); @@ -15049,8 +13976,7 @@ public static function shouldBlock() * * @return string|null * @static - */ - public static function blockDriver() + */ public static function blockDriver() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->blockDriver(); @@ -15060,8 +13986,7 @@ public static function blockDriver() * * @return int * @static - */ - public static function defaultRouteBlockLockSeconds() + */ public static function defaultRouteBlockLockSeconds() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->defaultRouteBlockLockSeconds(); @@ -15071,8 +13996,7 @@ public static function defaultRouteBlockLockSeconds() * * @return int * @static - */ - public static function defaultRouteBlockWaitSeconds() + */ public static function defaultRouteBlockWaitSeconds() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->defaultRouteBlockWaitSeconds(); @@ -15082,8 +14006,7 @@ public static function defaultRouteBlockWaitSeconds() * * @return array * @static - */ - public static function getSessionConfig() + */ public static function getSessionConfig() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->getSessionConfig(); @@ -15093,8 +14016,7 @@ public static function getSessionConfig() * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Session\SessionManager $instance */ return $instance->getDefaultDriver(); @@ -15105,8 +14027,7 @@ public static function getDefaultDriver() * @param string $name * @return void * @static - */ - public static function setDefaultDriver($name) + */ public static function setDefaultDriver($name) { /** @var \Illuminate\Session\SessionManager $instance */ $instance->setDefaultDriver($name); @@ -15118,8 +14039,7 @@ public static function setDefaultDriver($name) * @return mixed * @throws \InvalidArgumentException * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Session\SessionManager $instance */ return $instance->driver($driver); @@ -15131,8 +14051,7 @@ public static function driver($driver = null) * @param \Closure $callback * @return \Illuminate\Session\SessionManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Session\SessionManager $instance */ return $instance->extend($driver, $callback); @@ -15142,8 +14061,7 @@ public static function extend($driver, $callback) * * @return array * @static - */ - public static function getDrivers() + */ public static function getDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Session\SessionManager $instance */ return $instance->getDrivers(); @@ -15153,8 +14071,7 @@ public static function getDrivers() * * @return \Illuminate\Contracts\Container\Container * @static - */ - public static function getContainer() + */ public static function getContainer() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Session\SessionManager $instance */ return $instance->getContainer(); @@ -15165,8 +14082,7 @@ public static function getContainer() * @param \Illuminate\Contracts\Container\Container $container * @return \Illuminate\Session\SessionManager * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Session\SessionManager $instance */ return $instance->setContainer($container); @@ -15176,8 +14092,7 @@ public static function setContainer($container) * * @return \Illuminate\Session\SessionManager * @static - */ - public static function forgetDrivers() + */ public static function forgetDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Illuminate\Session\SessionManager $instance */ return $instance->forgetDrivers(); @@ -15187,8 +14102,7 @@ public static function forgetDrivers() * * @return bool * @static - */ - public static function start() + */ public static function start() { /** @var \Illuminate\Session\Store $instance */ return $instance->start(); @@ -15198,8 +14112,7 @@ public static function start() * * @return void * @static - */ - public static function save() + */ public static function save() { /** @var \Illuminate\Session\Store $instance */ $instance->save(); @@ -15209,8 +14122,7 @@ public static function save() * * @return void * @static - */ - public static function ageFlashData() + */ public static function ageFlashData() { /** @var \Illuminate\Session\Store $instance */ $instance->ageFlashData(); @@ -15220,8 +14132,7 @@ public static function ageFlashData() * * @return array * @static - */ - public static function all() + */ public static function all() { /** @var \Illuminate\Session\Store $instance */ return $instance->all(); @@ -15232,11 +14143,21 @@ public static function all() * @param array $keys * @return array * @static - */ - public static function only($keys) + */ public static function only($keys) { /** @var \Illuminate\Session\Store $instance */ return $instance->only($keys); + } + /** + * Get all the session data except for a specified array of items. + * + * @param array $keys + * @return array + * @static + */ public static function except($keys) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->except($keys); } /** * Checks if a key exists. @@ -15244,8 +14165,7 @@ public static function only($keys) * @param string|array $key * @return bool * @static - */ - public static function exists($key) + */ public static function exists($key) { /** @var \Illuminate\Session\Store $instance */ return $instance->exists($key); @@ -15256,8 +14176,7 @@ public static function exists($key) * @param string|array $key * @return bool * @static - */ - public static function missing($key) + */ public static function missing($key) { /** @var \Illuminate\Session\Store $instance */ return $instance->missing($key); @@ -15268,8 +14187,7 @@ public static function missing($key) * @param string|array $key * @return bool * @static - */ - public static function has($key) + */ public static function has($key) { /** @var \Illuminate\Session\Store $instance */ return $instance->has($key); @@ -15281,8 +14199,7 @@ public static function has($key) * @param mixed $default * @return mixed * @static - */ - public static function get($key, $default = null) + */ public static function get($key, $default = null) { /** @var \Illuminate\Session\Store $instance */ return $instance->get($key, $default); @@ -15294,8 +14211,7 @@ public static function get($key, $default = null) * @param mixed $default * @return mixed * @static - */ - public static function pull($key, $default = null) + */ public static function pull($key, $default = null) { /** @var \Illuminate\Session\Store $instance */ return $instance->pull($key, $default); @@ -15306,8 +14222,7 @@ public static function pull($key, $default = null) * @param string|null $key * @return bool * @static - */ - public static function hasOldInput($key = null) + */ public static function hasOldInput($key = null) { /** @var \Illuminate\Session\Store $instance */ return $instance->hasOldInput($key); @@ -15319,8 +14234,7 @@ public static function hasOldInput($key = null) * @param mixed $default * @return mixed * @static - */ - public static function getOldInput($key = null, $default = null) + */ public static function getOldInput($key = null, $default = null) { /** @var \Illuminate\Session\Store $instance */ return $instance->getOldInput($key, $default); @@ -15331,8 +14245,7 @@ public static function getOldInput($key = null, $default = null) * @param array $attributes * @return void * @static - */ - public static function replace($attributes) + */ public static function replace($attributes) { /** @var \Illuminate\Session\Store $instance */ $instance->replace($attributes); @@ -15344,8 +14257,7 @@ public static function replace($attributes) * @param mixed $value * @return void * @static - */ - public static function put($key, $value = null) + */ public static function put($key, $value = null) { /** @var \Illuminate\Session\Store $instance */ $instance->put($key, $value); @@ -15357,8 +14269,7 @@ public static function put($key, $value = null) * @param \Closure $callback * @return mixed * @static - */ - public static function remember($key, $callback) + */ public static function remember($key, $callback) { /** @var \Illuminate\Session\Store $instance */ return $instance->remember($key, $callback); @@ -15370,8 +14281,7 @@ public static function remember($key, $callback) * @param mixed $value * @return void * @static - */ - public static function push($key, $value) + */ public static function push($key, $value) { /** @var \Illuminate\Session\Store $instance */ $instance->push($key, $value); @@ -15383,8 +14293,7 @@ public static function push($key, $value) * @param int $amount * @return mixed * @static - */ - public static function increment($key, $amount = 1) + */ public static function increment($key, $amount = 1) { /** @var \Illuminate\Session\Store $instance */ return $instance->increment($key, $amount); @@ -15396,8 +14305,7 @@ public static function increment($key, $amount = 1) * @param int $amount * @return int * @static - */ - public static function decrement($key, $amount = 1) + */ public static function decrement($key, $amount = 1) { /** @var \Illuminate\Session\Store $instance */ return $instance->decrement($key, $amount); @@ -15409,8 +14317,7 @@ public static function decrement($key, $amount = 1) * @param mixed $value * @return void * @static - */ - public static function flash($key, $value = true) + */ public static function flash($key, $value = true) { /** @var \Illuminate\Session\Store $instance */ $instance->flash($key, $value); @@ -15422,8 +14329,7 @@ public static function flash($key, $value = true) * @param mixed $value * @return void * @static - */ - public static function now($key, $value) + */ public static function now($key, $value) { /** @var \Illuminate\Session\Store $instance */ $instance->now($key, $value); @@ -15433,8 +14339,7 @@ public static function now($key, $value) * * @return void * @static - */ - public static function reflash() + */ public static function reflash() { /** @var \Illuminate\Session\Store $instance */ $instance->reflash(); @@ -15445,8 +14350,7 @@ public static function reflash() * @param array|mixed $keys * @return void * @static - */ - public static function keep($keys = null) + */ public static function keep($keys = null) { /** @var \Illuminate\Session\Store $instance */ $instance->keep($keys); @@ -15457,8 +14361,7 @@ public static function keep($keys = null) * @param array $value * @return void * @static - */ - public static function flashInput($value) + */ public static function flashInput($value) { /** @var \Illuminate\Session\Store $instance */ $instance->flashInput($value); @@ -15469,8 +14372,7 @@ public static function flashInput($value) * @param string $key * @return mixed * @static - */ - public static function remove($key) + */ public static function remove($key) { /** @var \Illuminate\Session\Store $instance */ return $instance->remove($key); @@ -15481,8 +14383,7 @@ public static function remove($key) * @param string|array $keys * @return void * @static - */ - public static function forget($keys) + */ public static function forget($keys) { /** @var \Illuminate\Session\Store $instance */ $instance->forget($keys); @@ -15492,8 +14393,7 @@ public static function forget($keys) * * @return void * @static - */ - public static function flush() + */ public static function flush() { /** @var \Illuminate\Session\Store $instance */ $instance->flush(); @@ -15503,8 +14403,7 @@ public static function flush() * * @return bool * @static - */ - public static function invalidate() + */ public static function invalidate() { /** @var \Illuminate\Session\Store $instance */ return $instance->invalidate(); @@ -15515,8 +14414,7 @@ public static function invalidate() * @param bool $destroy * @return bool * @static - */ - public static function regenerate($destroy = false) + */ public static function regenerate($destroy = false) { /** @var \Illuminate\Session\Store $instance */ return $instance->regenerate($destroy); @@ -15527,8 +14425,7 @@ public static function regenerate($destroy = false) * @param bool $destroy * @return bool * @static - */ - public static function migrate($destroy = false) + */ public static function migrate($destroy = false) { /** @var \Illuminate\Session\Store $instance */ return $instance->migrate($destroy); @@ -15538,8 +14435,7 @@ public static function migrate($destroy = false) * * @return bool * @static - */ - public static function isStarted() + */ public static function isStarted() { /** @var \Illuminate\Session\Store $instance */ return $instance->isStarted(); @@ -15549,8 +14445,7 @@ public static function isStarted() * * @return string * @static - */ - public static function getName() + */ public static function getName() { /** @var \Illuminate\Session\Store $instance */ return $instance->getName(); @@ -15561,8 +14456,7 @@ public static function getName() * @param string $name * @return void * @static - */ - public static function setName($name) + */ public static function setName($name) { /** @var \Illuminate\Session\Store $instance */ $instance->setName($name); @@ -15572,8 +14466,7 @@ public static function setName($name) * * @return string * @static - */ - public static function getId() + */ public static function getId() { /** @var \Illuminate\Session\Store $instance */ return $instance->getId(); @@ -15584,8 +14477,7 @@ public static function getId() * @param string|null $id * @return void * @static - */ - public static function setId($id) + */ public static function setId($id) { /** @var \Illuminate\Session\Store $instance */ $instance->setId($id); @@ -15596,8 +14488,7 @@ public static function setId($id) * @param string|null $id * @return bool * @static - */ - public static function isValidId($id) + */ public static function isValidId($id) { /** @var \Illuminate\Session\Store $instance */ return $instance->isValidId($id); @@ -15608,8 +14499,7 @@ public static function isValidId($id) * @param bool $value * @return void * @static - */ - public static function setExists($value) + */ public static function setExists($value) { /** @var \Illuminate\Session\Store $instance */ $instance->setExists($value); @@ -15619,8 +14509,7 @@ public static function setExists($value) * * @return string * @static - */ - public static function token() + */ public static function token() { /** @var \Illuminate\Session\Store $instance */ return $instance->token(); @@ -15630,8 +14519,7 @@ public static function token() * * @return void * @static - */ - public static function regenerateToken() + */ public static function regenerateToken() { /** @var \Illuminate\Session\Store $instance */ $instance->regenerateToken(); @@ -15641,8 +14529,7 @@ public static function regenerateToken() * * @return string|null * @static - */ - public static function previousUrl() + */ public static function previousUrl() { /** @var \Illuminate\Session\Store $instance */ return $instance->previousUrl(); @@ -15653,8 +14540,7 @@ public static function previousUrl() * @param string $url * @return void * @static - */ - public static function setPreviousUrl($url) + */ public static function setPreviousUrl($url) { /** @var \Illuminate\Session\Store $instance */ $instance->setPreviousUrl($url); @@ -15664,8 +14550,7 @@ public static function setPreviousUrl($url) * * @return void * @static - */ - public static function passwordConfirmed() + */ public static function passwordConfirmed() { /** @var \Illuminate\Session\Store $instance */ $instance->passwordConfirmed(); @@ -15675,8 +14560,7 @@ public static function passwordConfirmed() * * @return \SessionHandlerInterface * @static - */ - public static function getHandler() + */ public static function getHandler() { /** @var \Illuminate\Session\Store $instance */ return $instance->getHandler(); @@ -15687,8 +14571,7 @@ public static function getHandler() * @param \SessionHandlerInterface $handler * @return \SessionHandlerInterface * @static - */ - public static function setHandler($handler) + */ public static function setHandler($handler) { /** @var \Illuminate\Session\Store $instance */ return $instance->setHandler($handler); @@ -15698,8 +14581,7 @@ public static function setHandler($handler) * * @return bool * @static - */ - public static function handlerNeedsRequest() + */ public static function handlerNeedsRequest() { /** @var \Illuminate\Session\Store $instance */ return $instance->handlerNeedsRequest(); @@ -15710,8 +14592,7 @@ public static function handlerNeedsRequest() * @param \Illuminate\Http\Request $request * @return void * @static - */ - public static function setRequestOnHandler($request) + */ public static function setRequestOnHandler($request) { /** @var \Illuminate\Session\Store $instance */ $instance->setRequestOnHandler($request); @@ -15723,8 +14604,7 @@ public static function setRequestOnHandler($request) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Session\Store::macro($name, $macro); } @@ -15736,8 +14616,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Session\Store::mixin($mixin, $replace); } @@ -15747,8 +14626,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Session\Store::hasMacro($name); } @@ -15757,13 +14635,11 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Session\Store::flushMacros(); } - - } + } /** * * @@ -15775,16 +14651,14 @@ public static function flushMacros() * @method static void write(string $location, string $contents, array $config = []) * @method static void createDirectory(string $location, array $config = []) * @see \Illuminate\Filesystem\FilesystemManager - */ - class Storage { + */ class Storage { /** * Get a filesystem instance. * * @param string|null $name * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function drive($name = null) + */ public static function drive($name = null) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->drive($name); @@ -15795,8 +14669,7 @@ public static function drive($name = null) * @param string|null $name * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function disk($name = null) + */ public static function disk($name = null) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->disk($name); @@ -15806,8 +14679,7 @@ public static function disk($name = null) * * @return \Illuminate\Contracts\Filesystem\Cloud * @static - */ - public static function cloud() + */ public static function cloud() { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->cloud(); @@ -15818,8 +14690,7 @@ public static function cloud() * @param string|array $config * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function build($config) + */ public static function build($config) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->build($config); @@ -15830,8 +14701,7 @@ public static function build($config) * @param array $config * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function createLocalDriver($config) + */ public static function createLocalDriver($config) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->createLocalDriver($config); @@ -15842,8 +14712,7 @@ public static function createLocalDriver($config) * @param array $config * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function createFtpDriver($config) + */ public static function createFtpDriver($config) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->createFtpDriver($config); @@ -15854,8 +14723,7 @@ public static function createFtpDriver($config) * @param array $config * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function createSftpDriver($config) + */ public static function createSftpDriver($config) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->createSftpDriver($config); @@ -15866,8 +14734,7 @@ public static function createSftpDriver($config) * @param array $config * @return \Illuminate\Contracts\Filesystem\Cloud * @static - */ - public static function createS3Driver($config) + */ public static function createS3Driver($config) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->createS3Driver($config); @@ -15878,8 +14745,7 @@ public static function createS3Driver($config) * @param array $config * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function createScopedDriver($config) + */ public static function createScopedDriver($config) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->createScopedDriver($config); @@ -15891,8 +14757,7 @@ public static function createScopedDriver($config) * @param mixed $disk * @return \Illuminate\Filesystem\FilesystemManager * @static - */ - public static function set($name, $disk) + */ public static function set($name, $disk) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->set($name, $disk); @@ -15902,8 +14767,7 @@ public static function set($name, $disk) * * @return string * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->getDefaultDriver(); @@ -15913,8 +14777,7 @@ public static function getDefaultDriver() * * @return string * @static - */ - public static function getDefaultCloudDriver() + */ public static function getDefaultCloudDriver() { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->getDefaultCloudDriver(); @@ -15925,8 +14788,7 @@ public static function getDefaultCloudDriver() * @param array|string $disk * @return \Illuminate\Filesystem\FilesystemManager * @static - */ - public static function forgetDisk($disk) + */ public static function forgetDisk($disk) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->forgetDisk($disk); @@ -15937,8 +14799,7 @@ public static function forgetDisk($disk) * @param string|null $name * @return void * @static - */ - public static function purge($name = null) + */ public static function purge($name = null) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ $instance->purge($name); @@ -15950,8 +14811,7 @@ public static function purge($name = null) * @param \Closure $callback * @return \Illuminate\Filesystem\FilesystemManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->extend($driver, $callback); @@ -15962,8 +14822,7 @@ public static function extend($driver, $callback) * @param \Illuminate\Contracts\Foundation\Application $app * @return \Illuminate\Filesystem\FilesystemManager * @static - */ - public static function setApplication($app) + */ public static function setApplication($app) { /** @var \Illuminate\Filesystem\FilesystemManager $instance */ return $instance->setApplication($app); @@ -15975,8 +14834,7 @@ public static function setApplication($app) * @param string|null $content * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function assertExists($path, $content = null) + */ public static function assertExists($path, $content = null) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->assertExists($path, $content); @@ -15987,8 +14845,7 @@ public static function assertExists($path, $content = null) * @param string|array $path * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function assertMissing($path) + */ public static function assertMissing($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->assertMissing($path); @@ -15999,8 +14856,7 @@ public static function assertMissing($path) * @param string $path * @return \Illuminate\Filesystem\FilesystemAdapter * @static - */ - public static function assertDirectoryEmpty($path) + */ public static function assertDirectoryEmpty($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->assertDirectoryEmpty($path); @@ -16011,8 +14867,7 @@ public static function assertDirectoryEmpty($path) * @param string $path * @return bool * @static - */ - public static function exists($path) + */ public static function exists($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->exists($path); @@ -16023,8 +14878,7 @@ public static function exists($path) * @param string $path * @return bool * @static - */ - public static function missing($path) + */ public static function missing($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->missing($path); @@ -16035,8 +14889,7 @@ public static function missing($path) * @param string $path * @return bool * @static - */ - public static function fileExists($path) + */ public static function fileExists($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->fileExists($path); @@ -16047,8 +14900,7 @@ public static function fileExists($path) * @param string $path * @return bool * @static - */ - public static function fileMissing($path) + */ public static function fileMissing($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->fileMissing($path); @@ -16059,8 +14911,7 @@ public static function fileMissing($path) * @param string $path * @return bool * @static - */ - public static function directoryExists($path) + */ public static function directoryExists($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->directoryExists($path); @@ -16071,8 +14922,7 @@ public static function directoryExists($path) * @param string $path * @return bool * @static - */ - public static function directoryMissing($path) + */ public static function directoryMissing($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->directoryMissing($path); @@ -16083,8 +14933,7 @@ public static function directoryMissing($path) * @param string $path * @return string * @static - */ - public static function path($path) + */ public static function path($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->path($path); @@ -16095,8 +14944,7 @@ public static function path($path) * @param string $path * @return string|null * @static - */ - public static function get($path) + */ public static function get($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->get($path); @@ -16108,8 +14956,7 @@ public static function get($path) * @param int $flags * @return array|null * @static - */ - public static function json($path, $flags = 0) + */ public static function json($path, $flags = 0) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->json($path, $flags); @@ -16123,8 +14970,7 @@ public static function json($path, $flags = 0) * @param string|null $disposition * @return \Symfony\Component\HttpFoundation\StreamedResponse * @static - */ - public static function response($path, $name = null, $headers = [], $disposition = 'inline') + */ public static function response($path, $name = null, $headers = [], $disposition = 'inline') { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->response($path, $name, $headers, $disposition); @@ -16136,8 +14982,7 @@ public static function response($path, $name = null, $headers = [], $disposition * @param string|null $name * @return \Symfony\Component\HttpFoundation\StreamedResponse * @static - */ - public static function download($path, $name = null, $headers = []) + */ public static function download($path, $name = null, $headers = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->download($path, $name, $headers); @@ -16150,8 +14995,7 @@ public static function download($path, $name = null, $headers = []) * @param mixed $options * @return string|bool * @static - */ - public static function put($path, $contents, $options = []) + */ public static function put($path, $contents, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->put($path, $contents, $options); @@ -16164,8 +15008,7 @@ public static function put($path, $contents, $options = []) * @param mixed $options * @return string|false * @static - */ - public static function putFile($path, $file = null, $options = []) + */ public static function putFile($path, $file = null, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->putFile($path, $file, $options); @@ -16179,8 +15022,7 @@ public static function putFile($path, $file = null, $options = []) * @param mixed $options * @return string|false * @static - */ - public static function putFileAs($path, $file, $name = null, $options = []) + */ public static function putFileAs($path, $file, $name = null, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->putFileAs($path, $file, $name, $options); @@ -16191,8 +15033,7 @@ public static function putFileAs($path, $file, $name = null, $options = []) * @param string $path * @return string * @static - */ - public static function getVisibility($path) + */ public static function getVisibility($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->getVisibility($path); @@ -16204,8 +15045,7 @@ public static function getVisibility($path) * @param string $visibility * @return bool * @static - */ - public static function setVisibility($path, $visibility) + */ public static function setVisibility($path, $visibility) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->setVisibility($path, $visibility); @@ -16218,8 +15058,7 @@ public static function setVisibility($path, $visibility) * @param string $separator * @return bool * @static - */ - public static function prepend($path, $data, $separator = ' + */ public static function prepend($path, $data, $separator = ' ') { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ @@ -16233,8 +15072,7 @@ public static function prepend($path, $data, $separator = ' * @param string $separator * @return bool * @static - */ - public static function append($path, $data, $separator = ' + */ public static function append($path, $data, $separator = ' ') { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ @@ -16246,8 +15084,7 @@ public static function append($path, $data, $separator = ' * @param string|array $paths * @return bool * @static - */ - public static function delete($paths) + */ public static function delete($paths) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->delete($paths); @@ -16259,8 +15096,7 @@ public static function delete($paths) * @param string $to * @return bool * @static - */ - public static function copy($from, $to) + */ public static function copy($from, $to) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->copy($from, $to); @@ -16272,8 +15108,7 @@ public static function copy($from, $to) * @param string $to * @return bool * @static - */ - public static function move($from, $to) + */ public static function move($from, $to) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->move($from, $to); @@ -16284,8 +15119,7 @@ public static function move($from, $to) * @param string $path * @return int * @static - */ - public static function size($path) + */ public static function size($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->size($path); @@ -16296,8 +15130,7 @@ public static function size($path) * @return string|false * @throws UnableToProvideChecksum * @static - */ - public static function checksum($path, $options = []) + */ public static function checksum($path, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->checksum($path, $options); @@ -16308,8 +15141,7 @@ public static function checksum($path, $options = []) * @param string $path * @return string|false * @static - */ - public static function mimeType($path) + */ public static function mimeType($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->mimeType($path); @@ -16320,8 +15152,7 @@ public static function mimeType($path) * @param string $path * @return int * @static - */ - public static function lastModified($path) + */ public static function lastModified($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->lastModified($path); @@ -16332,8 +15163,7 @@ public static function lastModified($path) * @param string $path * @return resource|null The path resource or null on failure. * @static - */ - public static function readStream($path) + */ public static function readStream($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->readStream($path); @@ -16346,8 +15176,7 @@ public static function readStream($path) * @param array $options * @return bool * @static - */ - public static function writeStream($path, $resource, $options = []) + */ public static function writeStream($path, $resource, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->writeStream($path, $resource, $options); @@ -16359,8 +15188,7 @@ public static function writeStream($path, $resource, $options = []) * @return string * @throws \RuntimeException * @static - */ - public static function url($path) + */ public static function url($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->url($path); @@ -16370,8 +15198,7 @@ public static function url($path) * * @return bool * @static - */ - public static function providesTemporaryUrls() + */ public static function providesTemporaryUrls() { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->providesTemporaryUrls(); @@ -16385,8 +15212,7 @@ public static function providesTemporaryUrls() * @return string * @throws \RuntimeException * @static - */ - public static function temporaryUrl($path, $expiration, $options = []) + */ public static function temporaryUrl($path, $expiration, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->temporaryUrl($path, $expiration, $options); @@ -16400,8 +15226,7 @@ public static function temporaryUrl($path, $expiration, $options = []) * @return array * @throws \RuntimeException * @static - */ - public static function temporaryUploadUrl($path, $expiration, $options = []) + */ public static function temporaryUploadUrl($path, $expiration, $options = []) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->temporaryUploadUrl($path, $expiration, $options); @@ -16413,8 +15238,7 @@ public static function temporaryUploadUrl($path, $expiration, $options = []) * @param bool $recursive * @return array * @static - */ - public static function files($directory = null, $recursive = false) + */ public static function files($directory = null, $recursive = false) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->files($directory, $recursive); @@ -16425,8 +15249,7 @@ public static function files($directory = null, $recursive = false) * @param string|null $directory * @return array * @static - */ - public static function allFiles($directory = null) + */ public static function allFiles($directory = null) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->allFiles($directory); @@ -16438,8 +15261,7 @@ public static function allFiles($directory = null) * @param bool $recursive * @return array * @static - */ - public static function directories($directory = null, $recursive = false) + */ public static function directories($directory = null, $recursive = false) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->directories($directory, $recursive); @@ -16450,8 +15272,7 @@ public static function directories($directory = null, $recursive = false) * @param string|null $directory * @return array * @static - */ - public static function allDirectories($directory = null) + */ public static function allDirectories($directory = null) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->allDirectories($directory); @@ -16462,8 +15283,7 @@ public static function allDirectories($directory = null) * @param string $path * @return bool * @static - */ - public static function makeDirectory($path) + */ public static function makeDirectory($path) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->makeDirectory($path); @@ -16474,8 +15294,7 @@ public static function makeDirectory($path) * @param string $directory * @return bool * @static - */ - public static function deleteDirectory($directory) + */ public static function deleteDirectory($directory) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->deleteDirectory($directory); @@ -16485,8 +15304,7 @@ public static function deleteDirectory($directory) * * @return \League\Flysystem\FilesystemOperator * @static - */ - public static function getDriver() + */ public static function getDriver() { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->getDriver(); @@ -16496,8 +15314,7 @@ public static function getDriver() * * @return \League\Flysystem\FilesystemAdapter * @static - */ - public static function getAdapter() + */ public static function getAdapter() { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->getAdapter(); @@ -16507,8 +15324,7 @@ public static function getAdapter() * * @return array * @static - */ - public static function getConfig() + */ public static function getConfig() { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->getConfig(); @@ -16519,8 +15335,7 @@ public static function getConfig() * @param \Closure $callback * @return void * @static - */ - public static function buildTemporaryUrlsUsing($callback) + */ public static function buildTemporaryUrlsUsing($callback) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ $instance->buildTemporaryUrlsUsing($callback); @@ -16535,8 +15350,7 @@ public static function buildTemporaryUrlsUsing($callback) * @param \Illuminate\Filesystem\(callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|\Illuminate\Filesystem\TWhenReturnType * @static - */ - public static function when($value = null, $callback = null, $default = null) + */ public static function when($value = null, $callback = null, $default = null) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->when($value, $callback, $default); @@ -16551,8 +15365,7 @@ public static function when($value = null, $callback = null, $default = null) * @param \Illuminate\Filesystem\(callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|\Illuminate\Filesystem\TUnlessReturnType * @static - */ - public static function unless($value = null, $callback = null, $default = null) + */ public static function unless($value = null, $callback = null, $default = null) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->unless($value, $callback, $default); @@ -16564,8 +15377,7 @@ public static function unless($value = null, $callback = null, $default = null) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Filesystem\FilesystemAdapter::macro($name, $macro); } @@ -16577,8 +15389,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Filesystem\FilesystemAdapter::mixin($mixin, $replace); } @@ -16588,8 +15399,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Filesystem\FilesystemAdapter::hasMacro($name); } @@ -16598,8 +15408,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Filesystem\FilesystemAdapter::flushMacros(); } @@ -16611,27 +15420,23 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Filesystem\FilesystemAdapter $instance */ return $instance->macroCall($method, $parameters); } - - } + } /** * * * @see \Illuminate\Routing\UrlGenerator - */ - class URL { + */ class URL { /** * Get the full URL for the current request. * * @return string * @static - */ - public static function full() + */ public static function full() { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->full(); @@ -16641,8 +15446,7 @@ public static function full() * * @return string * @static - */ - public static function current() + */ public static function current() { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->current(); @@ -16653,8 +15457,7 @@ public static function current() * @param mixed $fallback * @return string * @static - */ - public static function previous($fallback = false) + */ public static function previous($fallback = false) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->previous($fallback); @@ -16665,8 +15468,7 @@ public static function previous($fallback = false) * @param mixed $fallback * @return string * @static - */ - public static function previousPath($fallback = false) + */ public static function previousPath($fallback = false) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->previousPath($fallback); @@ -16679,8 +15481,7 @@ public static function previousPath($fallback = false) * @param bool|null $secure * @return string * @static - */ - public static function to($path, $extra = [], $secure = null) + */ public static function to($path, $extra = [], $secure = null) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->to($path, $extra, $secure); @@ -16692,8 +15493,7 @@ public static function to($path, $extra = [], $secure = null) * @param array $parameters * @return string * @static - */ - public static function secure($path, $parameters = []) + */ public static function secure($path, $parameters = []) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->secure($path, $parameters); @@ -16705,8 +15505,7 @@ public static function secure($path, $parameters = []) * @param bool|null $secure * @return string * @static - */ - public static function asset($path, $secure = null) + */ public static function asset($path, $secure = null) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->asset($path, $secure); @@ -16717,8 +15516,7 @@ public static function asset($path, $secure = null) * @param string $path * @return string * @static - */ - public static function secureAsset($path) + */ public static function secureAsset($path) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->secureAsset($path); @@ -16731,8 +15529,7 @@ public static function secureAsset($path) * @param bool|null $secure * @return string * @static - */ - public static function assetFrom($root, $path, $secure = null) + */ public static function assetFrom($root, $path, $secure = null) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->assetFrom($root, $path, $secure); @@ -16743,8 +15540,7 @@ public static function assetFrom($root, $path, $secure = null) * @param bool|null $secure * @return string * @static - */ - public static function formatScheme($secure = null) + */ public static function formatScheme($secure = null) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->formatScheme($secure); @@ -16759,8 +15555,7 @@ public static function formatScheme($secure = null) * @return string * @throws \InvalidArgumentException * @static - */ - public static function signedRoute($name, $parameters = [], $expiration = null, $absolute = true) + */ public static function signedRoute($name, $parameters = [], $expiration = null, $absolute = true) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->signedRoute($name, $parameters, $expiration, $absolute); @@ -16774,8 +15569,7 @@ public static function signedRoute($name, $parameters = [], $expiration = null, * @param bool $absolute * @return string * @static - */ - public static function temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true) + */ public static function temporarySignedRoute($name, $expiration, $parameters = [], $absolute = true) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->temporarySignedRoute($name, $expiration, $parameters, $absolute); @@ -16788,8 +15582,7 @@ public static function temporarySignedRoute($name, $expiration, $parameters = [] * @param array $ignoreQuery * @return bool * @static - */ - public static function hasValidSignature($request, $absolute = true, $ignoreQuery = []) + */ public static function hasValidSignature($request, $absolute = true, $ignoreQuery = []) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->hasValidSignature($request, $absolute, $ignoreQuery); @@ -16801,8 +15594,7 @@ public static function hasValidSignature($request, $absolute = true, $ignoreQuer * @param array $ignoreQuery * @return bool * @static - */ - public static function hasValidRelativeSignature($request, $ignoreQuery = []) + */ public static function hasValidRelativeSignature($request, $ignoreQuery = []) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->hasValidRelativeSignature($request, $ignoreQuery); @@ -16815,8 +15607,7 @@ public static function hasValidRelativeSignature($request, $ignoreQuery = []) * @param array $ignoreQuery * @return bool * @static - */ - public static function hasCorrectSignature($request, $absolute = true, $ignoreQuery = []) + */ public static function hasCorrectSignature($request, $absolute = true, $ignoreQuery = []) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->hasCorrectSignature($request, $absolute, $ignoreQuery); @@ -16827,8 +15618,7 @@ public static function hasCorrectSignature($request, $absolute = true, $ignoreQu * @param \Illuminate\Http\Request $request * @return bool * @static - */ - public static function signatureHasNotExpired($request) + */ public static function signatureHasNotExpired($request) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->signatureHasNotExpired($request); @@ -16842,8 +15632,7 @@ public static function signatureHasNotExpired($request) * @return string * @throws \Symfony\Component\Routing\Exception\RouteNotFoundException * @static - */ - public static function route($name, $parameters = [], $absolute = true) + */ public static function route($name, $parameters = [], $absolute = true) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->route($name, $parameters, $absolute); @@ -16857,8 +15646,7 @@ public static function route($name, $parameters = [], $absolute = true) * @return string * @throws \Illuminate\Routing\Exceptions\UrlGenerationException * @static - */ - public static function toRoute($route, $parameters, $absolute) + */ public static function toRoute($route, $parameters, $absolute) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->toRoute($route, $parameters, $absolute); @@ -16872,8 +15660,7 @@ public static function toRoute($route, $parameters, $absolute) * @return string * @throws \InvalidArgumentException * @static - */ - public static function action($action, $parameters = [], $absolute = true) + */ public static function action($action, $parameters = [], $absolute = true) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->action($action, $parameters, $absolute); @@ -16884,8 +15671,7 @@ public static function action($action, $parameters = [], $absolute = true) * @param mixed|array $parameters * @return array * @static - */ - public static function formatParameters($parameters) + */ public static function formatParameters($parameters) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->formatParameters($parameters); @@ -16897,8 +15683,7 @@ public static function formatParameters($parameters) * @param string|null $root * @return string * @static - */ - public static function formatRoot($scheme, $root = null) + */ public static function formatRoot($scheme, $root = null) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->formatRoot($scheme, $root); @@ -16911,8 +15696,7 @@ public static function formatRoot($scheme, $root = null) * @param \Illuminate\Routing\Route|null $route * @return string * @static - */ - public static function format($root, $path, $route = null) + */ public static function format($root, $path, $route = null) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->format($root, $path, $route); @@ -16923,8 +15707,7 @@ public static function format($root, $path, $route = null) * @param string $path * @return bool * @static - */ - public static function isValidUrl($path) + */ public static function isValidUrl($path) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->isValidUrl($path); @@ -16935,8 +15718,7 @@ public static function isValidUrl($path) * @param array $defaults * @return void * @static - */ - public static function defaults($defaults) + */ public static function defaults($defaults) { /** @var \Illuminate\Routing\UrlGenerator $instance */ $instance->defaults($defaults); @@ -16946,8 +15728,7 @@ public static function defaults($defaults) * * @return array * @static - */ - public static function getDefaultParameters() + */ public static function getDefaultParameters() { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->getDefaultParameters(); @@ -16958,8 +15739,7 @@ public static function getDefaultParameters() * @param string|null $scheme * @return void * @static - */ - public static function forceScheme($scheme) + */ public static function forceScheme($scheme) { /** @var \Illuminate\Routing\UrlGenerator $instance */ $instance->forceScheme($scheme); @@ -16970,8 +15750,7 @@ public static function forceScheme($scheme) * @param string|null $root * @return void * @static - */ - public static function forceRootUrl($root) + */ public static function forceRootUrl($root) { /** @var \Illuminate\Routing\UrlGenerator $instance */ $instance->forceRootUrl($root); @@ -16982,8 +15761,7 @@ public static function forceRootUrl($root) * @param \Closure $callback * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function formatHostUsing($callback) + */ public static function formatHostUsing($callback) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->formatHostUsing($callback); @@ -16994,8 +15772,7 @@ public static function formatHostUsing($callback) * @param \Closure $callback * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function formatPathUsing($callback) + */ public static function formatPathUsing($callback) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->formatPathUsing($callback); @@ -17005,8 +15782,7 @@ public static function formatPathUsing($callback) * * @return \Closure * @static - */ - public static function pathFormatter() + */ public static function pathFormatter() { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->pathFormatter(); @@ -17016,8 +15792,7 @@ public static function pathFormatter() * * @return \Illuminate\Http\Request * @static - */ - public static function getRequest() + */ public static function getRequest() { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->getRequest(); @@ -17028,8 +15803,7 @@ public static function getRequest() * @param \Illuminate\Http\Request $request * @return void * @static - */ - public static function setRequest($request) + */ public static function setRequest($request) { /** @var \Illuminate\Routing\UrlGenerator $instance */ $instance->setRequest($request); @@ -17040,8 +15814,7 @@ public static function setRequest($request) * @param \Illuminate\Routing\RouteCollectionInterface $routes * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function setRoutes($routes) + */ public static function setRoutes($routes) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->setRoutes($routes); @@ -17052,8 +15825,7 @@ public static function setRoutes($routes) * @param callable $sessionResolver * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function setSessionResolver($sessionResolver) + */ public static function setSessionResolver($sessionResolver) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->setSessionResolver($sessionResolver); @@ -17064,8 +15836,7 @@ public static function setSessionResolver($sessionResolver) * @param callable $keyResolver * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function setKeyResolver($keyResolver) + */ public static function setKeyResolver($keyResolver) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->setKeyResolver($keyResolver); @@ -17076,8 +15847,7 @@ public static function setKeyResolver($keyResolver) * @param callable $keyResolver * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function withKeyResolver($keyResolver) + */ public static function withKeyResolver($keyResolver) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->withKeyResolver($keyResolver); @@ -17088,8 +15858,7 @@ public static function withKeyResolver($keyResolver) * @param callable $missingNamedRouteResolver * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver) + */ public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->resolveMissingNamedRoutesUsing($missingNamedRouteResolver); @@ -17099,8 +15868,7 @@ public static function resolveMissingNamedRoutesUsing($missingNamedRouteResolver * * @return string * @static - */ - public static function getRootControllerNamespace() + */ public static function getRootControllerNamespace() { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->getRootControllerNamespace(); @@ -17111,8 +15879,7 @@ public static function getRootControllerNamespace() * @param string $rootNamespace * @return \Illuminate\Routing\UrlGenerator * @static - */ - public static function setRootControllerNamespace($rootNamespace) + */ public static function setRootControllerNamespace($rootNamespace) { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->setRootControllerNamespace($rootNamespace); @@ -17124,8 +15891,7 @@ public static function setRootControllerNamespace($rootNamespace) * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Routing\UrlGenerator::macro($name, $macro); } @@ -17137,8 +15903,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Routing\UrlGenerator::mixin($mixin, $replace); } @@ -17148,8 +15913,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Routing\UrlGenerator::hasMacro($name); } @@ -17158,19 +15922,16 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Routing\UrlGenerator::flushMacros(); } - - } + } /** * * * @see \Illuminate\Validation\Factory - */ - class Validator { + */ class Validator { /** * Create a new Validator instance. * @@ -17180,8 +15941,7 @@ class Validator { * @param array $attributes * @return \Illuminate\Validation\Validator * @static - */ - public static function make($data, $rules, $messages = [], $attributes = []) + */ public static function make($data, $rules, $messages = [], $attributes = []) { /** @var \Illuminate\Validation\Factory $instance */ return $instance->make($data, $rules, $messages, $attributes); @@ -17196,8 +15956,7 @@ public static function make($data, $rules, $messages = [], $attributes = []) * @return array * @throws \Illuminate\Validation\ValidationException * @static - */ - public static function validate($data, $rules, $messages = [], $attributes = []) + */ public static function validate($data, $rules, $messages = [], $attributes = []) { /** @var \Illuminate\Validation\Factory $instance */ return $instance->validate($data, $rules, $messages, $attributes); @@ -17210,8 +15969,7 @@ public static function validate($data, $rules, $messages = [], $attributes = []) * @param string|null $message * @return void * @static - */ - public static function extend($rule, $extension, $message = null) + */ public static function extend($rule, $extension, $message = null) { /** @var \Illuminate\Validation\Factory $instance */ $instance->extend($rule, $extension, $message); @@ -17224,8 +15982,7 @@ public static function extend($rule, $extension, $message = null) * @param string|null $message * @return void * @static - */ - public static function extendImplicit($rule, $extension, $message = null) + */ public static function extendImplicit($rule, $extension, $message = null) { /** @var \Illuminate\Validation\Factory $instance */ $instance->extendImplicit($rule, $extension, $message); @@ -17238,8 +15995,7 @@ public static function extendImplicit($rule, $extension, $message = null) * @param string|null $message * @return void * @static - */ - public static function extendDependent($rule, $extension, $message = null) + */ public static function extendDependent($rule, $extension, $message = null) { /** @var \Illuminate\Validation\Factory $instance */ $instance->extendDependent($rule, $extension, $message); @@ -17251,8 +16007,7 @@ public static function extendDependent($rule, $extension, $message = null) * @param \Closure|string $replacer * @return void * @static - */ - public static function replacer($rule, $replacer) + */ public static function replacer($rule, $replacer) { /** @var \Illuminate\Validation\Factory $instance */ $instance->replacer($rule, $replacer); @@ -17262,8 +16017,7 @@ public static function replacer($rule, $replacer) * * @return void * @static - */ - public static function includeUnvalidatedArrayKeys() + */ public static function includeUnvalidatedArrayKeys() { /** @var \Illuminate\Validation\Factory $instance */ $instance->includeUnvalidatedArrayKeys(); @@ -17273,8 +16027,7 @@ public static function includeUnvalidatedArrayKeys() * * @return void * @static - */ - public static function excludeUnvalidatedArrayKeys() + */ public static function excludeUnvalidatedArrayKeys() { /** @var \Illuminate\Validation\Factory $instance */ $instance->excludeUnvalidatedArrayKeys(); @@ -17285,8 +16038,7 @@ public static function excludeUnvalidatedArrayKeys() * @param \Closure $resolver * @return void * @static - */ - public static function resolver($resolver) + */ public static function resolver($resolver) { /** @var \Illuminate\Validation\Factory $instance */ $instance->resolver($resolver); @@ -17296,8 +16048,7 @@ public static function resolver($resolver) * * @return \Illuminate\Contracts\Translation\Translator * @static - */ - public static function getTranslator() + */ public static function getTranslator() { /** @var \Illuminate\Validation\Factory $instance */ return $instance->getTranslator(); @@ -17307,8 +16058,7 @@ public static function getTranslator() * * @return \Illuminate\Validation\PresenceVerifierInterface * @static - */ - public static function getPresenceVerifier() + */ public static function getPresenceVerifier() { /** @var \Illuminate\Validation\Factory $instance */ return $instance->getPresenceVerifier(); @@ -17319,8 +16069,7 @@ public static function getPresenceVerifier() * @param \Illuminate\Validation\PresenceVerifierInterface $presenceVerifier * @return void * @static - */ - public static function setPresenceVerifier($presenceVerifier) + */ public static function setPresenceVerifier($presenceVerifier) { /** @var \Illuminate\Validation\Factory $instance */ $instance->setPresenceVerifier($presenceVerifier); @@ -17330,8 +16079,7 @@ public static function setPresenceVerifier($presenceVerifier) * * @return \Illuminate\Contracts\Container\Container|null * @static - */ - public static function getContainer() + */ public static function getContainer() { /** @var \Illuminate\Validation\Factory $instance */ return $instance->getContainer(); @@ -17342,20 +16090,17 @@ public static function getContainer() * @param \Illuminate\Contracts\Container\Container $container * @return \Illuminate\Validation\Factory * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { /** @var \Illuminate\Validation\Factory $instance */ return $instance->setContainer($container); } - - } + } /** * * * @see \Illuminate\View\Factory - */ - class View { + */ class View { /** * Get the evaluated view contents for the given view. * @@ -17364,8 +16109,7 @@ class View { * @param array $mergeData * @return \Illuminate\Contracts\View\View * @static - */ - public static function file($path, $data = [], $mergeData = []) + */ public static function file($path, $data = [], $mergeData = []) { /** @var \Illuminate\View\Factory $instance */ return $instance->file($path, $data, $mergeData); @@ -17378,8 +16122,7 @@ public static function file($path, $data = [], $mergeData = []) * @param array $mergeData * @return \Illuminate\Contracts\View\View * @static - */ - public static function make($view, $data = [], $mergeData = []) + */ public static function make($view, $data = [], $mergeData = []) { /** @var \Illuminate\View\Factory $instance */ return $instance->make($view, $data, $mergeData); @@ -17393,8 +16136,7 @@ public static function make($view, $data = [], $mergeData = []) * @return \Illuminate\Contracts\View\View * @throws \InvalidArgumentException * @static - */ - public static function first($views, $data = [], $mergeData = []) + */ public static function first($views, $data = [], $mergeData = []) { /** @var \Illuminate\View\Factory $instance */ return $instance->first($views, $data, $mergeData); @@ -17408,8 +16150,7 @@ public static function first($views, $data = [], $mergeData = []) * @param array $mergeData * @return string * @static - */ - public static function renderWhen($condition, $view, $data = [], $mergeData = []) + */ public static function renderWhen($condition, $view, $data = [], $mergeData = []) { /** @var \Illuminate\View\Factory $instance */ return $instance->renderWhen($condition, $view, $data, $mergeData); @@ -17423,8 +16164,7 @@ public static function renderWhen($condition, $view, $data = [], $mergeData = [] * @param array $mergeData * @return string * @static - */ - public static function renderUnless($condition, $view, $data = [], $mergeData = []) + */ public static function renderUnless($condition, $view, $data = [], $mergeData = []) { /** @var \Illuminate\View\Factory $instance */ return $instance->renderUnless($condition, $view, $data, $mergeData); @@ -17438,8 +16178,7 @@ public static function renderUnless($condition, $view, $data = [], $mergeData = * @param string $empty * @return string * @static - */ - public static function renderEach($view, $data, $iterator, $empty = 'raw|') + */ public static function renderEach($view, $data, $iterator, $empty = 'raw|') { /** @var \Illuminate\View\Factory $instance */ return $instance->renderEach($view, $data, $iterator, $empty); @@ -17450,8 +16189,7 @@ public static function renderEach($view, $data, $iterator, $empty = 'raw|') * @param string $view * @return bool * @static - */ - public static function exists($view) + */ public static function exists($view) { /** @var \Illuminate\View\Factory $instance */ return $instance->exists($view); @@ -17463,8 +16201,7 @@ public static function exists($view) * @return \Illuminate\Contracts\View\Engine * @throws \InvalidArgumentException * @static - */ - public static function getEngineFromPath($path) + */ public static function getEngineFromPath($path) { /** @var \Illuminate\View\Factory $instance */ return $instance->getEngineFromPath($path); @@ -17476,8 +16213,7 @@ public static function getEngineFromPath($path) * @param mixed|null $value * @return mixed * @static - */ - public static function share($key, $value = null) + */ public static function share($key, $value = null) { /** @var \Illuminate\View\Factory $instance */ return $instance->share($key, $value); @@ -17487,8 +16223,7 @@ public static function share($key, $value = null) * * @return void * @static - */ - public static function incrementRender() + */ public static function incrementRender() { /** @var \Illuminate\View\Factory $instance */ $instance->incrementRender(); @@ -17498,8 +16233,7 @@ public static function incrementRender() * * @return void * @static - */ - public static function decrementRender() + */ public static function decrementRender() { /** @var \Illuminate\View\Factory $instance */ $instance->decrementRender(); @@ -17509,8 +16243,7 @@ public static function decrementRender() * * @return bool * @static - */ - public static function doneRendering() + */ public static function doneRendering() { /** @var \Illuminate\View\Factory $instance */ return $instance->doneRendering(); @@ -17521,8 +16254,7 @@ public static function doneRendering() * @param string $id * @return bool * @static - */ - public static function hasRenderedOnce($id) + */ public static function hasRenderedOnce($id) { /** @var \Illuminate\View\Factory $instance */ return $instance->hasRenderedOnce($id); @@ -17533,8 +16265,7 @@ public static function hasRenderedOnce($id) * @param string $id * @return void * @static - */ - public static function markAsRenderedOnce($id) + */ public static function markAsRenderedOnce($id) { /** @var \Illuminate\View\Factory $instance */ $instance->markAsRenderedOnce($id); @@ -17545,8 +16276,7 @@ public static function markAsRenderedOnce($id) * @param string $location * @return void * @static - */ - public static function addLocation($location) + */ public static function addLocation($location) { /** @var \Illuminate\View\Factory $instance */ $instance->addLocation($location); @@ -17558,8 +16288,7 @@ public static function addLocation($location) * @param string|array $hints * @return \Illuminate\View\Factory * @static - */ - public static function addNamespace($namespace, $hints) + */ public static function addNamespace($namespace, $hints) { /** @var \Illuminate\View\Factory $instance */ return $instance->addNamespace($namespace, $hints); @@ -17571,8 +16300,7 @@ public static function addNamespace($namespace, $hints) * @param string|array $hints * @return \Illuminate\View\Factory * @static - */ - public static function prependNamespace($namespace, $hints) + */ public static function prependNamespace($namespace, $hints) { /** @var \Illuminate\View\Factory $instance */ return $instance->prependNamespace($namespace, $hints); @@ -17584,8 +16312,7 @@ public static function prependNamespace($namespace, $hints) * @param string|array $hints * @return \Illuminate\View\Factory * @static - */ - public static function replaceNamespace($namespace, $hints) + */ public static function replaceNamespace($namespace, $hints) { /** @var \Illuminate\View\Factory $instance */ return $instance->replaceNamespace($namespace, $hints); @@ -17598,8 +16325,7 @@ public static function replaceNamespace($namespace, $hints) * @param \Closure|null $resolver * @return void * @static - */ - public static function addExtension($extension, $engine, $resolver = null) + */ public static function addExtension($extension, $engine, $resolver = null) { /** @var \Illuminate\View\Factory $instance */ $instance->addExtension($extension, $engine, $resolver); @@ -17609,8 +16335,7 @@ public static function addExtension($extension, $engine, $resolver = null) * * @return void * @static - */ - public static function flushState() + */ public static function flushState() { /** @var \Illuminate\View\Factory $instance */ $instance->flushState(); @@ -17620,8 +16345,7 @@ public static function flushState() * * @return void * @static - */ - public static function flushStateIfDoneRendering() + */ public static function flushStateIfDoneRendering() { /** @var \Illuminate\View\Factory $instance */ $instance->flushStateIfDoneRendering(); @@ -17631,8 +16355,7 @@ public static function flushStateIfDoneRendering() * * @return array * @static - */ - public static function getExtensions() + */ public static function getExtensions() { /** @var \Illuminate\View\Factory $instance */ return $instance->getExtensions(); @@ -17642,8 +16365,7 @@ public static function getExtensions() * * @return \Illuminate\View\Engines\EngineResolver * @static - */ - public static function getEngineResolver() + */ public static function getEngineResolver() { /** @var \Illuminate\View\Factory $instance */ return $instance->getEngineResolver(); @@ -17653,8 +16375,7 @@ public static function getEngineResolver() * * @return \Illuminate\View\ViewFinderInterface * @static - */ - public static function getFinder() + */ public static function getFinder() { /** @var \Illuminate\View\Factory $instance */ return $instance->getFinder(); @@ -17665,8 +16386,7 @@ public static function getFinder() * @param \Illuminate\View\ViewFinderInterface $finder * @return void * @static - */ - public static function setFinder($finder) + */ public static function setFinder($finder) { /** @var \Illuminate\View\Factory $instance */ $instance->setFinder($finder); @@ -17676,8 +16396,7 @@ public static function setFinder($finder) * * @return void * @static - */ - public static function flushFinderCache() + */ public static function flushFinderCache() { /** @var \Illuminate\View\Factory $instance */ $instance->flushFinderCache(); @@ -17687,8 +16406,7 @@ public static function flushFinderCache() * * @return \Illuminate\Contracts\Events\Dispatcher * @static - */ - public static function getDispatcher() + */ public static function getDispatcher() { /** @var \Illuminate\View\Factory $instance */ return $instance->getDispatcher(); @@ -17699,8 +16417,7 @@ public static function getDispatcher() * @param \Illuminate\Contracts\Events\Dispatcher $events * @return void * @static - */ - public static function setDispatcher($events) + */ public static function setDispatcher($events) { /** @var \Illuminate\View\Factory $instance */ $instance->setDispatcher($events); @@ -17710,8 +16427,7 @@ public static function setDispatcher($events) * * @return \Illuminate\Contracts\Container\Container * @static - */ - public static function getContainer() + */ public static function getContainer() { /** @var \Illuminate\View\Factory $instance */ return $instance->getContainer(); @@ -17722,8 +16438,7 @@ public static function getContainer() * @param \Illuminate\Contracts\Container\Container $container * @return void * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { /** @var \Illuminate\View\Factory $instance */ $instance->setContainer($container); @@ -17735,8 +16450,7 @@ public static function setContainer($container) * @param mixed $default * @return mixed * @static - */ - public static function shared($key, $default = null) + */ public static function shared($key, $default = null) { /** @var \Illuminate\View\Factory $instance */ return $instance->shared($key, $default); @@ -17746,8 +16460,7 @@ public static function shared($key, $default = null) * * @return array * @static - */ - public static function getShared() + */ public static function getShared() { /** @var \Illuminate\View\Factory $instance */ return $instance->getShared(); @@ -17759,8 +16472,7 @@ public static function getShared() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\View\Factory::macro($name, $macro); } @@ -17772,8 +16484,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\View\Factory::mixin($mixin, $replace); } @@ -17783,8 +16494,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\View\Factory::hasMacro($name); } @@ -17793,8 +16503,7 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\View\Factory::flushMacros(); } @@ -17805,8 +16514,7 @@ public static function flushMacros() * @param array $data * @return void * @static - */ - public static function startComponent($view, $data = []) + */ public static function startComponent($view, $data = []) { /** @var \Illuminate\View\Factory $instance */ $instance->startComponent($view, $data); @@ -17818,8 +16526,7 @@ public static function startComponent($view, $data = []) * @param array $data * @return void * @static - */ - public static function startComponentFirst($names, $data = []) + */ public static function startComponentFirst($names, $data = []) { /** @var \Illuminate\View\Factory $instance */ $instance->startComponentFirst($names, $data); @@ -17829,8 +16536,7 @@ public static function startComponentFirst($names, $data = []) * * @return string * @static - */ - public static function renderComponent() + */ public static function renderComponent() { /** @var \Illuminate\View\Factory $instance */ return $instance->renderComponent(); @@ -17842,8 +16548,7 @@ public static function renderComponent() * @param mixed $default * @return mixed|null * @static - */ - public static function getConsumableComponentData($key, $default = null) + */ public static function getConsumableComponentData($key, $default = null) { /** @var \Illuminate\View\Factory $instance */ return $instance->getConsumableComponentData($key, $default); @@ -17856,8 +16561,7 @@ public static function getConsumableComponentData($key, $default = null) * @param array $attributes * @return void * @static - */ - public static function slot($name, $content = null, $attributes = []) + */ public static function slot($name, $content = null, $attributes = []) { /** @var \Illuminate\View\Factory $instance */ $instance->slot($name, $content, $attributes); @@ -17867,8 +16571,7 @@ public static function slot($name, $content = null, $attributes = []) * * @return void * @static - */ - public static function endSlot() + */ public static function endSlot() { /** @var \Illuminate\View\Factory $instance */ $instance->endSlot(); @@ -17880,8 +16583,7 @@ public static function endSlot() * @param \Closure|string $callback * @return array * @static - */ - public static function creator($views, $callback) + */ public static function creator($views, $callback) { /** @var \Illuminate\View\Factory $instance */ return $instance->creator($views, $callback); @@ -17892,8 +16594,7 @@ public static function creator($views, $callback) * @param array $composers * @return array * @static - */ - public static function composers($composers) + */ public static function composers($composers) { /** @var \Illuminate\View\Factory $instance */ return $instance->composers($composers); @@ -17905,8 +16606,7 @@ public static function composers($composers) * @param \Closure|string $callback * @return array * @static - */ - public static function composer($views, $callback) + */ public static function composer($views, $callback) { /** @var \Illuminate\View\Factory $instance */ return $instance->composer($views, $callback); @@ -17917,8 +16617,7 @@ public static function composer($views, $callback) * @param \Illuminate\Contracts\View\View $view * @return void * @static - */ - public static function callComposer($view) + */ public static function callComposer($view) { /** @var \Illuminate\View\Factory $instance */ $instance->callComposer($view); @@ -17929,8 +16628,7 @@ public static function callComposer($view) * @param \Illuminate\Contracts\View\View $view * @return void * @static - */ - public static function callCreator($view) + */ public static function callCreator($view) { /** @var \Illuminate\View\Factory $instance */ $instance->callCreator($view); @@ -17941,8 +16639,7 @@ public static function callCreator($view) * @param string $fragment * @return void * @static - */ - public static function startFragment($fragment) + */ public static function startFragment($fragment) { /** @var \Illuminate\View\Factory $instance */ $instance->startFragment($fragment); @@ -17953,8 +16650,7 @@ public static function startFragment($fragment) * @return string * @throws \InvalidArgumentException * @static - */ - public static function stopFragment() + */ public static function stopFragment() { /** @var \Illuminate\View\Factory $instance */ return $instance->stopFragment(); @@ -17966,8 +16662,7 @@ public static function stopFragment() * @param string|null $default * @return mixed * @static - */ - public static function getFragment($name, $default = null) + */ public static function getFragment($name, $default = null) { /** @var \Illuminate\View\Factory $instance */ return $instance->getFragment($name, $default); @@ -17977,8 +16672,7 @@ public static function getFragment($name, $default = null) * * @return array * @static - */ - public static function getFragments() + */ public static function getFragments() { /** @var \Illuminate\View\Factory $instance */ return $instance->getFragments(); @@ -17988,8 +16682,7 @@ public static function getFragments() * * @return void * @static - */ - public static function flushFragments() + */ public static function flushFragments() { /** @var \Illuminate\View\Factory $instance */ $instance->flushFragments(); @@ -18001,8 +16694,7 @@ public static function flushFragments() * @param string|null $content * @return void * @static - */ - public static function startSection($section, $content = null) + */ public static function startSection($section, $content = null) { /** @var \Illuminate\View\Factory $instance */ $instance->startSection($section, $content); @@ -18014,8 +16706,7 @@ public static function startSection($section, $content = null) * @param string $content * @return void * @static - */ - public static function inject($section, $content) + */ public static function inject($section, $content) { /** @var \Illuminate\View\Factory $instance */ $instance->inject($section, $content); @@ -18025,8 +16716,7 @@ public static function inject($section, $content) * * @return string * @static - */ - public static function yieldSection() + */ public static function yieldSection() { /** @var \Illuminate\View\Factory $instance */ return $instance->yieldSection(); @@ -18038,8 +16728,7 @@ public static function yieldSection() * @return string * @throws \InvalidArgumentException * @static - */ - public static function stopSection($overwrite = false) + */ public static function stopSection($overwrite = false) { /** @var \Illuminate\View\Factory $instance */ return $instance->stopSection($overwrite); @@ -18050,8 +16739,7 @@ public static function stopSection($overwrite = false) * @return string * @throws \InvalidArgumentException * @static - */ - public static function appendSection() + */ public static function appendSection() { /** @var \Illuminate\View\Factory $instance */ return $instance->appendSection(); @@ -18063,8 +16751,7 @@ public static function appendSection() * @param string $default * @return string * @static - */ - public static function yieldContent($section, $default = '') + */ public static function yieldContent($section, $default = '') { /** @var \Illuminate\View\Factory $instance */ return $instance->yieldContent($section, $default); @@ -18075,8 +16762,7 @@ public static function yieldContent($section, $default = '') * @param string $section * @return string * @static - */ - public static function parentPlaceholder($section = '') + */ public static function parentPlaceholder($section = '') { return \Illuminate\View\Factory::parentPlaceholder($section); } @@ -18086,8 +16772,7 @@ public static function parentPlaceholder($section = '') * @param string $name * @return bool * @static - */ - public static function hasSection($name) + */ public static function hasSection($name) { /** @var \Illuminate\View\Factory $instance */ return $instance->hasSection($name); @@ -18098,8 +16783,7 @@ public static function hasSection($name) * @param string $name * @return bool * @static - */ - public static function sectionMissing($name) + */ public static function sectionMissing($name) { /** @var \Illuminate\View\Factory $instance */ return $instance->sectionMissing($name); @@ -18111,8 +16795,7 @@ public static function sectionMissing($name) * @param string|null $default * @return mixed * @static - */ - public static function getSection($name, $default = null) + */ public static function getSection($name, $default = null) { /** @var \Illuminate\View\Factory $instance */ return $instance->getSection($name, $default); @@ -18122,8 +16805,7 @@ public static function getSection($name, $default = null) * * @return array * @static - */ - public static function getSections() + */ public static function getSections() { /** @var \Illuminate\View\Factory $instance */ return $instance->getSections(); @@ -18133,8 +16815,7 @@ public static function getSections() * * @return void * @static - */ - public static function flushSections() + */ public static function flushSections() { /** @var \Illuminate\View\Factory $instance */ $instance->flushSections(); @@ -18145,8 +16826,7 @@ public static function flushSections() * @param \Countable|array $data * @return void * @static - */ - public static function addLoop($data) + */ public static function addLoop($data) { /** @var \Illuminate\View\Factory $instance */ $instance->addLoop($data); @@ -18156,8 +16836,7 @@ public static function addLoop($data) * * @return void * @static - */ - public static function incrementLoopIndices() + */ public static function incrementLoopIndices() { /** @var \Illuminate\View\Factory $instance */ $instance->incrementLoopIndices(); @@ -18167,8 +16846,7 @@ public static function incrementLoopIndices() * * @return void * @static - */ - public static function popLoop() + */ public static function popLoop() { /** @var \Illuminate\View\Factory $instance */ $instance->popLoop(); @@ -18178,8 +16856,7 @@ public static function popLoop() * * @return \stdClass|null * @static - */ - public static function getLastLoop() + */ public static function getLastLoop() { /** @var \Illuminate\View\Factory $instance */ return $instance->getLastLoop(); @@ -18189,8 +16866,7 @@ public static function getLastLoop() * * @return array * @static - */ - public static function getLoopStack() + */ public static function getLoopStack() { /** @var \Illuminate\View\Factory $instance */ return $instance->getLoopStack(); @@ -18202,8 +16878,7 @@ public static function getLoopStack() * @param string $content * @return void * @static - */ - public static function startPush($section, $content = '') + */ public static function startPush($section, $content = '') { /** @var \Illuminate\View\Factory $instance */ $instance->startPush($section, $content); @@ -18214,8 +16889,7 @@ public static function startPush($section, $content = '') * @return string * @throws \InvalidArgumentException * @static - */ - public static function stopPush() + */ public static function stopPush() { /** @var \Illuminate\View\Factory $instance */ return $instance->stopPush(); @@ -18227,8 +16901,7 @@ public static function stopPush() * @param string $content * @return void * @static - */ - public static function startPrepend($section, $content = '') + */ public static function startPrepend($section, $content = '') { /** @var \Illuminate\View\Factory $instance */ $instance->startPrepend($section, $content); @@ -18239,8 +16912,7 @@ public static function startPrepend($section, $content = '') * @return string * @throws \InvalidArgumentException * @static - */ - public static function stopPrepend() + */ public static function stopPrepend() { /** @var \Illuminate\View\Factory $instance */ return $instance->stopPrepend(); @@ -18252,8 +16924,7 @@ public static function stopPrepend() * @param string $default * @return string * @static - */ - public static function yieldPushContent($section, $default = '') + */ public static function yieldPushContent($section, $default = '') { /** @var \Illuminate\View\Factory $instance */ return $instance->yieldPushContent($section, $default); @@ -18263,8 +16934,7 @@ public static function yieldPushContent($section, $default = '') * * @return void * @static - */ - public static function flushStacks() + */ public static function flushStacks() { /** @var \Illuminate\View\Factory $instance */ $instance->flushStacks(); @@ -18275,8 +16945,7 @@ public static function flushStacks() * @param array $replacements * @return void * @static - */ - public static function startTranslation($replacements = []) + */ public static function startTranslation($replacements = []) { /** @var \Illuminate\View\Factory $instance */ $instance->startTranslation($replacements); @@ -18286,27 +16955,23 @@ public static function startTranslation($replacements = []) * * @return string * @static - */ - public static function renderTranslation() + */ public static function renderTranslation() { /** @var \Illuminate\View\Factory $instance */ return $instance->renderTranslation(); } - - } + } /** * * * @see \Illuminate\Foundation\Vite - */ - class Vite { + */ class Vite { /** * Get the preloaded assets. * * @return array * @static - */ - public static function preloadedAssets() + */ public static function preloadedAssets() { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->preloadedAssets(); @@ -18316,8 +16981,7 @@ public static function preloadedAssets() * * @return string|null * @static - */ - public static function cspNonce() + */ public static function cspNonce() { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->cspNonce(); @@ -18328,8 +16992,7 @@ public static function cspNonce() * @param string|null $nonce * @return string * @static - */ - public static function useCspNonce($nonce = null) + */ public static function useCspNonce($nonce = null) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useCspNonce($nonce); @@ -18340,8 +17003,7 @@ public static function useCspNonce($nonce = null) * @param string|false $key * @return \Illuminate\Foundation\Vite * @static - */ - public static function useIntegrityKey($key) + */ public static function useIntegrityKey($key) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useIntegrityKey($key); @@ -18352,8 +17014,7 @@ public static function useIntegrityKey($key) * @param array $entryPoints * @return \Illuminate\Foundation\Vite * @static - */ - public static function withEntryPoints($entryPoints) + */ public static function withEntryPoints($entryPoints) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->withEntryPoints($entryPoints); @@ -18364,19 +17025,28 @@ public static function withEntryPoints($entryPoints) * @param string $filename * @return \Illuminate\Foundation\Vite * @static - */ - public static function useManifestFilename($filename) + */ public static function useManifestFilename($filename) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useManifestFilename($filename); + } + /** + * Resolve asset paths using the provided resolver. + * + * @param callable|null $urlResolver + * @return \Illuminate\Foundation\Vite + * @static + */ public static function createAssetPathsUsing($resolver) + { + /** @var \Illuminate\Foundation\Vite $instance */ + return $instance->createAssetPathsUsing($resolver); } /** * Get the Vite "hot" file path. * * @return string * @static - */ - public static function hotFile() + */ public static function hotFile() { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->hotFile(); @@ -18387,8 +17057,7 @@ public static function hotFile() * @param string $path * @return \Illuminate\Foundation\Vite * @static - */ - public static function useHotFile($path) + */ public static function useHotFile($path) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useHotFile($path); @@ -18399,8 +17068,7 @@ public static function useHotFile($path) * @param string $path * @return \Illuminate\Foundation\Vite * @static - */ - public static function useBuildDirectory($path) + */ public static function useBuildDirectory($path) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useBuildDirectory($path); @@ -18411,8 +17079,7 @@ public static function useBuildDirectory($path) * @param \Illuminate\Foundation\(callable(string, string, ?array, ?array): array)|array $attributes * @return \Illuminate\Foundation\Vite * @static - */ - public static function useScriptTagAttributes($attributes) + */ public static function useScriptTagAttributes($attributes) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useScriptTagAttributes($attributes); @@ -18423,8 +17090,7 @@ public static function useScriptTagAttributes($attributes) * @param \Illuminate\Foundation\(callable(string, string, ?array, ?array): array)|array $attributes * @return \Illuminate\Foundation\Vite * @static - */ - public static function useStyleTagAttributes($attributes) + */ public static function useStyleTagAttributes($attributes) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->useStyleTagAttributes($attributes); @@ -18435,8 +17101,7 @@ public static function useStyleTagAttributes($attributes) * @param \Illuminate\Foundation\(callable(string, string, ?array, ?array): (array|false))|array|false $attributes * @return \Illuminate\Foundation\Vite * @static - */ - public static function usePreloadTagAttributes($attributes) + */ public static function usePreloadTagAttributes($attributes) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->usePreloadTagAttributes($attributes); @@ -18446,8 +17111,7 @@ public static function usePreloadTagAttributes($attributes) * * @return \Illuminate\Support\HtmlString|void * @static - */ - public static function reactRefresh() + */ public static function reactRefresh() { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->reactRefresh(); @@ -18459,8 +17123,7 @@ public static function reactRefresh() * @param string|null $buildDirectory * @return string * @static - */ - public static function asset($asset, $buildDirectory = null) + */ public static function asset($asset, $buildDirectory = null) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->asset($asset, $buildDirectory); @@ -18473,8 +17136,7 @@ public static function asset($asset, $buildDirectory = null) * @return string * @throws \Exception * @static - */ - public static function content($asset, $buildDirectory = null) + */ public static function content($asset, $buildDirectory = null) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->content($asset, $buildDirectory); @@ -18485,8 +17147,7 @@ public static function content($asset, $buildDirectory = null) * @param string|null $buildDirectory * @return string|null * @static - */ - public static function manifestHash($buildDirectory = null) + */ public static function manifestHash($buildDirectory = null) { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->manifestHash($buildDirectory); @@ -18496,8 +17157,7 @@ public static function manifestHash($buildDirectory = null) * * @return bool * @static - */ - public static function isRunningHot() + */ public static function isRunningHot() { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->isRunningHot(); @@ -18507,8 +17167,7 @@ public static function isRunningHot() * * @return string * @static - */ - public static function toHtml() + */ public static function toHtml() { /** @var \Illuminate\Foundation\Vite $instance */ return $instance->toHtml(); @@ -18520,8 +17179,7 @@ public static function toHtml() * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Foundation\Vite::macro($name, $macro); } @@ -18533,8 +17191,7 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Foundation\Vite::mixin($mixin, $replace); } @@ -18544,8 +17201,7 @@ public static function mixin($mixin, $replace = true) * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { return \Illuminate\Foundation\Vite::hasMacro($name); } @@ -18554,62 +17210,25 @@ public static function hasMacro($name) * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Foundation\Vite::flushMacros(); } - + } } - -} - namespace Illuminate\Support { +namespace App\Facades { /** * * - */ - class Arr { - - } - /** - * - * - */ - class Js { - - } - /** - * - * - */ - class Number { - - } - /** - * - * - */ - class Str { - - } - -} - - namespace App\Facades { - /** - * - * - */ - class QrCode { + */ class QrCode { /** * Encode a string into a QR code image * * @param string $data The string to encode * @return mixed * @static - */ - public static function encode($data) + */ public static function encode($data) { return \App\Services\QrCodeService::encode($data); } @@ -18618,19 +17237,16 @@ public static function encode($data) * * @return string * @static - */ - public static function decode($file) + */ public static function decode($file) { return \App\Services\QrCodeService::decode($file); } - - } + } /** * * * @see \App\Services\GroupService - */ - class Groups { + */ class Groups { /** * Assign one or more accounts to a group * @@ -18638,8 +17254,7 @@ class Groups { * @param \App\Models\Group|null $group The group the accounts will be assigned to * @throws \Illuminate\Auth\Access\AuthorizationException * @static - */ - public static function assign($ids, $user, $group = null) + */ public static function assign($ids, $user, $group = null) { return \App\Services\GroupService::assign($ids, $user, $group); } @@ -18649,8 +17264,7 @@ public static function assign($ids, $user, $group = null) * @param \App\Services\Collection $groups * @return \App\Services\Collection * @static - */ - public static function prependTheAllGroup($groups, $user) + */ public static function prependTheAllGroup($groups, $user) { return \App\Services\GroupService::prependTheAllGroup($groups, $user); } @@ -18659,26 +17273,22 @@ public static function prependTheAllGroup($groups, $user) * * @param \App\Services\Collection $groups * @static - */ - public static function setUser($groups, $user) + */ public static function setUser($groups, $user) { return \App\Services\GroupService::setUser($groups, $user); } - - } + } /** * * * @see \App\Services\TwoFAccountService - */ - class TwoFAccounts { + */ class TwoFAccounts { /** * Withdraw one or more twofaccounts from their group * * @param int|array|string $ids twofaccount ids to free * @static - */ - public static function withdraw($ids) + */ public static function withdraw($ids) { return \App\Services\TwoFAccountService::withdraw($ids); } @@ -18688,8 +17298,7 @@ public static function withdraw($ids) * @param string $migrationPayload Migration payload from 2FA apps export feature * @return \Illuminate\Support\Collection The converted accounts * @static - */ - public static function migrate($migrationPayload) + */ public static function migrate($migrationPayload) { /** @var \App\Services\TwoFAccountService $instance */ return $instance->migrate($migrationPayload); @@ -18700,8 +17309,7 @@ public static function migrate($migrationPayload) * @param int|array|string $ids twofaccount ids to delete * @return \Illuminate\Support\Collection The converted accounts * @static - */ - public static function export($ids) + */ public static function export($ids) { return \App\Services\TwoFAccountService::export($ids); } @@ -18711,8 +17319,7 @@ public static function export($ids) * @param int|array|string $ids twofaccount ids to delete * @return int The number of deleted * @static - */ - public static function delete($ids) + */ public static function delete($ids) { return \App\Services\TwoFAccountService::delete($ids); } @@ -18721,35 +17328,20 @@ public static function delete($ids) * * @param \Illuminate\Support\Collection $twofaccounts * @static - */ - public static function setUser($twofaccounts, $user) + */ public static function setUser($twofaccounts, $user) { return \App\Services\TwoFAccountService::setUser($twofaccounts, $user); } - + } } - -} - namespace App\Helpers { - /** - * - * - */ - class Helpers { - - } - -} - - namespace Jackiedo\DotenvEditor\Facades { +namespace Jackiedo\DotenvEditor\Facades { /** * The DotenvEditor facade. * * @package Jackiedo\DotenvEditor\Facades * @author Jackie Do - */ - class DotenvEditor { + */ class DotenvEditor { /** * Load file for working. * @@ -18758,8 +17350,7 @@ class DotenvEditor { * @param null|string $restorePath The file path you want to restore from * @return \DotenvEditor * @static - */ - public static function load($filePath = null, $restoreIfNotFound = false, $restorePath = null) + */ public static function load($filePath = null, $restoreIfNotFound = false, $restorePath = null) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->load($filePath, $restoreIfNotFound, $restorePath); @@ -18769,8 +17360,7 @@ public static function load($filePath = null, $restoreIfNotFound = false, $resto * * @return string * @static - */ - public static function getContent() + */ public static function getContent() { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getContent(); @@ -18781,8 +17371,7 @@ public static function getContent() * @param bool $withParsedData Include parsed data for each entry in the result * @return array * @static - */ - public static function getEntries($withParsedData = false) + */ public static function getEntries($withParsedData = false) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getEntries($withParsedData); @@ -18793,8 +17382,7 @@ public static function getEntries($withParsedData = false) * @param array $keys The setter key names * @return array * @static - */ - public static function getKeys($keys = []) + */ public static function getKeys($keys = []) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getKeys($keys); @@ -18806,8 +17394,7 @@ public static function getKeys($keys = []) * @return array * @throws KeyNotFoundException * @static - */ - public static function getKey($key) + */ public static function getKey($key) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getKey($key); @@ -18818,8 +17405,7 @@ public static function getKey($key) * @param string $key The setter key name * @return string * @static - */ - public static function getValue($key) + */ public static function getValue($key) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getValue($key); @@ -18830,8 +17416,7 @@ public static function getValue($key) * @param string $key The setter key name * @return bool * @static - */ - public static function keyExists($key) + */ public static function keyExists($key) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->keyExists($key); @@ -18841,8 +17426,7 @@ public static function keyExists($key) * * @return bool * @static - */ - public static function hasChanged() + */ public static function hasChanged() { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->hasChanged(); @@ -18853,8 +17437,7 @@ public static function hasChanged() * @param bool $asArray Use array format for the result * @return array * @static - */ - public static function getBuffer($asArray = true) + */ public static function getBuffer($asArray = true) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getBuffer($asArray); @@ -18864,8 +17447,7 @@ public static function getBuffer($asArray = true) * * @return \DotenvEditor * @static - */ - public static function addEmpty() + */ public static function addEmpty() { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->addEmpty(); @@ -18876,8 +17458,7 @@ public static function addEmpty() * @param string $comment Comment content * @return \DotenvEditor * @static - */ - public static function addComment($comment) + */ public static function addComment($comment) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->addComment($comment); @@ -18888,8 +17469,7 @@ public static function addComment($comment) * @param array $data The setter data set * @return \DotenvEditor * @static - */ - public static function setKeys($data) + */ public static function setKeys($data) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->setKeys($data); @@ -18903,8 +17483,7 @@ public static function setKeys($data) * @param null|bool $export Leading key name by "export " * @return \DotenvEditor * @static - */ - public static function setKey($key, $value = null, $comment = null, $export = null) + */ public static function setKey($key, $value = null, $comment = null, $export = null) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->setKey($key, $value, $comment, $export); @@ -18916,8 +17495,7 @@ public static function setKey($key, $value = null, $comment = null, $export = nu * @param null|string $comment The comment content * @return \DotenvEditor * @static - */ - public static function setSetterComment($key, $comment = null) + */ public static function setSetterComment($key, $comment = null) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->setSetterComment($key, $comment); @@ -18928,8 +17506,7 @@ public static function setSetterComment($key, $comment = null) * @param string $key The setter key name * @return \DotenvEditor * @static - */ - public static function clearSetterComment($key) + */ public static function clearSetterComment($key) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->clearSetterComment($key); @@ -18941,8 +17518,7 @@ public static function clearSetterComment($key) * @param bool $state Leading key name by "export " * @return \DotenvEditor * @static - */ - public static function setExportSetter($key, $state = true) + */ public static function setExportSetter($key, $state = true) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->setExportSetter($key, $state); @@ -18953,8 +17529,7 @@ public static function setExportSetter($key, $state = true) * @param array $keys The setter key names * @return \DotenvEditor * @static - */ - public static function deleteKeys($keys = []) + */ public static function deleteKeys($keys = []) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->deleteKeys($keys); @@ -18965,8 +17540,7 @@ public static function deleteKeys($keys = []) * @param string $key The setter key name * @return \DotenvEditor * @static - */ - public static function deleteKey($key) + */ public static function deleteKey($key) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->deleteKey($key); @@ -18977,8 +17551,7 @@ public static function deleteKey($key) * @param bool $rebuildBuffer Rebuild buffer from content of dotenv file * @return \DotenvEditor * @static - */ - public static function save($rebuildBuffer = true) + */ public static function save($rebuildBuffer = true) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->save($rebuildBuffer); @@ -18989,8 +17562,7 @@ public static function save($rebuildBuffer = true) * @param bool $on The state to set * @return \DotenvEditor * @static - */ - public static function autoBackup($on = true) + */ public static function autoBackup($on = true) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->autoBackup($on); @@ -19001,8 +17573,7 @@ public static function autoBackup($on = true) * @return \DotenvEditor * @throws FileNotFoundException * @static - */ - public static function backup() + */ public static function backup() { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->backup(); @@ -19012,8 +17583,7 @@ public static function backup() * * @return array * @static - */ - public static function getBackups() + */ public static function getBackups() { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getBackups(); @@ -19023,8 +17593,7 @@ public static function getBackups() * * @return array * @static - */ - public static function getLatestBackup() + */ public static function getLatestBackup() { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->getLatestBackup(); @@ -19037,8 +17606,7 @@ public static function getLatestBackup() * @throws NoBackupAvailableException * @throws FileNotFoundException * @static - */ - public static function restore($filePath = null) + */ public static function restore($filePath = null) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->restore($filePath); @@ -19049,8 +17617,7 @@ public static function restore($filePath = null) * @param array $filePaths The set of backup files to delete * @return \DotenvEditor * @static - */ - public static function deleteBackups($filePaths = []) + */ public static function deleteBackups($filePaths = []) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->deleteBackups($filePaths); @@ -19061,32 +17628,517 @@ public static function deleteBackups($filePaths = []) * @param string $filePath The backup file to delete * @return \DotenvEditor * @static - */ - public static function deleteBackup($filePath) + */ public static function deleteBackup($filePath) { /** @var \Jackiedo\DotenvEditor\DotenvEditor $instance */ return $instance->deleteBackup($filePath); } - + } } - -} - namespace Laravel\Socialite\Facades { +namespace Jenssegers\Agent\Facades { + /** + * + * + */ class Agent { + /** + * Get all detection rules. These rules include the additional + * platforms and browsers and utilities. + * + * @return array + * @static + */ public static function getDetectionRulesExtended() + { + return \Jenssegers\Agent\Agent::getDetectionRulesExtended(); + } + /** + * + * + * @static + */ public static function getRules() + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getRules(); + } + /** + * + * + * @return \Jaybizzle\CrawlerDetect\CrawlerDetect + * @static + */ public static function getCrawlerDetect() + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getCrawlerDetect(); + } + /** + * + * + * @static + */ public static function getBrowsers() + { + return \Jenssegers\Agent\Agent::getBrowsers(); + } + /** + * + * + * @static + */ public static function getOperatingSystems() + { + return \Jenssegers\Agent\Agent::getOperatingSystems(); + } + /** + * + * + * @static + */ public static function getPlatforms() + { + return \Jenssegers\Agent\Agent::getPlatforms(); + } + /** + * + * + * @static + */ public static function getDesktopDevices() + { + return \Jenssegers\Agent\Agent::getDesktopDevices(); + } + /** + * + * + * @static + */ public static function getProperties() + { + return \Jenssegers\Agent\Agent::getProperties(); + } + /** + * Get accept languages. + * + * @param string $acceptLanguage + * @return array + * @static + */ public static function languages($acceptLanguage = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->languages($acceptLanguage); + } + /** + * Get the browser name. + * + * @param string|null $userAgent + * @return string|bool + * @static + */ public static function browser($userAgent = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->browser($userAgent); + } + /** + * Get the platform name. + * + * @param string|null $userAgent + * @return string|bool + * @static + */ public static function platform($userAgent = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->platform($userAgent); + } + /** + * Get the device name. + * + * @param string|null $userAgent + * @return string|bool + * @static + */ public static function device($userAgent = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->device($userAgent); + } + /** + * Check if the device is a desktop computer. + * + * @param string|null $userAgent deprecated + * @param array $httpHeaders deprecated + * @return bool + * @static + */ public static function isDesktop($userAgent = null, $httpHeaders = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->isDesktop($userAgent, $httpHeaders); + } + /** + * Check if the device is a mobile phone. + * + * @param string|null $userAgent deprecated + * @param array $httpHeaders deprecated + * @return bool + * @static + */ public static function isPhone($userAgent = null, $httpHeaders = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->isPhone($userAgent, $httpHeaders); + } + /** + * Get the robot name. + * + * @param string|null $userAgent + * @return string|bool + * @static + */ public static function robot($userAgent = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->robot($userAgent); + } + /** + * Check if device is a robot. + * + * @param string|null $userAgent + * @return bool + * @static + */ public static function isRobot($userAgent = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->isRobot($userAgent); + } + /** + * Get the device type + * + * @param null $userAgent + * @param null $httpHeaders + * @return string + * @static + */ public static function deviceType($userAgent = null, $httpHeaders = null) + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->deviceType($userAgent, $httpHeaders); + } + /** + * + * + * @static + */ public static function version($propertyName, $type = 'text') + { + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->version($propertyName, $type); + } + /** + * Get the current script version. + * + * This is useful for the demo.php file, + * so people can check on what version they are testing + * for mobile devices. + * + * @return string The version number in semantic version format. + * @static + */ public static function getScriptVersion() + { //Method inherited from \Mobile_Detect + return \Jenssegers\Agent\Agent::getScriptVersion(); + } + /** + * Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers. + * + * @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract + * the headers. The default null is left for backwards compatibility. + * @static + */ public static function setHttpHeaders($httpHeaders = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->setHttpHeaders($httpHeaders); + } + /** + * Retrieves the HTTP headers. + * + * @return array + * @static + */ public static function getHttpHeaders() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getHttpHeaders(); + } + /** + * Retrieves a particular header. If it doesn't exist, no exception/error is caused. + * + * Simply null is returned. + * + * @param string $header The name of the header to retrieve. Can be HTTP compliant such as + * "User-Agent" or "X-Device-User-Agent" or can be php-esque with the + * all-caps, HTTP_ prefixed, underscore separated awesomeness. + * @return string|null The value of the header. + * @static + */ public static function getHttpHeader($header) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getHttpHeader($header); + } + /** + * + * + * @static + */ public static function getMobileHeaders() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getMobileHeaders(); + } + /** + * Get all possible HTTP headers that + * can contain the User-Agent string. + * + * @return array List of HTTP headers. + * @static + */ public static function getUaHttpHeaders() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getUaHttpHeaders(); + } + /** + * Set CloudFront headers + * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device + * + * @param array $cfHeaders List of HTTP headers + * @return boolean If there were CloudFront headers to be set + * @static + */ public static function setCfHeaders($cfHeaders = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->setCfHeaders($cfHeaders); + } + /** + * Retrieves the cloudfront headers. + * + * @return array + * @static + */ public static function getCfHeaders() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getCfHeaders(); + } + /** + * Set the User-Agent to be used. + * + * @param string $userAgent The user agent string to set. + * @return string|null + * @static + */ public static function setUserAgent($userAgent = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->setUserAgent($userAgent); + } + /** + * Retrieve the User-Agent. + * + * @return string|null The user agent if it's set. + * @static + */ public static function getUserAgent() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getUserAgent(); + } + /** + * Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or + * self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set. + * + * @deprecated since version 2.6.9 + * @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default + * parameter is null which will default to self::DETECTION_TYPE_MOBILE. + * @static + */ public static function setDetectionType($type = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->setDetectionType($type); + } + /** + * + * + * @static + */ public static function getMatchingRegex() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getMatchingRegex(); + } + /** + * + * + * @static + */ public static function getMatchesArray() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getMatchesArray(); + } + /** + * Retrieve the list of known phone devices. + * + * @return array List of phone devices. + * @static + */ public static function getPhoneDevices() + { //Method inherited from \Mobile_Detect + return \Jenssegers\Agent\Agent::getPhoneDevices(); + } + /** + * Retrieve the list of known tablet devices. + * + * @return array List of tablet devices. + * @static + */ public static function getTabletDevices() + { //Method inherited from \Mobile_Detect + return \Jenssegers\Agent\Agent::getTabletDevices(); + } + /** + * Alias for getBrowsers() method. + * + * @return array List of user agents. + * @static + */ public static function getUserAgents() + { //Method inherited from \Mobile_Detect + return \Jenssegers\Agent\Agent::getUserAgents(); + } + /** + * Retrieve the list of known utilities. + * + * @return array List of utilities. + * @static + */ public static function getUtilities() + { //Method inherited from \Mobile_Detect + return \Jenssegers\Agent\Agent::getUtilities(); + } + /** + * Method gets the mobile detection rules. This method is used for the magic methods $detect->is*(). + * + * @deprecated since version 2.6.9 + * @return array All the rules (but not extended). + * @static + */ public static function getMobileDetectionRules() + { //Method inherited from \Mobile_Detect + return \Jenssegers\Agent\Agent::getMobileDetectionRules(); + } + /** + * Method gets the mobile detection rules + utilities. + * + * The reason this is separate is because utilities rules + * don't necessary imply mobile. This method is used inside + * the new $detect->is('stuff') method. + * + * @deprecated since version 2.6.9 + * @return array All the rules + extended. + * @static + */ public static function getMobileDetectionRulesExtended() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->getMobileDetectionRulesExtended(); + } + /** + * Check the HTTP headers for signs of mobile. + * + * This is the fastest mobile check possible; it's used + * inside isMobile() method. + * + * @return bool + * @static + */ public static function checkHttpHeadersForMobile() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->checkHttpHeadersForMobile(); + } + /** + * Check if the device is mobile. + * + * Returns true if any type of mobile device detected, including special ones + * + * @param null $userAgent deprecated + * @param null $httpHeaders deprecated + * @return bool + * @static + */ public static function isMobile($userAgent = null, $httpHeaders = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->isMobile($userAgent, $httpHeaders); + } + /** + * Check if the device is a tablet. + * + * Return true if any type of tablet device is detected. + * + * @param string $userAgent deprecated + * @param array $httpHeaders deprecated + * @return bool + * @static + */ public static function isTablet($userAgent = null, $httpHeaders = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->isTablet($userAgent, $httpHeaders); + } + /** + * This method checks for a certain property in the + * userAgent. + * + * @todo : The httpHeaders part is not yet used. + * @param string $key + * @param string $userAgent deprecated + * @param string $httpHeaders deprecated + * @return bool|int|null + * @static + */ public static function is($key, $userAgent = null, $httpHeaders = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->is($key, $userAgent, $httpHeaders); + } + /** + * Some detection rules are relative (not standard), + * because of the diversity of devices, vendors and + * their conventions in representing the User-Agent or + * the HTTP headers. + * + * This method will be used to check custom regexes against + * the User-Agent string. + * + * @param $regex + * @param string $userAgent + * @return bool + * @todo : search in the HTTP headers too. + * @static + */ public static function match($regex, $userAgent = null) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->match($regex, $userAgent); + } + /** + * Prepare the version number. + * + * @todo Remove the error supression from str_replace() call. + * @param string $ver The string version, like "2.6.21.2152"; + * @return float + * @static + */ public static function prepareVersionNo($ver) + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->prepareVersionNo($ver); + } + /** + * Retrieve the mobile grading, using self::MOBILE_GRADE_* constants. + * + * @deprecated This is no longer being maintained, it was an experiment at the time. + * @return string One of the self::MOBILE_GRADE_* constants. + * @static + */ public static function mobileGrade() + { //Method inherited from \Mobile_Detect + /** @var \Jenssegers\Agent\Agent $instance */ + return $instance->mobileGrade(); + } + } + } + +namespace Laravel\Socialite\Facades { /** * * * @see \Laravel\Socialite\SocialiteManager - */ - class Socialite { + */ class Socialite { /** * Get a driver instance. * * @param string $driver * @return mixed * @static - */ - public static function with($driver) + */ public static function with($driver) { /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->with($driver); @@ -19098,8 +18150,7 @@ public static function with($driver) * @param array $config * @return \Laravel\Socialite\Two\AbstractProvider * @static - */ - public static function buildProvider($provider, $config) + */ public static function buildProvider($provider, $config) { /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->buildProvider($provider, $config); @@ -19110,8 +18161,7 @@ public static function buildProvider($provider, $config) * @param array $config * @return array * @static - */ - public static function formatConfig($config) + */ public static function formatConfig($config) { /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->formatConfig($config); @@ -19121,8 +18171,7 @@ public static function formatConfig($config) * * @return \Laravel\Socialite\SocialiteManager * @static - */ - public static function forgetDrivers() + */ public static function forgetDrivers() { /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->forgetDrivers(); @@ -19133,8 +18182,7 @@ public static function forgetDrivers() * @param \Illuminate\Contracts\Container\Container $container * @return \Laravel\Socialite\SocialiteManager * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->setContainer($container); @@ -19145,8 +18193,7 @@ public static function setContainer($container) * @return string * @throws \InvalidArgumentException * @static - */ - public static function getDefaultDriver() + */ public static function getDefaultDriver() { /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->getDefaultDriver(); @@ -19158,8 +18205,7 @@ public static function getDefaultDriver() * @return mixed * @throws \InvalidArgumentException * @static - */ - public static function driver($driver = null) + */ public static function driver($driver = null) { //Method inherited from \Illuminate\Support\Manager /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->driver($driver); @@ -19171,8 +18217,7 @@ public static function driver($driver = null) * @param \Closure $callback * @return \Laravel\Socialite\SocialiteManager * @static - */ - public static function extend($driver, $callback) + */ public static function extend($driver, $callback) { //Method inherited from \Illuminate\Support\Manager /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->extend($driver, $callback); @@ -19182,8 +18227,7 @@ public static function extend($driver, $callback) * * @return array * @static - */ - public static function getDrivers() + */ public static function getDrivers() { //Method inherited from \Illuminate\Support\Manager /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->getDrivers(); @@ -19193,30 +18237,25 @@ public static function getDrivers() * * @return \Illuminate\Contracts\Container\Container * @static - */ - public static function getContainer() + */ public static function getContainer() { //Method inherited from \Illuminate\Support\Manager /** @var \Laravel\Socialite\SocialiteManager $instance */ return $instance->getContainer(); } - + } } - -} - namespace Spatie\LaravelIgnition\Facades { +namespace Spatie\LaravelIgnition\Facades { /** * * * @see \Spatie\FlareClient\Flare - */ - class Flare { + */ class Flare { /** * * * @static - */ - public static function make($apiKey = null, $contextDetector = null) + */ public static function make($apiKey = null, $contextDetector = null) { return \Spatie\FlareClient\Flare::make($apiKey, $contextDetector); } @@ -19224,8 +18263,7 @@ public static function make($apiKey = null, $contextDetector = null) * * * @static - */ - public static function setApiToken($apiToken) + */ public static function setApiToken($apiToken) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->setApiToken($apiToken); @@ -19234,8 +18272,7 @@ public static function setApiToken($apiToken) * * * @static - */ - public static function apiTokenSet() + */ public static function apiTokenSet() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->apiTokenSet(); @@ -19244,8 +18281,7 @@ public static function apiTokenSet() * * * @static - */ - public static function setBaseUrl($baseUrl) + */ public static function setBaseUrl($baseUrl) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->setBaseUrl($baseUrl); @@ -19254,8 +18290,7 @@ public static function setBaseUrl($baseUrl) * * * @static - */ - public static function setStage($stage) + */ public static function setStage($stage) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->setStage($stage); @@ -19264,8 +18299,7 @@ public static function setStage($stage) * * * @static - */ - public static function sendReportsImmediately() + */ public static function sendReportsImmediately() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->sendReportsImmediately(); @@ -19274,8 +18308,7 @@ public static function sendReportsImmediately() * * * @static - */ - public static function determineVersionUsing($determineVersionCallable) + */ public static function determineVersionUsing($determineVersionCallable) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->determineVersionUsing($determineVersionCallable); @@ -19284,8 +18317,7 @@ public static function determineVersionUsing($determineVersionCallable) * * * @static - */ - public static function reportErrorLevels($reportErrorLevels) + */ public static function reportErrorLevels($reportErrorLevels) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->reportErrorLevels($reportErrorLevels); @@ -19294,8 +18326,7 @@ public static function reportErrorLevels($reportErrorLevels) * * * @static - */ - public static function filterExceptionsUsing($filterExceptionsCallable) + */ public static function filterExceptionsUsing($filterExceptionsCallable) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->filterExceptionsUsing($filterExceptionsCallable); @@ -19304,8 +18335,7 @@ public static function filterExceptionsUsing($filterExceptionsCallable) * * * @static - */ - public static function filterReportsUsing($filterReportsCallable) + */ public static function filterReportsUsing($filterReportsCallable) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->filterReportsUsing($filterReportsCallable); @@ -19315,8 +18345,7 @@ public static function filterReportsUsing($filterReportsCallable) * * @param array|ArgumentReducer>|\Spatie\Backtrace\Arguments\ArgumentReducers|null $argumentReducers * @static - */ - public static function argumentReducers($argumentReducers) + */ public static function argumentReducers($argumentReducers) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->argumentReducers($argumentReducers); @@ -19325,8 +18354,7 @@ public static function argumentReducers($argumentReducers) * * * @static - */ - public static function withStackFrameArguments($withStackFrameArguments = true) + */ public static function withStackFrameArguments($withStackFrameArguments = true) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->withStackFrameArguments($withStackFrameArguments); @@ -19335,8 +18363,7 @@ public static function withStackFrameArguments($withStackFrameArguments = true) * * * @static - */ - public static function version() + */ public static function version() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->version(); @@ -19346,8 +18373,7 @@ public static function version() * * @return array> * @static - */ - public static function getMiddleware() + */ public static function getMiddleware() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->getMiddleware(); @@ -19356,8 +18382,7 @@ public static function getMiddleware() * * * @static - */ - public static function setContextProviderDetector($contextDetector) + */ public static function setContextProviderDetector($contextDetector) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->setContextProviderDetector($contextDetector); @@ -19366,8 +18391,7 @@ public static function setContextProviderDetector($contextDetector) * * * @static - */ - public static function setContainer($container) + */ public static function setContainer($container) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->setContainer($container); @@ -19376,8 +18400,7 @@ public static function setContainer($container) * * * @static - */ - public static function registerFlareHandlers() + */ public static function registerFlareHandlers() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->registerFlareHandlers(); @@ -19386,8 +18409,7 @@ public static function registerFlareHandlers() * * * @static - */ - public static function registerExceptionHandler() + */ public static function registerExceptionHandler() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->registerExceptionHandler(); @@ -19396,8 +18418,7 @@ public static function registerExceptionHandler() * * * @static - */ - public static function registerErrorHandler() + */ public static function registerErrorHandler() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->registerErrorHandler(); @@ -19408,8 +18429,7 @@ public static function registerErrorHandler() * @param \Spatie\FlareClient\FlareMiddleware\FlareMiddleware|array|\Spatie\FlareClient\class-string|callable $middleware * @return \Spatie\FlareClient\Flare * @static - */ - public static function registerMiddleware($middleware) + */ public static function registerMiddleware($middleware) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->registerMiddleware($middleware); @@ -19419,8 +18439,7 @@ public static function registerMiddleware($middleware) * * @return array> * @static - */ - public static function getMiddlewares() + */ public static function getMiddlewares() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->getMiddlewares(); @@ -19433,8 +18452,7 @@ public static function getMiddlewares() * @param array $metaData * @return \Spatie\FlareClient\Flare * @static - */ - public static function glow($name, $messageLevel = 'info', $metaData = []) + */ public static function glow($name, $messageLevel = 'info', $metaData = []) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->glow($name, $messageLevel, $metaData); @@ -19443,8 +18461,7 @@ public static function glow($name, $messageLevel = 'info', $metaData = []) * * * @static - */ - public static function handleException($throwable) + */ public static function handleException($throwable) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->handleException($throwable); @@ -19454,8 +18471,7 @@ public static function handleException($throwable) * * @return mixed * @static - */ - public static function handleError($code, $message, $file = '', $line = 0) + */ public static function handleError($code, $message, $file = '', $line = 0) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->handleError($code, $message, $file, $line); @@ -19464,8 +18480,7 @@ public static function handleError($code, $message, $file = '', $line = 0) * * * @static - */ - public static function applicationPath($applicationPath) + */ public static function applicationPath($applicationPath) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->applicationPath($applicationPath); @@ -19474,8 +18489,7 @@ public static function applicationPath($applicationPath) * * * @static - */ - public static function report($throwable, $callback = null, $report = null) + */ public static function report($throwable, $callback = null, $report = null) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->report($throwable, $callback, $report); @@ -19484,8 +18498,7 @@ public static function report($throwable, $callback = null, $report = null) * * * @static - */ - public static function reportMessage($message, $logLevel, $callback = null) + */ public static function reportMessage($message, $logLevel, $callback = null) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->reportMessage($message, $logLevel, $callback); @@ -19494,8 +18507,7 @@ public static function reportMessage($message, $logLevel, $callback = null) * * * @static - */ - public static function sendTestReport($throwable) + */ public static function sendTestReport($throwable) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->sendTestReport($throwable); @@ -19504,8 +18516,7 @@ public static function sendTestReport($throwable) * * * @static - */ - public static function reset() + */ public static function reset() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->reset(); @@ -19514,8 +18525,7 @@ public static function reset() * * * @static - */ - public static function anonymizeIp() + */ public static function anonymizeIp() { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->anonymizeIp(); @@ -19526,8 +18536,7 @@ public static function anonymizeIp() * @param array $fieldNames * @return \Spatie\FlareClient\Flare * @static - */ - public static function censorRequestBodyFields($fieldNames) + */ public static function censorRequestBodyFields($fieldNames) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->censorRequestBodyFields($fieldNames); @@ -19536,8 +18545,7 @@ public static function censorRequestBodyFields($fieldNames) * * * @static - */ - public static function createReport($throwable) + */ public static function createReport($throwable) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->createReport($throwable); @@ -19546,8 +18554,7 @@ public static function createReport($throwable) * * * @static - */ - public static function createReportFromMessage($message, $logLevel) + */ public static function createReportFromMessage($message, $logLevel) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->createReportFromMessage($message, $logLevel); @@ -19556,8 +18563,7 @@ public static function createReportFromMessage($message, $logLevel) * * * @static - */ - public static function stage($stage) + */ public static function stage($stage) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->stage($stage); @@ -19566,8 +18572,7 @@ public static function stage($stage) * * * @static - */ - public static function messageLevel($messageLevel) + */ public static function messageLevel($messageLevel) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->messageLevel($messageLevel); @@ -19579,8 +18584,7 @@ public static function messageLevel($messageLevel) * @param mixed $default * @return array * @static - */ - public static function getGroup($groupName = 'context', $default = []) + */ public static function getGroup($groupName = 'context', $default = []) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->getGroup($groupName, $default); @@ -19589,8 +18593,7 @@ public static function getGroup($groupName = 'context', $default = []) * * * @static - */ - public static function context($key, $value) + */ public static function context($key, $value) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->context($key, $value); @@ -19602,23 +18605,19 @@ public static function context($key, $value) * @param array $properties * @return \Spatie\FlareClient\Flare * @static - */ - public static function group($groupName, $properties) + */ public static function group($groupName, $properties) { /** @var \Spatie\FlareClient\Flare $instance */ return $instance->group($groupName, $properties); } - + } } - -} - namespace Illuminate\Http { +namespace Illuminate\Http { /** * * - */ - class Request { + */ class Request { /** * * @@ -19626,8 +18625,7 @@ class Request { * @param array $rules * @param mixed $params * @static - */ - public static function validate($rules, ...$params) + */ public static function validate($rules, ...$params) { return \Illuminate\Http\Request::validate($rules, ...$params); } @@ -19639,8 +18637,7 @@ public static function validate($rules, ...$params) * @param array $rules * @param mixed $params * @static - */ - public static function validateWithBag($errorBag, $rules, ...$params) + */ public static function validateWithBag($errorBag, $rules, ...$params) { return \Illuminate\Http\Request::validateWithBag($errorBag, $rules, ...$params); } @@ -19650,8 +18647,7 @@ public static function validateWithBag($errorBag, $rules, ...$params) * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @param mixed $absolute * @static - */ - public static function hasValidSignature($absolute = true) + */ public static function hasValidSignature($absolute = true) { return \Illuminate\Http\Request::hasValidSignature($absolute); } @@ -19660,8 +18656,7 @@ public static function hasValidSignature($absolute = true) * * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() * @static - */ - public static function hasValidRelativeSignature() + */ public static function hasValidRelativeSignature() { return \Illuminate\Http\Request::hasValidRelativeSignature(); } @@ -19672,31 +18667,26 @@ public static function hasValidRelativeSignature() * @param mixed $ignoreQuery * @param mixed $absolute * @static - */ - public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) + */ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) { return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute); } - + } } - -} - namespace Illuminate\Routing { +namespace Illuminate\Routing { /** * * * @mixin \Illuminate\Routing\RouteRegistrar - */ - class Router { + */ class Router { /** * * * @see \Laravel\Ui\AuthRouteMethods::auth() * @param mixed $options * @static - */ - public static function auth($options = []) + */ public static function auth($options = []) { return \Illuminate\Routing\Router::auth($options); } @@ -19705,8 +18695,7 @@ public static function auth($options = []) * * @see \Laravel\Ui\AuthRouteMethods::resetPassword() * @static - */ - public static function resetPassword() + */ public static function resetPassword() { return \Illuminate\Routing\Router::resetPassword(); } @@ -19715,8 +18704,7 @@ public static function resetPassword() * * @see \Laravel\Ui\AuthRouteMethods::confirmPassword() * @static - */ - public static function confirmPassword() + */ public static function confirmPassword() { return \Illuminate\Routing\Router::confirmPassword(); } @@ -19725,18 +18713,15 @@ public static function confirmPassword() * * @see \Laravel\Ui\AuthRouteMethods::emailVerification() * @static - */ - public static function emailVerification() + */ public static function emailVerification() { return \Illuminate\Routing\Router::emailVerification(); } - + } } - -} -namespace { +namespace { class App extends \Illuminate\Support\Facades\App {} class Arr extends \Illuminate\Support\Arr {} class Artisan extends \Illuminate\Support\Facades\Artisan {} @@ -19750,99 +18735,84 @@ class Cookie extends \Illuminate\Support\Facades\Cookie {} class Crypt extends \Illuminate\Support\Facades\Crypt {} class Date extends \Illuminate\Support\Facades\Date {} class DB extends \Illuminate\Support\Facades\DB {} - class Eloquent extends \Illuminate\Database\Eloquent\Model { - /** + class Eloquent extends \Illuminate\Database\Eloquent\Model { /** * Create and return an un-saved model instance. * * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function make($attributes = []) + */ public static function make($attributes = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->make($attributes); } - - /** + /** * Register a new global scope. * * @param string $identifier * @param \Illuminate\Database\Eloquent\Scope|\Closure $scope * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withGlobalScope($identifier, $scope) + */ public static function withGlobalScope($identifier, $scope) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withGlobalScope($identifier, $scope); } - - /** + /** * Remove a registered global scope. * * @param \Illuminate\Database\Eloquent\Scope|string $scope * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withoutGlobalScope($scope) + */ public static function withoutGlobalScope($scope) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withoutGlobalScope($scope); } - - /** + /** * Remove all or passed registered global scopes. * * @param array|null $scopes * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withoutGlobalScopes($scopes = null) + */ public static function withoutGlobalScopes($scopes = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withoutGlobalScopes($scopes); } - - /** + /** * Get an array of global scopes that were removed from the query. * * @return array * @static - */ - public static function removedScopes() + */ public static function removedScopes() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->removedScopes(); } - - /** + /** * Add a where clause on the primary key to the query. * * @param mixed $id * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereKey($id) + */ public static function whereKey($id) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereKey($id); } - - /** + /** * Add a where clause on the primary key to the query. * * @param mixed $id * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereKeyNot($id) + */ public static function whereKeyNot($id) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereKeyNot($id); } - - /** + /** * Add a basic where clause to the query. * * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column @@ -19851,14 +18821,12 @@ public static function whereKeyNot($id) * @param string $boolean * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function where($column, $operator = null, $value = null, $boolean = 'and') + */ public static function where($column, $operator = null, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->where($column, $operator, $value, $boolean); } - - /** + /** * Add a basic where clause to the query, and return the first result. * * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column @@ -19867,14 +18835,12 @@ public static function where($column, $operator = null, $value = null, $boolean * @param string $boolean * @return \Illuminate\Database\Eloquent\Model|static|null * @static - */ - public static function firstWhere($column, $operator = null, $value = null, $boolean = 'and') + */ public static function firstWhere($column, $operator = null, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->firstWhere($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where" clause to the query. * * @param \Closure|array|string|\Illuminate\Contracts\Database\Query\Expression $column @@ -19882,14 +18848,12 @@ public static function firstWhere($column, $operator = null, $value = null, $boo * @param mixed $value * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhere($column, $operator = null, $value = null) + */ public static function orWhere($column, $operator = null, $value = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhere($column, $operator, $value); } - - /** + /** * Add a basic "where not" clause to the query. * * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column @@ -19898,14 +18862,12 @@ public static function orWhere($column, $operator = null, $value = null) * @param string $boolean * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereNot($column, $operator = null, $value = null, $boolean = 'and') + */ public static function whereNot($column, $operator = null, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereNot($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where not" clause to the query. * * @param \Closure|array|string|\Illuminate\Contracts\Database\Query\Expression $column @@ -19913,95 +18875,81 @@ public static function whereNot($column, $operator = null, $value = null, $boole * @param mixed $value * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereNot($column, $operator = null, $value = null) + */ public static function orWhereNot($column, $operator = null, $value = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereNot($column, $operator, $value); } - - /** + /** * Add an "order by" clause for a timestamp to the query. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function latest($column = null) + */ public static function latest($column = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->latest($column); } - - /** + /** * Add an "order by" clause for a timestamp to the query. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function oldest($column = null) + */ public static function oldest($column = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->oldest($column); } - - /** + /** * Create a collection of models from plain arrays. * * @param array $items * @return \Illuminate\Database\Eloquent\Collection * @static - */ - public static function hydrate($items) + */ public static function hydrate($items) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->hydrate($items); } - - /** + /** * Create a collection of models from a raw query. * * @param string $query * @param array $bindings * @return \Illuminate\Database\Eloquent\Collection * @static - */ - public static function fromQuery($query, $bindings = []) + */ public static function fromQuery($query, $bindings = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->fromQuery($query, $bindings); } - - /** + /** * Find a model by its primary key. * * @param mixed $id * @param array|string $columns * @return \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection|static[]|static|null * @static - */ - public static function find($id, $columns = []) + */ public static function find($id, $columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->find($id, $columns); } - - /** + /** * Find multiple models by their primary keys. * * @param \Illuminate\Contracts\Support\Arrayable|array $ids * @param array|string $columns * @return \Illuminate\Database\Eloquent\Collection * @static - */ - public static function findMany($ids, $columns = []) + */ public static function findMany($ids, $columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->findMany($ids, $columns); } - - /** + /** * Find a model by its primary key or throw an exception. * * @param mixed $id @@ -20009,28 +18957,24 @@ public static function findMany($ids, $columns = []) * @return \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection|static|static[] * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @static - */ - public static function findOrFail($id, $columns = []) + */ public static function findOrFail($id, $columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->findOrFail($id, $columns); } - - /** + /** * Find a model by its primary key or return fresh model instance. * * @param mixed $id * @param array|string $columns * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function findOrNew($id, $columns = []) + */ public static function findOrNew($id, $columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->findOrNew($id, $columns); } - - /** + /** * Find a model by its primary key or call a callback. * * @param mixed $id @@ -20038,98 +18982,84 @@ public static function findOrNew($id, $columns = []) * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection|static[]|static|mixed * @static - */ - public static function findOr($id, $columns = [], $callback = null) + */ public static function findOr($id, $columns = [], $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->findOr($id, $columns, $callback); } - - /** + /** * Get the first record matching the attributes or instantiate it. * * @param array $attributes * @param array $values * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function firstOrNew($attributes = [], $values = []) + */ public static function firstOrNew($attributes = [], $values = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->firstOrNew($attributes, $values); } - - /** + /** * Get the first record matching the attributes. If the record is not found, create it. * * @param array $attributes * @param array $values * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function firstOrCreate($attributes = [], $values = []) + */ public static function firstOrCreate($attributes = [], $values = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->firstOrCreate($attributes, $values); } - - /** + /** * Attempt to create the record. If a unique constraint violation occurs, attempt to find the matching record. * * @param array $attributes * @param array $values * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function createOrFirst($attributes = [], $values = []) + */ public static function createOrFirst($attributes = [], $values = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->createOrFirst($attributes, $values); } - - /** + /** * Create or update a record matching the attributes, and fill it with values. * * @param array $attributes * @param array $values * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function updateOrCreate($attributes, $values = []) + */ public static function updateOrCreate($attributes, $values = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->updateOrCreate($attributes, $values); } - - /** + /** * Execute the query and get the first result or throw an exception. * * @param array|string $columns * @return \Illuminate\Database\Eloquent\Model|static * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @static - */ - public static function firstOrFail($columns = []) + */ public static function firstOrFail($columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->firstOrFail($columns); } - - /** + /** * Execute the query and get the first result or call a callback. * * @param \Closure|array|string $columns * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Model|static|mixed * @static - */ - public static function firstOr($columns = [], $callback = null) + */ public static function firstOr($columns = [], $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->firstOr($columns, $callback); } - - /** + /** * Execute the query and get the first result if it's the sole matching record. * * @param array|string $columns @@ -20137,27 +19067,23 @@ public static function firstOr($columns = [], $callback = null) * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @throws \Illuminate\Database\MultipleRecordsFoundException * @static - */ - public static function sole($columns = []) + */ public static function sole($columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->sole($columns); } - - /** + /** * Get a single column's value from the first result of a query. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column * @return mixed * @static - */ - public static function value($column) + */ public static function value($column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->value($column); } - - /** + /** * Get a single column's value from the first result of a query if it's the sole matching record. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column @@ -20165,93 +19091,79 @@ public static function value($column) * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @throws \Illuminate\Database\MultipleRecordsFoundException * @static - */ - public static function soleValue($column) + */ public static function soleValue($column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->soleValue($column); } - - /** + /** * Get a single column's value from the first result of the query or throw an exception. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column * @return mixed * @throws \Illuminate\Database\Eloquent\ModelNotFoundException<\Illuminate\Database\Eloquent\Model> * @static - */ - public static function valueOrFail($column) + */ public static function valueOrFail($column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->valueOrFail($column); } - - /** + /** * Execute the query as a "select" statement. * * @param array|string $columns * @return \Illuminate\Database\Eloquent\Collection|static[] * @static - */ - public static function get($columns = []) + */ public static function get($columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->get($columns); } - - /** + /** * Get the hydrated models without eager loading. * * @param array|string $columns * @return \Illuminate\Database\Eloquent\Model[]|static[] * @static - */ - public static function getModels($columns = []) + */ public static function getModels($columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->getModels($columns); } - - /** + /** * Eager load the relationships for the models. * * @param array $models * @return array * @static - */ - public static function eagerLoadRelations($models) + */ public static function eagerLoadRelations($models) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->eagerLoadRelations($models); } - - /** + /** * Get a lazy collection for the given query. * * @return \Illuminate\Support\LazyCollection * @static - */ - public static function cursor() + */ public static function cursor() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->cursor(); } - - /** + /** * Get a collection with the values of a given column. * * @param string|\Illuminate\Contracts\Database\Query\Expression $column * @param string|null $key * @return \Illuminate\Support\Collection * @static - */ - public static function pluck($column, $key = null) + */ public static function pluck($column, $key = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->pluck($column, $key); } - - /** + /** * Paginate the given query. * * @param int|null|\Closure $perPage @@ -20262,14 +19174,12 @@ public static function pluck($column, $key = null) * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator * @throws \InvalidArgumentException * @static - */ - public static function paginate($perPage = null, $columns = [], $pageName = 'page', $page = null) + */ public static function paginate($perPage = null, $columns = [], $pageName = 'page', $page = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->paginate($perPage, $columns, $pageName, $page); } - - /** + /** * Paginate the given query into a simple paginator. * * @param int|null $perPage @@ -20278,14 +19188,12 @@ public static function paginate($perPage = null, $columns = [], $pageName = 'pag * @param int|null $page * @return \Illuminate\Contracts\Pagination\Paginator * @static - */ - public static function simplePaginate($perPage = null, $columns = [], $pageName = 'page', $page = null) + */ public static function simplePaginate($perPage = null, $columns = [], $pageName = 'page', $page = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->simplePaginate($perPage, $columns, $pageName, $page); } - - /** + /** * Paginate the given query into a cursor paginator. * * @param int|null $perPage @@ -20294,53 +19202,45 @@ public static function simplePaginate($perPage = null, $columns = [], $pageName * @param \Illuminate\Pagination\Cursor|string|null $cursor * @return \Illuminate\Contracts\Pagination\CursorPaginator * @static - */ - public static function cursorPaginate($perPage = null, $columns = [], $cursorName = 'cursor', $cursor = null) + */ public static function cursorPaginate($perPage = null, $columns = [], $cursorName = 'cursor', $cursor = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->cursorPaginate($perPage, $columns, $cursorName, $cursor); } - - /** + /** * Save a new model and return the instance. * * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|$this * @static - */ - public static function create($attributes = []) + */ public static function create($attributes = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->create($attributes); } - - /** + /** * Save a new model and return the instance. Allow mass-assignment. * * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|$this * @static - */ - public static function forceCreate($attributes) + */ public static function forceCreate($attributes) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->forceCreate($attributes); } - - /** + /** * Save a new model instance with mass assignment without raising model events. * * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|$this * @static - */ - public static function forceCreateQuietly($attributes = []) + */ public static function forceCreateQuietly($attributes = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->forceCreateQuietly($attributes); } - - /** + /** * Insert new records or update the existing ones. * * @param array $values @@ -20348,320 +19248,270 @@ public static function forceCreateQuietly($attributes = []) * @param array|null $update * @return int * @static - */ - public static function upsert($values, $uniqueBy, $update = null) + */ public static function upsert($values, $uniqueBy, $update = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->upsert($values, $uniqueBy, $update); } - - /** + /** * Register a replacement for the default delete function. * * @param \Closure $callback * @return void * @static - */ - public static function onDelete($callback) + */ public static function onDelete($callback) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ $instance->onDelete($callback); } - - /** + /** * Call the given local model scopes. * * @param array|string $scopes * @return static|mixed * @static - */ - public static function scopes($scopes) + */ public static function scopes($scopes) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->scopes($scopes); } - - /** + /** * Apply the scopes to the Eloquent builder instance and return it. * * @return static * @static - */ - public static function applyScopes() + */ public static function applyScopes() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->applyScopes(); } - - /** + /** * Prevent the specified relations from being eager loaded. * * @param mixed $relations * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function without($relations) + */ public static function without($relations) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->without($relations); } - - /** + /** * Set the relationships that should be eager loaded while removing any previously added eager loading specifications. * * @param mixed $relations * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withOnly($relations) + */ public static function withOnly($relations) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withOnly($relations); } - - /** + /** * Create a new instance of the model being queried. * * @param array $attributes * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function newModelInstance($attributes = []) + */ public static function newModelInstance($attributes = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->newModelInstance($attributes); } - - /** + /** * Apply query-time casts to the model instance. * * @param array $casts * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withCasts($casts) + */ public static function withCasts($casts) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withCasts($casts); } - - /** + /** * Execute the given Closure within a transaction savepoint if needed. * * @template TModelValue * @param \Closure(): TModelValue $scope * @return \Illuminate\Database\Eloquent\TModelValue * @static - */ - public static function withSavepointIfNeeded($scope) + */ public static function withSavepointIfNeeded($scope) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withSavepointIfNeeded($scope); } - - /** + /** * Get the underlying query builder instance. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function getQuery() + */ public static function getQuery() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->getQuery(); } - - /** + /** * Set the underlying query builder instance. * * @param \Illuminate\Database\Query\Builder $query * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function setQuery($query) + */ public static function setQuery($query) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->setQuery($query); } - - /** + /** * Get a base query builder instance. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function toBase() + */ public static function toBase() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->toBase(); } - - /** + /** * Get the relationships being eagerly loaded. * * @return array * @static - */ - public static function getEagerLoads() + */ public static function getEagerLoads() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->getEagerLoads(); } - - /** + /** * Set the relationships being eagerly loaded. * * @param array $eagerLoad * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function setEagerLoads($eagerLoad) + */ public static function setEagerLoads($eagerLoad) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->setEagerLoads($eagerLoad); } - - /** + /** * Indicate that the given relationships should not be eagerly loaded. * * @param array $relations * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withoutEagerLoad($relations) + */ public static function withoutEagerLoad($relations) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withoutEagerLoad($relations); } - - /** + /** * Flush the relationships being eagerly loaded. * * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withoutEagerLoads() + */ public static function withoutEagerLoads() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withoutEagerLoads(); } - - /** + /** * Get the model instance being queried. * * @return \Illuminate\Database\Eloquent\Model|static * @static - */ - public static function getModel() + */ public static function getModel() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->getModel(); } - - /** + /** * Set a model instance for the model being queried. * * @param \Illuminate\Database\Eloquent\Model $model * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function setModel($model) + */ public static function setModel($model) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->setModel($model); } - - /** + /** * Get the given macro by name. * * @param string $name * @return \Closure * @static - */ - public static function getMacro($name) + */ public static function getMacro($name) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->getMacro($name); } - - /** + /** * Checks if a macro is registered. * * @param string $name * @return bool * @static - */ - public static function hasMacro($name) + */ public static function hasMacro($name) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->hasMacro($name); } - - /** + /** * Get the given global macro by name. * * @param string $name * @return \Closure * @static - */ - public static function getGlobalMacro($name) + */ public static function getGlobalMacro($name) { return \Illuminate\Database\Eloquent\Builder::getGlobalMacro($name); } - - /** + /** * Checks if a global macro is registered. * * @param string $name * @return bool * @static - */ - public static function hasGlobalMacro($name) + */ public static function hasGlobalMacro($name) { return \Illuminate\Database\Eloquent\Builder::hasGlobalMacro($name); } - - /** + /** * Clone the Eloquent query builder. * * @return static * @static - */ - public static function clone() + */ public static function clone() { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->clone(); } - - /** + /** * Chunk the results of the query. * * @param int $count * @param callable $callback * @return bool * @static - */ - public static function chunk($count, $callback) + */ public static function chunk($count, $callback) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->chunk($count, $callback); } - - /** + /** * Run a map over each item while chunking. * * @param callable $callback * @param int $count * @return \Illuminate\Support\Collection * @static - */ - public static function chunkMap($callback, $count = 1000) + */ public static function chunkMap($callback, $count = 1000) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->chunkMap($callback, $count); } - - /** + /** * Execute a callback over each item while chunking. * * @param callable $callback @@ -20669,14 +19519,12 @@ public static function chunkMap($callback, $count = 1000) * @return bool * @throws \RuntimeException * @static - */ - public static function each($callback, $count = 1000) + */ public static function each($callback, $count = 1000) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->each($callback, $count); } - - /** + /** * Chunk the results of a query by comparing IDs. * * @param int $count @@ -20685,14 +19533,12 @@ public static function each($callback, $count = 1000) * @param string|null $alias * @return bool * @static - */ - public static function chunkById($count, $callback, $column = null, $alias = null) + */ public static function chunkById($count, $callback, $column = null, $alias = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->chunkById($count, $callback, $column, $alias); } - - /** + /** * Chunk the results of a query by comparing IDs in descending order. * * @param int $count @@ -20701,14 +19547,12 @@ public static function chunkById($count, $callback, $column = null, $alias = nul * @param string|null $alias * @return bool * @static - */ - public static function chunkByIdDesc($count, $callback, $column = null, $alias = null) + */ public static function chunkByIdDesc($count, $callback, $column = null, $alias = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->chunkByIdDesc($count, $callback, $column, $alias); } - - /** + /** * Chunk the results of a query by comparing IDs in a given order. * * @param int $count @@ -20718,14 +19562,12 @@ public static function chunkByIdDesc($count, $callback, $column = null, $alias = * @param bool $descending * @return bool * @static - */ - public static function orderedChunkById($count, $callback, $column = null, $alias = null, $descending = false) + */ public static function orderedChunkById($count, $callback, $column = null, $alias = null, $descending = false) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orderedChunkById($count, $callback, $column, $alias, $descending); } - - /** + /** * Execute a callback over each item while chunking by ID. * * @param callable $callback @@ -20734,28 +19576,24 @@ public static function orderedChunkById($count, $callback, $column = null, $alia * @param string|null $alias * @return bool * @static - */ - public static function eachById($callback, $count = 1000, $column = null, $alias = null) + */ public static function eachById($callback, $count = 1000, $column = null, $alias = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->eachById($callback, $count, $column, $alias); } - - /** + /** * Query lazily, by chunks of the given size. * * @param int $chunkSize * @return \Illuminate\Support\LazyCollection * @throws \InvalidArgumentException * @static - */ - public static function lazy($chunkSize = 1000) + */ public static function lazy($chunkSize = 1000) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->lazy($chunkSize); } - - /** + /** * Query lazily, by chunking the results of a query by comparing IDs. * * @param int $chunkSize @@ -20764,14 +19602,12 @@ public static function lazy($chunkSize = 1000) * @return \Illuminate\Support\LazyCollection * @throws \InvalidArgumentException * @static - */ - public static function lazyById($chunkSize = 1000, $column = null, $alias = null) + */ public static function lazyById($chunkSize = 1000, $column = null, $alias = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->lazyById($chunkSize, $column, $alias); } - - /** + /** * Query lazily, by chunking the results of a query by comparing IDs in descending order. * * @param int $chunkSize @@ -20780,27 +19616,23 @@ public static function lazyById($chunkSize = 1000, $column = null, $alias = null * @return \Illuminate\Support\LazyCollection * @throws \InvalidArgumentException * @static - */ - public static function lazyByIdDesc($chunkSize = 1000, $column = null, $alias = null) + */ public static function lazyByIdDesc($chunkSize = 1000, $column = null, $alias = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->lazyByIdDesc($chunkSize, $column, $alias); } - - /** + /** * Execute the query and get the first result. * * @param array|string $columns * @return \Illuminate\Database\Eloquent\Model|object|static|null * @static - */ - public static function first($columns = []) + */ public static function first($columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->first($columns); } - - /** + /** * Execute the query and get the first result if it's the sole matching record. * * @param array|string $columns @@ -20808,27 +19640,23 @@ public static function first($columns = []) * @throws \Illuminate\Database\RecordsNotFoundException * @throws \Illuminate\Database\MultipleRecordsFoundException * @static - */ - public static function baseSole($columns = []) + */ public static function baseSole($columns = []) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->baseSole($columns); } - - /** + /** * Pass the query to a given callback. * * @param callable $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function tap($callback) + */ public static function tap($callback) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->tap($callback); } - - /** + /** * Apply the callback if the given "value" is (or resolves to) truthy. * * @template TWhenParameter @@ -20838,14 +19666,12 @@ public static function tap($callback) * @param \Illuminate\Database\Eloquent\(callable($this, TWhenParameter): TWhenReturnType)|null $default * @return $this|\Illuminate\Database\Eloquent\TWhenReturnType * @static - */ - public static function when($value = null, $callback = null, $default = null) + */ public static function when($value = null, $callback = null, $default = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->when($value, $callback, $default); } - - /** + /** * Apply the callback if the given "value" is (or resolves to) falsy. * * @template TUnlessParameter @@ -20855,14 +19681,12 @@ public static function when($value = null, $callback = null, $default = null) * @param \Illuminate\Database\Eloquent\(callable($this, TUnlessParameter): TUnlessReturnType)|null $default * @return $this|\Illuminate\Database\Eloquent\TUnlessReturnType * @static - */ - public static function unless($value = null, $callback = null, $default = null) + */ public static function unless($value = null, $callback = null, $default = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->unless($value, $callback, $default); } - - /** + /** * Add a relationship count / exists condition to the query. * * @param \Illuminate\Database\Eloquent\Relations\Relation|string $relation @@ -20873,14 +19697,12 @@ public static function unless($value = null, $callback = null, $default = null) * @return \Illuminate\Database\Eloquent\Builder|static * @throws \RuntimeException * @static - */ - public static function has($relation, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) + */ public static function has($relation, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->has($relation, $operator, $count, $boolean, $callback); } - - /** + /** * Add a relationship count / exists condition to the query with an "or". * * @param string $relation @@ -20888,14 +19710,12 @@ public static function has($relation, $operator = '>=', $count = 1, $boolean = ' * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orHas($relation, $operator = '>=', $count = 1) + */ public static function orHas($relation, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orHas($relation, $operator, $count); } - - /** + /** * Add a relationship count / exists condition to the query. * * @param string $relation @@ -20903,27 +19723,23 @@ public static function orHas($relation, $operator = '>=', $count = 1) * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function doesntHave($relation, $boolean = 'and', $callback = null) + */ public static function doesntHave($relation, $boolean = 'and', $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->doesntHave($relation, $boolean, $callback); } - - /** + /** * Add a relationship count / exists condition to the query with an "or". * * @param string $relation * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orDoesntHave($relation) + */ public static function orDoesntHave($relation) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orDoesntHave($relation); } - - /** + /** * Add a relationship count / exists condition to the query with where clauses. * * @param string $relation @@ -20932,14 +19748,12 @@ public static function orDoesntHave($relation) * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereHas($relation, $callback = null, $operator = '>=', $count = 1) + */ public static function whereHas($relation, $callback = null, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereHas($relation, $callback, $operator, $count); } - - /** + /** * Add a relationship count / exists condition to the query with where clauses. * * Also load the relationship with same condition. @@ -20950,14 +19764,12 @@ public static function whereHas($relation, $callback = null, $operator = '>=', $ * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withWhereHas($relation, $callback = null, $operator = '>=', $count = 1) + */ public static function withWhereHas($relation, $callback = null, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withWhereHas($relation, $callback, $operator, $count); } - - /** + /** * Add a relationship count / exists condition to the query with where clauses and an "or". * * @param string $relation @@ -20966,42 +19778,36 @@ public static function withWhereHas($relation, $callback = null, $operator = '>= * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereHas($relation, $callback = null, $operator = '>=', $count = 1) + */ public static function orWhereHas($relation, $callback = null, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereHas($relation, $callback, $operator, $count); } - - /** + /** * Add a relationship count / exists condition to the query with where clauses. * * @param string $relation * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereDoesntHave($relation, $callback = null) + */ public static function whereDoesntHave($relation, $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereDoesntHave($relation, $callback); } - - /** + /** * Add a relationship count / exists condition to the query with where clauses and an "or". * * @param string $relation * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereDoesntHave($relation, $callback = null) + */ public static function orWhereDoesntHave($relation, $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereDoesntHave($relation, $callback); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21012,14 +19818,12 @@ public static function orWhereDoesntHave($relation, $callback = null) * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) + */ public static function hasMorph($relation, $types, $operator = '>=', $count = 1, $boolean = 'and', $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->hasMorph($relation, $types, $operator, $count, $boolean, $callback); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query with an "or". * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21028,14 +19832,12 @@ public static function hasMorph($relation, $types, $operator = '>=', $count = 1, * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orHasMorph($relation, $types, $operator = '>=', $count = 1) + */ public static function orHasMorph($relation, $types, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orHasMorph($relation, $types, $operator, $count); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21044,28 +19846,24 @@ public static function orHasMorph($relation, $types, $operator = '>=', $count = * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function doesntHaveMorph($relation, $types, $boolean = 'and', $callback = null) + */ public static function doesntHaveMorph($relation, $types, $boolean = 'and', $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->doesntHaveMorph($relation, $types, $boolean, $callback); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query with an "or". * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param string|array $types * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orDoesntHaveMorph($relation, $types) + */ public static function orDoesntHaveMorph($relation, $types) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orDoesntHaveMorph($relation, $types); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query with where clauses. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21075,14 +19873,12 @@ public static function orDoesntHaveMorph($relation, $types) * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) + */ public static function whereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereHasMorph($relation, $types, $callback, $operator, $count); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query with where clauses and an "or". * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21092,14 +19888,12 @@ public static function whereHasMorph($relation, $types, $callback = null, $opera * @param int $count * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) + */ public static function orWhereHasMorph($relation, $types, $callback = null, $operator = '>=', $count = 1) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereHasMorph($relation, $types, $callback, $operator, $count); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query with where clauses. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21107,14 +19901,12 @@ public static function orWhereHasMorph($relation, $types, $callback = null, $ope * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereDoesntHaveMorph($relation, $types, $callback = null) + */ public static function whereDoesntHaveMorph($relation, $types, $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereDoesntHaveMorph($relation, $types, $callback); } - - /** + /** * Add a polymorphic relationship count / exists condition to the query with where clauses and an "or". * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21122,14 +19914,12 @@ public static function whereDoesntHaveMorph($relation, $types, $callback = null) * @param \Closure|null $callback * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereDoesntHaveMorph($relation, $types, $callback = null) + */ public static function orWhereDoesntHaveMorph($relation, $types, $callback = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereDoesntHaveMorph($relation, $types, $callback); } - - /** + /** * Add a basic where clause to a relationship query. * * @param string $relation @@ -21138,14 +19928,12 @@ public static function orWhereDoesntHaveMorph($relation, $types, $callback = nul * @param mixed $value * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereRelation($relation, $column, $operator = null, $value = null) + */ public static function whereRelation($relation, $column, $operator = null, $value = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereRelation($relation, $column, $operator, $value); } - - /** + /** * Add an "or where" clause to a relationship query. * * @param string $relation @@ -21154,14 +19942,12 @@ public static function whereRelation($relation, $column, $operator = null, $valu * @param mixed $value * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereRelation($relation, $column, $operator = null, $value = null) + */ public static function orWhereRelation($relation, $column, $operator = null, $value = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereRelation($relation, $column, $operator, $value); } - - /** + /** * Add a polymorphic relationship condition to the query with a where clause. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21171,14 +19957,12 @@ public static function orWhereRelation($relation, $column, $operator = null, $va * @param mixed $value * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereMorphRelation($relation, $types, $column, $operator = null, $value = null) + */ public static function whereMorphRelation($relation, $types, $column, $operator = null, $value = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereMorphRelation($relation, $types, $column, $operator, $value); } - - /** + /** * Add a polymorphic relationship condition to the query with an "or where" clause. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation @@ -21188,70 +19972,60 @@ public static function whereMorphRelation($relation, $types, $column, $operator * @param mixed $value * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) + */ public static function orWhereMorphRelation($relation, $types, $column, $operator = null, $value = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereMorphRelation($relation, $types, $column, $operator, $value); } - - /** + /** * Add a morph-to relationship condition to the query. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param \Illuminate\Database\Eloquent\Model|string|null $model * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereMorphedTo($relation, $model, $boolean = 'and') + */ public static function whereMorphedTo($relation, $model, $boolean = 'and') { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereMorphedTo($relation, $model, $boolean); } - - /** + /** * Add a not morph-to relationship condition to the query. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param \Illuminate\Database\Eloquent\Model|string $model * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function whereNotMorphedTo($relation, $model, $boolean = 'and') + */ public static function whereNotMorphedTo($relation, $model, $boolean = 'and') { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereNotMorphedTo($relation, $model, $boolean); } - - /** + /** * Add a morph-to relationship condition to the query with an "or where" clause. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param \Illuminate\Database\Eloquent\Model|string|null $model * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereMorphedTo($relation, $model) + */ public static function orWhereMorphedTo($relation, $model) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereMorphedTo($relation, $model); } - - /** + /** * Add a not morph-to relationship condition to the query with an "or where" clause. * * @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation * @param \Illuminate\Database\Eloquent\Model|string $model * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function orWhereNotMorphedTo($relation, $model) + */ public static function orWhereNotMorphedTo($relation, $model) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereNotMorphedTo($relation, $model); } - - /** + /** * Add a "belongs to" relationship where clause to the query. * * @param \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Collection<\Illuminate\Database\Eloquent\Model> $related @@ -21260,14 +20034,12 @@ public static function orWhereNotMorphedTo($relation, $model) * @return \Illuminate\Database\Eloquent\Builder|static * @throws \Illuminate\Database\Eloquent\RelationNotFoundException * @static - */ - public static function whereBelongsTo($related, $relationshipName = null, $boolean = 'and') + */ public static function whereBelongsTo($related, $relationshipName = null, $boolean = 'and') { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->whereBelongsTo($related, $relationshipName, $boolean); } - - /** + /** * Add an "BelongsTo" relationship with an "or where" clause to the query. * * @param \Illuminate\Database\Eloquent\Model $related @@ -21275,137 +20047,117 @@ public static function whereBelongsTo($related, $relationshipName = null, $boole * @return \Illuminate\Database\Eloquent\Builder|static * @throws \RuntimeException * @static - */ - public static function orWhereBelongsTo($related, $relationshipName = null) + */ public static function orWhereBelongsTo($related, $relationshipName = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->orWhereBelongsTo($related, $relationshipName); } - - /** + /** * Add subselect queries to include an aggregate value for a relationship. * * @param mixed $relations - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param string $function * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withAggregate($relations, $column, $function = null) + */ public static function withAggregate($relations, $column, $function = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withAggregate($relations, $column, $function); } - - /** + /** * Add subselect queries to count the relations. * * @param mixed $relations * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withCount($relations) + */ public static function withCount($relations) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withCount($relations); } - - /** + /** * Add subselect queries to include the max of the relation's column. * * @param string|array $relation - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withMax($relation, $column) + */ public static function withMax($relation, $column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withMax($relation, $column); } - - /** + /** * Add subselect queries to include the min of the relation's column. * * @param string|array $relation - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withMin($relation, $column) + */ public static function withMin($relation, $column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withMin($relation, $column); } - - /** + /** * Add subselect queries to include the sum of the relation's column. * * @param string|array $relation - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withSum($relation, $column) + */ public static function withSum($relation, $column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withSum($relation, $column); } - - /** + /** * Add subselect queries to include the average of the relation's column. * * @param string|array $relation - * @param string $column + * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withAvg($relation, $column) + */ public static function withAvg($relation, $column) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withAvg($relation, $column); } - - /** + /** * Add subselect queries to include the existence of related models. * * @param string|array $relation * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function withExists($relation) + */ public static function withExists($relation) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->withExists($relation); } - - /** + /** * Merge the where constraints from another query to the current query. * * @param \Illuminate\Database\Eloquent\Builder $from * @return \Illuminate\Database\Eloquent\Builder|static * @static - */ - public static function mergeConstraintsFrom($from) + */ public static function mergeConstraintsFrom($from) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->mergeConstraintsFrom($from); } - - /** + /** * Set the columns to be selected. * * @param array|mixed $columns * @return \Illuminate\Database\Query\Builder * @static - */ - public static function select($columns = []) + */ public static function select($columns = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->select($columns); } - - /** + /** * Add a subselect expression to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query @@ -21413,28 +20165,24 @@ public static function select($columns = []) * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function selectSub($query, $as) + */ public static function selectSub($query, $as) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->selectSub($query, $as); } - - /** + /** * Add a new "raw" select expression to the query. * * @param string $expression * @param array $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function selectRaw($expression, $bindings = []) + */ public static function selectRaw($expression, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->selectRaw($expression, $bindings); } - - /** + /** * Makes "from" fetch from a subquery. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query @@ -21442,146 +20190,126 @@ public static function selectRaw($expression, $bindings = []) * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function fromSub($query, $as) + */ public static function fromSub($query, $as) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->fromSub($query, $as); } - - /** + /** * Add a raw from clause to the query. * * @param string $expression * @param mixed $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function fromRaw($expression, $bindings = []) + */ public static function fromRaw($expression, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->fromRaw($expression, $bindings); } - - /** + /** * Add a new select column to the query. * * @param array|mixed $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function addSelect($column) + */ public static function addSelect($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->addSelect($column); } - - /** + /** * Force the query to only return distinct results. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function distinct() + */ public static function distinct() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->distinct(); } - - /** + /** * Set the table which the query is targeting. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $table * @param string|null $as * @return \Illuminate\Database\Query\Builder * @static - */ - public static function from($table, $as = null) + */ public static function from($table, $as = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->from($table, $as); } - - /** + /** * Add an index hint to suggest a query index. * * @param string $index * @return \Illuminate\Database\Query\Builder * @static - */ - public static function useIndex($index) + */ public static function useIndex($index) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->useIndex($index); } - - /** + /** * Add an index hint to force a query index. * * @param string $index * @return \Illuminate\Database\Query\Builder * @static - */ - public static function forceIndex($index) + */ public static function forceIndex($index) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->forceIndex($index); } - - /** + /** * Add an index hint to ignore a query index. * * @param string $index * @return \Illuminate\Database\Query\Builder * @static - */ - public static function ignoreIndex($index) + */ public static function ignoreIndex($index) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->ignoreIndex($index); } - - /** + /** * Add a join clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @param string $type * @param bool $where * @return \Illuminate\Database\Query\Builder * @static - */ - public static function join($table, $first, $operator = null, $second = null, $type = 'inner', $where = false) + */ public static function join($table, $first, $operator = null, $second = null, $type = 'inner', $where = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->join($table, $first, $operator, $second, $type, $where); } - - /** + /** * Add a "join where" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string $operator * @param \Illuminate\Contracts\Database\Query\Expression|string $second * @param string $type * @return \Illuminate\Database\Query\Builder * @static - */ - public static function joinWhere($table, $first, $operator, $second, $type = 'inner') + */ public static function joinWhere($table, $first, $operator, $second, $type = 'inner') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->joinWhere($table, $first, $operator, $second, $type); } - - /** + /** * Add a subquery join clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query * @param string $as - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @param string $type @@ -21589,63 +20317,80 @@ public static function joinWhere($table, $first, $operator, $second, $type = 'in * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function joinSub($query, $as, $first, $operator = null, $second = null, $type = 'inner', $where = false) + */ public static function joinSub($query, $as, $first, $operator = null, $second = null, $type = 'inner', $where = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->joinSub($query, $as, $first, $operator, $second, $type, $where); } - - /** + /** + * Add a lateral join clause to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query + * @param string $as + * @param string $type + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function joinLateral($query, $as, $type = 'inner') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->joinLateral($query, $as, $type); + } + /** + * Add a lateral left join to the query. + * + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query + * @param string $as + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function leftJoinLateral($query, $as) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->leftJoinLateral($query, $as); + } + /** * Add a left join to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function leftJoin($table, $first, $operator = null, $second = null) + */ public static function leftJoin($table, $first, $operator = null, $second = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->leftJoin($table, $first, $operator, $second); } - - /** + /** * Add a "join where" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function leftJoinWhere($table, $first, $operator, $second) + */ public static function leftJoinWhere($table, $first, $operator, $second) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->leftJoinWhere($table, $first, $operator, $second); } - - /** + /** * Add a subquery left join to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query * @param string $as - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function leftJoinSub($query, $as, $first, $operator = null, $second = null) + */ public static function leftJoinSub($query, $as, $first, $operator = null, $second = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->leftJoinSub($query, $as, $first, $operator, $second); } - - /** + /** * Add a right join to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table @@ -21654,91 +20399,79 @@ public static function leftJoinSub($query, $as, $first, $operator = null, $secon * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function rightJoin($table, $first, $operator = null, $second = null) + */ public static function rightJoin($table, $first, $operator = null, $second = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->rightJoin($table, $first, $operator, $second); } - - /** + /** * Add a "right join where" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string $operator * @param \Illuminate\Contracts\Database\Query\Expression|string $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function rightJoinWhere($table, $first, $operator, $second) + */ public static function rightJoinWhere($table, $first, $operator, $second) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->rightJoinWhere($table, $first, $operator, $second); } - - /** + /** * Add a subquery right join to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query * @param string $as - * @param \Closure|string $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function rightJoinSub($query, $as, $first, $operator = null, $second = null) + */ public static function rightJoinSub($query, $as, $first, $operator = null, $second = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->rightJoinSub($query, $as, $first, $operator, $second); } - - /** + /** * Add a "cross join" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $table - * @param \Closure|string|null $first + * @param \Closure|\Illuminate\Contracts\Database\Query\Expression|string|null $first * @param string|null $operator * @param \Illuminate\Contracts\Database\Query\Expression|string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function crossJoin($table, $first = null, $operator = null, $second = null) + */ public static function crossJoin($table, $first = null, $operator = null, $second = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->crossJoin($table, $first, $operator, $second); } - - /** + /** * Add a subquery cross join to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query * @param string $as * @return \Illuminate\Database\Query\Builder * @static - */ - public static function crossJoinSub($query, $as) + */ public static function crossJoinSub($query, $as) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->crossJoinSub($query, $as); } - - /** + /** * Merge an array of where clauses and bindings. * * @param array $wheres * @param array $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function mergeWheres($wheres, $bindings) + */ public static function mergeWheres($wheres, $bindings) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->mergeWheres($wheres, $bindings); } - - /** + /** * Prepare the value and operator for a where clause. * * @param string $value @@ -21747,45 +20480,39 @@ public static function mergeWheres($wheres, $bindings) * @return array * @throws \InvalidArgumentException * @static - */ - public static function prepareValueAndOperator($value, $operator, $useDefault = false) + */ public static function prepareValueAndOperator($value, $operator, $useDefault = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->prepareValueAndOperator($value, $operator, $useDefault); } - - /** + /** * Add a "where" clause comparing two columns to the query. * - * @param string|array $first + * @param \Illuminate\Contracts\Database\Query\Expression|string|array $first * @param string|null $operator * @param string|null $second * @param string|null $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereColumn($first, $operator = null, $second = null, $boolean = 'and') + */ public static function whereColumn($first, $operator = null, $second = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereColumn($first, $operator, $second, $boolean); } - - /** + /** * Add an "or where" clause comparing two columns to the query. * - * @param string|array $first + * @param \Illuminate\Contracts\Database\Query\Expression|string|array $first * @param string|null $operator * @param string|null $second * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereColumn($first, $operator = null, $second = null) + */ public static function orWhereColumn($first, $operator = null, $second = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereColumn($first, $operator, $second); } - - /** + /** * Add a raw where clause to the query. * * @param string $sql @@ -21793,28 +20520,24 @@ public static function orWhereColumn($first, $operator = null, $second = null) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereRaw($sql, $bindings = [], $boolean = 'and') + */ public static function whereRaw($sql, $bindings = [], $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereRaw($sql, $bindings, $boolean); } - - /** + /** * Add a raw or where clause to the query. * * @param string $sql * @param mixed $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereRaw($sql, $bindings = []) + */ public static function orWhereRaw($sql, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereRaw($sql, $bindings); } - - /** + /** * Add a "where in" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column @@ -21823,28 +20546,24 @@ public static function orWhereRaw($sql, $bindings = []) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereIn($column, $values, $boolean = 'and', $not = false) + */ public static function whereIn($column, $values, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereIn($column, $values, $boolean, $not); } - - /** + /** * Add an "or where in" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param mixed $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereIn($column, $values) + */ public static function orWhereIn($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereIn($column, $values); } - - /** + /** * Add a "where not in" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column @@ -21852,28 +20571,24 @@ public static function orWhereIn($column, $values) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNotIn($column, $values, $boolean = 'and') + */ public static function whereNotIn($column, $values, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNotIn($column, $values, $boolean); } - - /** + /** * Add an "or where not in" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param mixed $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereNotIn($column, $values) + */ public static function orWhereNotIn($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereNotIn($column, $values); } - - /** + /** * Add a "where in raw" clause for integer values to the query. * * @param string $column @@ -21882,28 +20597,24 @@ public static function orWhereNotIn($column, $values) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereIntegerInRaw($column, $values, $boolean = 'and', $not = false) + */ public static function whereIntegerInRaw($column, $values, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereIntegerInRaw($column, $values, $boolean, $not); } - - /** + /** * Add an "or where in raw" clause for integer values to the query. * * @param string $column * @param \Illuminate\Contracts\Support\Arrayable|array $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereIntegerInRaw($column, $values) + */ public static function orWhereIntegerInRaw($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereIntegerInRaw($column, $values); } - - /** + /** * Add a "where not in raw" clause for integer values to the query. * * @param string $column @@ -21911,28 +20622,24 @@ public static function orWhereIntegerInRaw($column, $values) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereIntegerNotInRaw($column, $values, $boolean = 'and') + */ public static function whereIntegerNotInRaw($column, $values, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereIntegerNotInRaw($column, $values, $boolean); } - - /** + /** * Add an "or where not in raw" clause for integer values to the query. * * @param string $column * @param \Illuminate\Contracts\Support\Arrayable|array $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereIntegerNotInRaw($column, $values) + */ public static function orWhereIntegerNotInRaw($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereIntegerNotInRaw($column, $values); } - - /** + /** * Add a "where null" clause to the query. * * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns @@ -21940,41 +20647,35 @@ public static function orWhereIntegerNotInRaw($column, $values) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNull($columns, $boolean = 'and', $not = false) + */ public static function whereNull($columns, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNull($columns, $boolean, $not); } - - /** + /** * Add an "or where null" clause to the query. * * @param string|array|\Illuminate\Contracts\Database\Query\Expression $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereNull($column) + */ public static function orWhereNull($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereNull($column); } - - /** + /** * Add a "where not null" clause to the query. * * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNotNull($columns, $boolean = 'and') + */ public static function whereNotNull($columns, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNotNull($columns, $boolean); } - - /** + /** * Add a where between statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column @@ -21983,14 +20684,12 @@ public static function whereNotNull($columns, $boolean = 'and') * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereBetween($column, $values, $boolean = 'and', $not = false) + */ public static function whereBetween($column, $values, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereBetween($column, $values, $boolean, $not); } - - /** + /** * Add a where between statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column @@ -21999,42 +20698,36 @@ public static function whereBetween($column, $values, $boolean = 'and', $not = f * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereBetweenColumns($column, $values, $boolean = 'and', $not = false) + */ public static function whereBetweenColumns($column, $values, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereBetweenColumns($column, $values, $boolean, $not); } - - /** + /** * Add an or where between statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \Illuminate\Database\Query\iterable $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereBetween($column, $values) + */ public static function orWhereBetween($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereBetween($column, $values); } - - /** + /** * Add an or where between statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param array $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereBetweenColumns($column, $values) + */ public static function orWhereBetweenColumns($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereBetweenColumns($column, $values); } - - /** + /** * Add a where not between statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column @@ -22042,14 +20735,12 @@ public static function orWhereBetweenColumns($column, $values) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNotBetween($column, $values, $boolean = 'and') + */ public static function whereNotBetween($column, $values, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNotBetween($column, $values, $boolean); } - - /** + /** * Add a where not between statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column @@ -22057,250 +20748,216 @@ public static function whereNotBetween($column, $values, $boolean = 'and') * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNotBetweenColumns($column, $values, $boolean = 'and') + */ public static function whereNotBetweenColumns($column, $values, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNotBetweenColumns($column, $values, $boolean); } - - /** + /** * Add an or where not between statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param \Illuminate\Database\Query\iterable $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereNotBetween($column, $values) + */ public static function orWhereNotBetween($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereNotBetween($column, $values); } - - /** + /** * Add an or where not between statement using columns to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @param array $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereNotBetweenColumns($column, $values) + */ public static function orWhereNotBetweenColumns($column, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereNotBetweenColumns($column, $values); } - - /** + /** * Add an "or where not null" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereNotNull($column) + */ public static function orWhereNotNull($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereNotNull($column); } - - /** + /** * Add a "where date" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereDate($column, $operator, $value = null, $boolean = 'and') + */ public static function whereDate($column, $operator, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereDate($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where date" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereDate($column, $operator, $value = null) + */ public static function orWhereDate($column, $operator, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereDate($column, $operator, $value); } - - /** + /** * Add a "where time" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereTime($column, $operator, $value = null, $boolean = 'and') + */ public static function whereTime($column, $operator, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereTime($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where time" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|null $operator * @param \DateTimeInterface|string|null $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereTime($column, $operator, $value = null) + */ public static function orWhereTime($column, $operator, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereTime($column, $operator, $value); } - - /** + /** * Add a "where day" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereDay($column, $operator, $value = null, $boolean = 'and') + */ public static function whereDay($column, $operator, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereDay($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where day" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereDay($column, $operator, $value = null) + */ public static function orWhereDay($column, $operator, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereDay($column, $operator, $value); } - - /** + /** * Add a "where month" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereMonth($column, $operator, $value = null, $boolean = 'and') + */ public static function whereMonth($column, $operator, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereMonth($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where month" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereMonth($column, $operator, $value = null) + */ public static function orWhereMonth($column, $operator, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereMonth($column, $operator, $value); } - - /** + /** * Add a "where year" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereYear($column, $operator, $value = null, $boolean = 'and') + */ public static function whereYear($column, $operator, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereYear($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where year" statement to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column - * @param string $operator + * @param \DateTimeInterface|string|int|null $operator * @param \DateTimeInterface|string|int|null $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereYear($column, $operator, $value = null) + */ public static function orWhereYear($column, $operator, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereYear($column, $operator, $value); } - - /** + /** * Add a nested where statement to the query. * * @param \Closure $callback * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNested($callback, $boolean = 'and') + */ public static function whereNested($callback, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNested($callback, $boolean); } - - /** + /** * Create a new query instance for nested where condition. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function forNestedWhere() + */ public static function forNestedWhere() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->forNestedWhere(); } - - /** + /** * Add another query builder as a nested where to the query builder. * * @param \Illuminate\Database\Query\Builder $query * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function addNestedWhereQuery($query, $boolean = 'and') + */ public static function addNestedWhereQuery($query, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->addNestedWhereQuery($query, $boolean); } - - /** + /** * Add an exists clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $callback @@ -22308,55 +20965,47 @@ public static function addNestedWhereQuery($query, $boolean = 'and') * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereExists($callback, $boolean = 'and', $not = false) + */ public static function whereExists($callback, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereExists($callback, $boolean, $not); } - - /** + /** * Add an or exists clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $callback * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereExists($callback, $not = false) + */ public static function orWhereExists($callback, $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereExists($callback, $not); } - - /** + /** * Add a where not exists clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $callback * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereNotExists($callback, $boolean = 'and') + */ public static function whereNotExists($callback, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereNotExists($callback, $boolean); } - - /** + /** * Add a where not exists clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $callback * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereNotExists($callback) + */ public static function orWhereNotExists($callback) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereNotExists($callback); } - - /** + /** * Add an exists clause to the query. * * @param \Illuminate\Database\Query\Builder $query @@ -22364,14 +21013,12 @@ public static function orWhereNotExists($callback) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function addWhereExistsQuery($query, $boolean = 'and', $not = false) + */ public static function addWhereExistsQuery($query, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->addWhereExistsQuery($query, $boolean, $not); } - - /** + /** * Adds a where condition using row values. * * @param array $columns @@ -22381,14 +21028,12 @@ public static function addWhereExistsQuery($query, $boolean = 'and', $not = fals * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function whereRowValues($columns, $operator, $values, $boolean = 'and') + */ public static function whereRowValues($columns, $operator, $values, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereRowValues($columns, $operator, $values, $boolean); } - - /** + /** * Adds an or where condition using row values. * * @param array $columns @@ -22396,14 +21041,12 @@ public static function whereRowValues($columns, $operator, $values, $boolean = ' * @param array $values * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereRowValues($columns, $operator, $values) + */ public static function orWhereRowValues($columns, $operator, $values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereRowValues($columns, $operator, $values); } - - /** + /** * Add a "where JSON contains" clause to the query. * * @param string $column @@ -22412,28 +21055,24 @@ public static function orWhereRowValues($columns, $operator, $values) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereJsonContains($column, $value, $boolean = 'and', $not = false) + */ public static function whereJsonContains($column, $value, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereJsonContains($column, $value, $boolean, $not); } - - /** + /** * Add an "or where JSON contains" clause to the query. * * @param string $column * @param mixed $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereJsonContains($column, $value) + */ public static function orWhereJsonContains($column, $value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereJsonContains($column, $value); } - - /** + /** * Add a "where JSON not contains" clause to the query. * * @param string $column @@ -22441,28 +21080,24 @@ public static function orWhereJsonContains($column, $value) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereJsonDoesntContain($column, $value, $boolean = 'and') + */ public static function whereJsonDoesntContain($column, $value, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereJsonDoesntContain($column, $value, $boolean); } - - /** + /** * Add an "or where JSON not contains" clause to the query. * * @param string $column * @param mixed $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereJsonDoesntContain($column, $value) + */ public static function orWhereJsonDoesntContain($column, $value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereJsonDoesntContain($column, $value); } - - /** + /** * Add a clause that determines if a JSON path exists to the query. * * @param string $column @@ -22470,54 +21105,46 @@ public static function orWhereJsonDoesntContain($column, $value) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereJsonContainsKey($column, $boolean = 'and', $not = false) + */ public static function whereJsonContainsKey($column, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereJsonContainsKey($column, $boolean, $not); } - - /** + /** * Add an "or" clause that determines if a JSON path exists to the query. * * @param string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereJsonContainsKey($column) + */ public static function orWhereJsonContainsKey($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereJsonContainsKey($column); } - - /** + /** * Add a clause that determines if a JSON path does not exist to the query. * * @param string $column * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereJsonDoesntContainKey($column, $boolean = 'and') + */ public static function whereJsonDoesntContainKey($column, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereJsonDoesntContainKey($column, $boolean); } - - /** + /** * Add an "or" clause that determines if a JSON path does not exist to the query. * * @param string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereJsonDoesntContainKey($column) + */ public static function orWhereJsonDoesntContainKey($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereJsonDoesntContainKey($column); } - - /** + /** * Add a "where JSON length" clause to the query. * * @param string $column @@ -22526,14 +21153,12 @@ public static function orWhereJsonDoesntContainKey($column) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereJsonLength($column, $operator, $value = null, $boolean = 'and') + */ public static function whereJsonLength($column, $operator, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereJsonLength($column, $operator, $value, $boolean); } - - /** + /** * Add an "or where JSON length" clause to the query. * * @param string $column @@ -22541,28 +21166,24 @@ public static function whereJsonLength($column, $operator, $value = null, $boole * @param mixed $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereJsonLength($column, $operator, $value = null) + */ public static function orWhereJsonLength($column, $operator, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereJsonLength($column, $operator, $value); } - - /** + /** * Handles dynamic "where" clauses to the query. * * @param string $method * @param array $parameters * @return \Illuminate\Database\Query\Builder * @static - */ - public static function dynamicWhere($method, $parameters) + */ public static function dynamicWhere($method, $parameters) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->dynamicWhere($method, $parameters); } - - /** + /** * Add a "where fulltext" clause to the query. * * @param string|string[] $columns @@ -22570,55 +21191,101 @@ public static function dynamicWhere($method, $parameters) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function whereFullText($columns, $value, $options = [], $boolean = 'and') + */ public static function whereFullText($columns, $value, $options = [], $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->whereFullText($columns, $value, $options, $boolean); } - - /** + /** * Add a "or where fulltext" clause to the query. * * @param string|string[] $columns * @param string $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orWhereFullText($columns, $value, $options = []) + */ public static function orWhereFullText($columns, $value, $options = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereFullText($columns, $value, $options); } - - /** + /** + * Add a "where" clause to the query for multiple columns with "and" conditions between them. + * + * @param string[] $columns + * @param mixed $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function whereAll($columns, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereAll($columns, $operator, $value, $boolean); + } + /** + * Add an "or where" clause to the query for multiple columns with "and" conditions between them. + * + * @param string[] $columns + * @param string $operator + * @param mixed $value + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function orWhereAll($columns, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereAll($columns, $operator, $value); + } + /** + * Add an "where" clause to the query for multiple columns with "or" conditions between them. + * + * @param string[] $columns + * @param string $operator + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function whereAny($columns, $operator = null, $value = null, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereAny($columns, $operator, $value, $boolean); + } + /** + * Add an "or where" clause to the query for multiple columns with "or" conditions between them. + * + * @param string[] $columns + * @param string $operator + * @param mixed $value + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function orWhereAny($columns, $operator = null, $value = null) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereAny($columns, $operator, $value); + } + /** * Add a "group by" clause to the query. * * @param array|\Illuminate\Contracts\Database\Query\Expression|string $groups * @return \Illuminate\Database\Query\Builder * @static - */ - public static function groupBy(...$groups) + */ public static function groupBy(...$groups) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->groupBy(...$groups); } - - /** + /** * Add a raw groupBy clause to the query. * * @param string $sql * @param array $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function groupByRaw($sql, $bindings = []) + */ public static function groupByRaw($sql, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->groupByRaw($sql, $bindings); } - - /** + /** * Add a "having" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column @@ -22627,14 +21294,12 @@ public static function groupByRaw($sql, $bindings = []) * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function having($column, $operator = null, $value = null, $boolean = 'and') + */ public static function having($column, $operator = null, $value = null, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->having($column, $operator, $value, $boolean); } - - /** + /** * Add an "or having" clause to the query. * * @param \Illuminate\Contracts\Database\Query\Expression|\Closure|string $column @@ -22642,42 +21307,36 @@ public static function having($column, $operator = null, $value = null, $boolean * @param string|int|float|null $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orHaving($column, $operator = null, $value = null) + */ public static function orHaving($column, $operator = null, $value = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orHaving($column, $operator, $value); } - - /** + /** * Add a nested having statement to the query. * * @param \Closure $callback * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function havingNested($callback, $boolean = 'and') + */ public static function havingNested($callback, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->havingNested($callback, $boolean); } - - /** + /** * Add another query builder as a nested having to the query builder. * * @param \Illuminate\Database\Query\Builder $query * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function addNestedHavingQuery($query, $boolean = 'and') + */ public static function addNestedHavingQuery($query, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->addNestedHavingQuery($query, $boolean); } - - /** + /** * Add a "having null" clause to the query. * * @param string|array $columns @@ -22685,54 +21344,46 @@ public static function addNestedHavingQuery($query, $boolean = 'and') * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function havingNull($columns, $boolean = 'and', $not = false) + */ public static function havingNull($columns, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->havingNull($columns, $boolean, $not); } - - /** + /** * Add an "or having null" clause to the query. * * @param string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orHavingNull($column) + */ public static function orHavingNull($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orHavingNull($column); } - - /** + /** * Add a "having not null" clause to the query. * * @param string|array $columns * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function havingNotNull($columns, $boolean = 'and') + */ public static function havingNotNull($columns, $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->havingNotNull($columns, $boolean); } - - /** + /** * Add an "or having not null" clause to the query. * * @param string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orHavingNotNull($column) + */ public static function orHavingNotNull($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orHavingNotNull($column); } - - /** + /** * Add a "having between " clause to the query. * * @param string $column @@ -22741,14 +21392,12 @@ public static function orHavingNotNull($column) * @param bool $not * @return \Illuminate\Database\Query\Builder * @static - */ - public static function havingBetween($column, $values, $boolean = 'and', $not = false) + */ public static function havingBetween($column, $values, $boolean = 'and', $not = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->havingBetween($column, $values, $boolean, $not); } - - /** + /** * Add a raw having clause to the query. * * @param string $sql @@ -22756,28 +21405,24 @@ public static function havingBetween($column, $values, $boolean = 'and', $not = * @param string $boolean * @return \Illuminate\Database\Query\Builder * @static - */ - public static function havingRaw($sql, $bindings = [], $boolean = 'and') + */ public static function havingRaw($sql, $bindings = [], $boolean = 'and') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->havingRaw($sql, $bindings, $boolean); } - - /** + /** * Add a raw or having clause to the query. * * @param string $sql * @param array $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orHavingRaw($sql, $bindings = []) + */ public static function orHavingRaw($sql, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orHavingRaw($sql, $bindings); } - - /** + /** * Add an "order by" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|\Illuminate\Contracts\Database\Query\Expression|string $column @@ -22785,120 +21430,102 @@ public static function orHavingRaw($sql, $bindings = []) * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function orderBy($column, $direction = 'asc') + */ public static function orderBy($column, $direction = 'asc') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orderBy($column, $direction); } - - /** + /** * Add a descending "order by" clause to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|\Illuminate\Contracts\Database\Query\Expression|string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orderByDesc($column) + */ public static function orderByDesc($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orderByDesc($column); } - - /** + /** * Put the query's results in random order. * * @param string|int $seed * @return \Illuminate\Database\Query\Builder * @static - */ - public static function inRandomOrder($seed = '') + */ public static function inRandomOrder($seed = '') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->inRandomOrder($seed); } - - /** + /** * Add a raw "order by" clause to the query. * * @param string $sql * @param array $bindings * @return \Illuminate\Database\Query\Builder * @static - */ - public static function orderByRaw($sql, $bindings = []) + */ public static function orderByRaw($sql, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orderByRaw($sql, $bindings); } - - /** + /** * Alias to set the "offset" value of the query. * * @param int $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function skip($value) + */ public static function skip($value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->skip($value); } - - /** + /** * Set the "offset" value of the query. * * @param int $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function offset($value) + */ public static function offset($value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->offset($value); } - - /** + /** * Alias to set the "limit" value of the query. * * @param int $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function take($value) + */ public static function take($value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->take($value); } - - /** + /** * Set the "limit" value of the query. * * @param int $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function limit($value) + */ public static function limit($value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->limit($value); } - - /** + /** * Set the limit and offset for a given page. * * @param int $page * @param int $perPage * @return \Illuminate\Database\Query\Builder * @static - */ - public static function forPage($page, $perPage = 15) + */ public static function forPage($page, $perPage = 15) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->forPage($page, $perPage); } - - /** + /** * Constrain the query to the previous "page" of results before a given ID. * * @param int $perPage @@ -22906,14 +21533,12 @@ public static function forPage($page, $perPage = 15) * @param string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id') + */ public static function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->forPageBeforeId($perPage, $lastId, $column); } - - /** + /** * Constrain the query to the next "page" of results after a given ID. * * @param int $perPage @@ -22921,419 +21546,367 @@ public static function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id * @param string $column * @return \Illuminate\Database\Query\Builder * @static - */ - public static function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id') + */ public static function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->forPageAfterId($perPage, $lastId, $column); } - - /** + /** * Remove all existing orders and optionally add a new order. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Contracts\Database\Query\Expression|string|null $column * @param string $direction * @return \Illuminate\Database\Query\Builder * @static - */ - public static function reorder($column = null, $direction = 'asc') + */ public static function reorder($column = null, $direction = 'asc') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->reorder($column, $direction); } - - /** + /** * Add a union statement to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $query * @param bool $all * @return \Illuminate\Database\Query\Builder * @static - */ - public static function union($query, $all = false) + */ public static function union($query, $all = false) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->union($query, $all); } - - /** + /** * Add a union all statement to the query. * * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $query * @return \Illuminate\Database\Query\Builder * @static - */ - public static function unionAll($query) + */ public static function unionAll($query) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->unionAll($query); } - - /** + /** * Lock the selected rows in the table. * * @param string|bool $value * @return \Illuminate\Database\Query\Builder * @static - */ - public static function lock($value = true) + */ public static function lock($value = true) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->lock($value); } - - /** + /** * Lock the selected rows in the table for updating. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function lockForUpdate() + */ public static function lockForUpdate() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->lockForUpdate(); } - - /** + /** * Share lock the selected rows in the table. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function sharedLock() + */ public static function sharedLock() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->sharedLock(); } - - /** + /** * Register a closure to be invoked before the query is executed. * * @param callable $callback * @return \Illuminate\Database\Query\Builder * @static - */ - public static function beforeQuery($callback) + */ public static function beforeQuery($callback) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->beforeQuery($callback); } - - /** + /** * Invoke the "before query" modification callbacks. * * @return void * @static - */ - public static function applyBeforeQueryCallbacks() + */ public static function applyBeforeQueryCallbacks() { /** @var \Illuminate\Database\Query\Builder $instance */ $instance->applyBeforeQueryCallbacks(); } - - /** + /** * Get the SQL representation of the query. * * @return string * @static - */ - public static function toSql() + */ public static function toSql() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->toSql(); } - - /** + /** * Get the raw SQL representation of the query with embedded bindings. * * @return string * @static - */ - public static function toRawSql() + */ public static function toRawSql() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->toRawSql(); } - - /** + /** * Get a single expression value from the first result of a query. * * @param string $expression * @param array $bindings * @return mixed * @static - */ - public static function rawValue($expression, $bindings = []) + */ public static function rawValue($expression, $bindings = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->rawValue($expression, $bindings); } - - /** + /** * Get the count of the total records for the paginator. * * @param array $columns * @return int * @static - */ - public static function getCountForPagination($columns = []) + */ public static function getCountForPagination($columns = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->getCountForPagination($columns); } - - /** + /** * Concatenate values of a given column as a string. * * @param string $column * @param string $glue * @return string * @static - */ - public static function implode($column, $glue = '') + */ public static function implode($column, $glue = '') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->implode($column, $glue); } - - /** + /** * Determine if any rows exist for the current query. * * @return bool * @static - */ - public static function exists() + */ public static function exists() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->exists(); } - - /** + /** * Determine if no rows exist for the current query. * * @return bool * @static - */ - public static function doesntExist() + */ public static function doesntExist() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->doesntExist(); } - - /** + /** * Execute the given callback if no rows exist for the current query. * * @param \Closure $callback * @return mixed * @static - */ - public static function existsOr($callback) + */ public static function existsOr($callback) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->existsOr($callback); } - - /** + /** * Execute the given callback if rows exist for the current query. * * @param \Closure $callback * @return mixed * @static - */ - public static function doesntExistOr($callback) + */ public static function doesntExistOr($callback) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->doesntExistOr($callback); } - - /** + /** * Retrieve the "count" result of the query. * * @param \Illuminate\Contracts\Database\Query\Expression|string $columns * @return int * @static - */ - public static function count($columns = '*') + */ public static function count($columns = '*') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->count($columns); } - - /** + /** * Retrieve the minimum value of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return mixed * @static - */ - public static function min($column) + */ public static function min($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->min($column); } - - /** + /** * Retrieve the maximum value of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return mixed * @static - */ - public static function max($column) + */ public static function max($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->max($column); } - - /** + /** * Retrieve the sum of the values of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return mixed * @static - */ - public static function sum($column) + */ public static function sum($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->sum($column); } - - /** + /** * Retrieve the average of the values of a given column. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return mixed * @static - */ - public static function avg($column) + */ public static function avg($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->avg($column); } - - /** + /** * Alias for the "avg" method. * * @param \Illuminate\Contracts\Database\Query\Expression|string $column * @return mixed * @static - */ - public static function average($column) + */ public static function average($column) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->average($column); } - - /** + /** * Execute an aggregate function on the database. * * @param string $function * @param array $columns * @return mixed * @static - */ - public static function aggregate($function, $columns = []) + */ public static function aggregate($function, $columns = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->aggregate($function, $columns); } - - /** + /** * Execute a numeric aggregate function on the database. * * @param string $function * @param array $columns * @return float|int * @static - */ - public static function numericAggregate($function, $columns = []) + */ public static function numericAggregate($function, $columns = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->numericAggregate($function, $columns); } - - /** + /** * Insert new records into the database. * * @param array $values * @return bool * @static - */ - public static function insert($values) + */ public static function insert($values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->insert($values); } - - /** + /** * Insert new records into the database while ignoring errors. * * @param array $values * @return int * @static - */ - public static function insertOrIgnore($values) + */ public static function insertOrIgnore($values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->insertOrIgnore($values); } - - /** + /** * Insert a new record and get the value of the primary key. * * @param array $values * @param string|null $sequence * @return int * @static - */ - public static function insertGetId($values, $sequence = null) + */ public static function insertGetId($values, $sequence = null) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->insertGetId($values, $sequence); } - - /** + /** * Insert new records into the table using a subquery. * * @param array $columns * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query * @return int * @static - */ - public static function insertUsing($columns, $query) + */ public static function insertUsing($columns, $query) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->insertUsing($columns, $query); } - - /** + /** + * Insert new records into the table using a subquery while ignoring errors. + * + * @param array $columns + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $query + * @return int + * @static + */ public static function insertOrIgnoreUsing($columns, $query) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->insertOrIgnoreUsing($columns, $query); + } + /** * Update records in a PostgreSQL database using the update from syntax. * * @param array $values * @return int * @static - */ - public static function updateFrom($values) + */ public static function updateFrom($values) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->updateFrom($values); } - - /** + /** * Insert or update a record matching the attributes, and fill it with values. * * @param array $attributes * @param array $values * @return bool * @static - */ - public static function updateOrInsert($attributes, $values = []) + */ public static function updateOrInsert($attributes, $values = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->updateOrInsert($attributes, $values); } - - /** + /** * Increment the given column's values by the given amounts. * * @param array $columns @@ -23341,14 +21914,12 @@ public static function updateOrInsert($attributes, $values = []) * @return int * @throws \InvalidArgumentException * @static - */ - public static function incrementEach($columns, $extra = []) + */ public static function incrementEach($columns, $extra = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->incrementEach($columns, $extra); } - - /** + /** * Decrement the given column's values by the given amounts. * * @param array $columns @@ -23356,75 +21927,63 @@ public static function incrementEach($columns, $extra = []) * @return int * @throws \InvalidArgumentException * @static - */ - public static function decrementEach($columns, $extra = []) + */ public static function decrementEach($columns, $extra = []) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->decrementEach($columns, $extra); } - - /** + /** * Run a truncate statement on the table. * * @return void * @static - */ - public static function truncate() + */ public static function truncate() { /** @var \Illuminate\Database\Query\Builder $instance */ $instance->truncate(); } - - /** + /** * Get all of the query builder's columns in a text-only array with all expressions evaluated. * * @return array * @static - */ - public static function getColumns() + */ public static function getColumns() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->getColumns(); } - - /** + /** * Create a raw database expression. * * @param mixed $value * @return \Illuminate\Contracts\Database\Query\Expression * @static - */ - public static function raw($value) + */ public static function raw($value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->raw($value); } - - /** + /** * Get the current query value bindings in a flattened array. * * @return array * @static - */ - public static function getBindings() + */ public static function getBindings() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->getBindings(); } - - /** + /** * Get the raw array of bindings. * * @return array * @static - */ - public static function getRawBindings() + */ public static function getRawBindings() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->getRawBindings(); } - - /** + /** * Set the bindings on the query builder. * * @param array $bindings @@ -23432,14 +21991,12 @@ public static function getRawBindings() * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function setBindings($bindings, $type = 'where') + */ public static function setBindings($bindings, $type = 'where') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->setBindings($bindings, $type); } - - /** + /** * Add a binding to the query. * * @param mixed $value @@ -23447,188 +22004,158 @@ public static function setBindings($bindings, $type = 'where') * @return \Illuminate\Database\Query\Builder * @throws \InvalidArgumentException * @static - */ - public static function addBinding($value, $type = 'where') + */ public static function addBinding($value, $type = 'where') { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->addBinding($value, $type); } - - /** + /** * Cast the given binding value. * * @param mixed $value * @return mixed * @static - */ - public static function castBinding($value) + */ public static function castBinding($value) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->castBinding($value); } - - /** + /** * Merge an array of bindings into our bindings. * * @param \Illuminate\Database\Query\Builder $query * @return \Illuminate\Database\Query\Builder * @static - */ - public static function mergeBindings($query) + */ public static function mergeBindings($query) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->mergeBindings($query); } - - /** + /** * Remove all of the expressions from a list of bindings. * * @param array $bindings * @return array * @static - */ - public static function cleanBindings($bindings) + */ public static function cleanBindings($bindings) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->cleanBindings($bindings); } - - /** + /** * Get the database query processor instance. * * @return \Illuminate\Database\Query\Processors\Processor * @static - */ - public static function getProcessor() + */ public static function getProcessor() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->getProcessor(); } - - /** + /** * Get the query grammar instance. * * @return \Illuminate\Database\Query\Grammars\Grammar * @static - */ - public static function getGrammar() + */ public static function getGrammar() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->getGrammar(); } - - /** + /** * Use the "write" PDO connection when executing the query. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function useWritePdo() + */ public static function useWritePdo() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->useWritePdo(); } - - /** + /** * Clone the query without the given properties. * * @param array $properties * @return static * @static - */ - public static function cloneWithout($properties) + */ public static function cloneWithout($properties) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->cloneWithout($properties); } - - /** + /** * Clone the query without the given bindings. * * @param array $except * @return static * @static - */ - public static function cloneWithoutBindings($except) + */ public static function cloneWithoutBindings($except) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->cloneWithoutBindings($except); } - - /** + /** * Dump the current SQL and bindings. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function dump() + */ public static function dump() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->dump(); } - - /** + /** * Dump the raw current SQL with embedded bindings. * * @return \Illuminate\Database\Query\Builder * @static - */ - public static function dumpRawSql() + */ public static function dumpRawSql() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->dumpRawSql(); } - - /** + /** * Die and dump the current SQL and bindings. * * @return \Illuminate\Database\Query\never * @static - */ - public static function dd() + */ public static function dd() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->dd(); } - - /** + /** * Die and dump the current SQL with embedded bindings. * * @return \Illuminate\Database\Query\never * @static - */ - public static function ddRawSql() + */ public static function ddRawSql() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->ddRawSql(); } - - /** + /** * Explains the query. * * @return \Illuminate\Support\Collection * @static - */ - public static function explain() + */ public static function explain() { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->explain(); } - - /** + /** * Register a custom macro. * * @param string $name * @param object|callable $macro * @return void * @static - */ - public static function macro($name, $macro) + */ public static function macro($name, $macro) { \Illuminate\Database\Query\Builder::macro($name, $macro); } - - /** + /** * Mix another object into the class. * * @param object $mixin @@ -23636,24 +22163,20 @@ public static function macro($name, $macro) * @return void * @throws \ReflectionException * @static - */ - public static function mixin($mixin, $replace = true) + */ public static function mixin($mixin, $replace = true) { \Illuminate\Database\Query\Builder::mixin($mixin, $replace); } - - /** + /** * Flush the existing macros. * * @return void * @static - */ - public static function flushMacros() + */ public static function flushMacros() { \Illuminate\Database\Query\Builder::flushMacros(); } - - /** + /** * Dynamically handle calls to the class. * * @param string $method @@ -23661,8 +22184,7 @@ public static function flushMacros() * @return mixed * @throws \BadMethodCallException * @static - */ - public static function macroCall($method, $parameters) + */ public static function macroCall($method, $parameters) { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->macroCall($method, $parameters); @@ -23700,10 +22222,11 @@ class Groups extends \App\Facades\Groups {} class TwoFAccounts extends \App\Facades\TwoFAccounts {} class Helpers extends \App\Helpers\Helpers {} class DotenvEditor extends \Jackiedo\DotenvEditor\Facades\DotenvEditor {} + class Agent extends \Jenssegers\Agent\Facades\Agent {} class Socialite extends \Laravel\Socialite\Facades\Socialite {} class Flare extends \Spatie\LaravelIgnition\Facades\Flare {} - -} + } + diff --git a/app/Api/v1/Controllers/UserManagerController.php b/app/Api/v1/Controllers/UserManagerController.php index d27b57a1..37a63ccc 100644 --- a/app/Api/v1/Controllers/UserManagerController.php +++ b/app/Api/v1/Controllers/UserManagerController.php @@ -4,6 +4,7 @@ use App\Api\v1\Requests\UserManagerPromoteRequest; use App\Api\v1\Requests\UserManagerStoreRequest; +use App\Api\v1\Resources\UserAuthentication; use App\Api\v1\Resources\UserManagerResource; use App\Http\Controllers\Controller; use App\Models\User; @@ -193,8 +194,7 @@ public function promote(UserManagerPromoteRequest $request, User $user) { $this->authorize('promote', $user); - if ($user->promoteToAdministrator($request->validated('is_admin'))) - { + if ($user->promoteToAdministrator($request->validated('is_admin'))) { $user->save(); Log::info(sprintf('User ID #%s set is_admin=%s for User ID #%s', $request->user()->id, $user->isAdministrator(), $user->id)); @@ -206,6 +206,24 @@ public function promote(UserManagerPromoteRequest $request, User $user) ], 403); } + /** + * Get the user's authentication logs + * + * @return \Illuminate\Http\JsonResponse + */ + public function authentications(Request $request, User $user) + { + $this->authorize('view', $user); + + $validated = $this->validate($request, [ + 'limit' => 'sometimes|numeric', + ]); + + $authentications = $request->has('limit') ? $user->authentications->take($validated['limit']) : $user->authentications; + + return UserAuthentication::collection($authentications); + } + /** * Get the broker to be used during password reset. * diff --git a/app/Api/v1/Resources/UserAuthentication.php b/app/Api/v1/Resources/UserAuthentication.php new file mode 100644 index 00000000..926730d0 --- /dev/null +++ b/app/Api/v1/Resources/UserAuthentication.php @@ -0,0 +1,63 @@ + $preferences + * @property string $is_admin + */ +class UserAuthentication extends JsonResource +{ + /** + * A user agent parser instance. + * + * @var mixed + */ + protected $agent; + + /** + * Create a new resource instance. + * + * @param mixed $resource + * @return void + */ + public function __construct($resource) + { + $this->agent = new Agent(); + $this->agent->setUserAgent($resource->user_agent); + + parent::__construct($resource); + } + + /** + * Transform the resource into an array. + * + * @param \Illuminate\Http\Request $request + * @return array + */ + public function toArray($request) + { + return [ + 'id' => $this->id, + 'ip_address' => $this->ip_address, + 'user_agent' => $this->user_agent, + 'browser' => $this->agent->browser(), + 'platform' => $this->agent->platform(), + 'device' => $this->agent->deviceType(), + 'login_at' => Carbon::parse($this->login_at)->toDayDateTimeString(), + 'login_successful' => $this->login_successful, + 'duration' => $this->logout_at + ? Carbon::parse($this->logout_at)->diffForHumans(Carbon::parse($this->login_at), ['syntax' => CarbonInterface::DIFF_ABSOLUTE]) + : null, + ]; + } +} diff --git a/app/Console/Commands/Utils/ResetTrait.php b/app/Console/Commands/Utils/ResetTrait.php index 36e6c074..3affa340 100644 --- a/app/Console/Commands/Utils/ResetTrait.php +++ b/app/Console/Commands/Utils/ResetTrait.php @@ -70,6 +70,7 @@ protected function flushDB() : void DB::table('groups')->delete(); DB::table('users')->delete(); DB::table('options')->delete(); + DB::table(config('authentication-log.table_name'))->delete(); $this->line('Database cleaned'); } diff --git a/app/Http/Controllers/Auth/UserController.php b/app/Http/Controllers/Auth/UserController.php index 283596a3..55b77d9e 100644 --- a/app/Http/Controllers/Auth/UserController.php +++ b/app/Http/Controllers/Auth/UserController.php @@ -6,7 +6,6 @@ use App\Http\Controllers\Controller; use App\Http\Requests\UserDeleteRequest; use App\Http\Requests\UserUpdateRequest; -use App\Models\User; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Log; diff --git a/app/Models/User.php b/app/Models/User.php index 52c5d6e7..45cee0f1 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -12,6 +12,7 @@ use Illuminate\Support\Str; use Laragear\WebAuthn\WebAuthnAuthentication; use Laravel\Passport\HasApiTokens; +use Rappasoft\LaravelAuthenticationLog\Traits\AuthenticationLoggable; /** * App\Models\User @@ -42,6 +43,7 @@ */ class User extends Authenticatable implements WebAuthnAuthenticatable { + use AuthenticationLoggable; use HasApiTokens, HasFactory, Notifiable; use WebAuthnAuthentication, WebAuthnManageCredentials; @@ -81,7 +83,7 @@ class User extends Authenticatable implements WebAuthnAuthenticatable * These are extra user-defined events observers may subscribe to. */ protected $observables = [ - 'demoting' + 'demoting', ]; /** @@ -108,7 +110,7 @@ public function isAdministrator() /** * Grant administrator permissions to the user. */ - public function promoteToAdministrator(bool $promote = true): bool + public function promoteToAdministrator(bool $promote = true) : bool { if ($promote == false && $this->fireModelEvent('demoting') === false) { return false; diff --git a/app/Notifications/SignedInWithNewDevice.php b/app/Notifications/SignedInWithNewDevice.php new file mode 100644 index 00000000..9b9f4017 --- /dev/null +++ b/app/Notifications/SignedInWithNewDevice.php @@ -0,0 +1,49 @@ +authenticationLog = $authenticationLog; + $this->agent = new Agent(); + $this->agent->setUserAgent($authenticationLog->user_agent); + } + + public function via($notifiable) + { + return $notifiable->notifyAuthenticationLogVia(); + } + + public function toMail($notifiable) + { + return (new MailMessage()) + ->subject(__('notifications.new_device.subject')) + ->markdown('emails.newDevice', [ + 'account' => $notifiable, + 'time' => $this->authenticationLog->login_at, + 'ipAddress' => $this->authenticationLog->ip_address, + 'browser' => $this->agent->browser(), + 'platform' => $this->agent->platform(), + ]); + } +} diff --git a/composer.json b/composer.json index 390db9c4..787ff1fd 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,7 @@ "google/protobuf": "^3.21", "guzzlehttp/guzzle": "^7.2", "jackiedo/dotenv-editor": "^2.1", + "jenssegers/agent": "^2.6", "khanamiryan/qrcode-detector-decoder": "^2.0.2", "laragear/webauthn": "^2.0", "laravel/framework": "^10.10", @@ -34,6 +35,7 @@ "laravel/tinker": "^2.8", "laravel/ui": "^4.2", "paragonie/constant_time_encoding": "^2.6", + "rappasoft/laravel-authentication-log": "^4.0", "socialiteproviders/manager": "^4.4", "spatie/eloquent-sortable": "^4.0.1", "spomky-labs/otphp": "^11.0" @@ -101,4 +103,4 @@ "vendor/bin/phpunit --coverage-html tests/Coverage/" ] } -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index 2c7b596b..14cc14b0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bce4feb20f25403dd63ac68e2e56f84a", + "content-hash": "360f86c3dabb2c352bac0d34bb749d1f", "packages": [ { "name": "brick/math", @@ -1859,6 +1859,141 @@ }, "time": "2022-03-07T20:28:08+00:00" }, + { + "name": "jaybizzle/crawler-detect", + "version": "v1.2.117", + "source": { + "type": "git", + "url": "https://github.com/JayBizzle/Crawler-Detect.git", + "reference": "6785557f03d0fa9e2205352ebae9a12a4484cc8e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/6785557f03d0fa9e2205352ebae9a12a4484cc8e", + "reference": "6785557f03d0fa9e2205352ebae9a12a4484cc8e", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8|^5.5|^6.5|^9.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Jaybizzle\\CrawlerDetect\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Beech", + "email": "m@rkbee.ch", + "role": "Developer" + } + ], + "description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent", + "homepage": "https://github.com/JayBizzle/Crawler-Detect/", + "keywords": [ + "crawler", + "crawler detect", + "crawler detector", + "crawlerdetect", + "php crawler detect" + ], + "support": { + "issues": "https://github.com/JayBizzle/Crawler-Detect/issues", + "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.117" + }, + "time": "2024-03-19T22:51:22+00:00" + }, + { + "name": "jenssegers/agent", + "version": "v2.6.4", + "source": { + "type": "git", + "url": "https://github.com/jenssegers/agent.git", + "reference": "daa11c43729510b3700bc34d414664966b03bffe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/jenssegers/agent/zipball/daa11c43729510b3700bc34d414664966b03bffe", + "reference": "daa11c43729510b3700bc34d414664966b03bffe", + "shasum": "" + }, + "require": { + "jaybizzle/crawler-detect": "^1.2", + "mobiledetect/mobiledetectlib": "^2.7.6", + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5.0|^6.0|^7.0" + }, + "suggest": { + "illuminate/support": "Required for laravel service providers" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + }, + "laravel": { + "providers": [ + "Jenssegers\\Agent\\AgentServiceProvider" + ], + "aliases": { + "Agent": "Jenssegers\\Agent\\Facades\\Agent" + } + } + }, + "autoload": { + "psr-4": { + "Jenssegers\\Agent\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jens Segers", + "homepage": "https://jenssegers.com" + } + ], + "description": "Desktop/mobile user agent parser with support for Laravel, based on Mobiledetect", + "homepage": "https://github.com/jenssegers/agent", + "keywords": [ + "Agent", + "browser", + "desktop", + "laravel", + "mobile", + "platform", + "user agent", + "useragent" + ], + "support": { + "issues": "https://github.com/jenssegers/agent/issues", + "source": "https://github.com/jenssegers/agent/tree/v2.6.4" + }, + "funding": [ + { + "url": "https://github.com/jenssegers", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/jenssegers/agent", + "type": "tidelift" + } + ], + "time": "2020-06-13T08:05:20+00:00" + }, { "name": "khanamiryan/qrcode-detector-decoder", "version": "2.0.2", @@ -3593,6 +3728,68 @@ ], "time": "2024-03-23T07:42:40+00:00" }, + { + "name": "mobiledetect/mobiledetectlib", + "version": "2.8.45", + "source": { + "type": "git", + "url": "https://github.com/serbanghita/Mobile-Detect.git", + "reference": "96aaebcf4f50d3d2692ab81d2c5132e425bca266" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/96aaebcf4f50d3d2692ab81d2c5132e425bca266", + "reference": "96aaebcf4f50d3d2692ab81d2c5132e425bca266", + "shasum": "" + }, + "require": { + "php": ">=5.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.36" + }, + "type": "library", + "autoload": { + "psr-0": { + "Detection": "namespaced/" + }, + "classmap": [ + "Mobile_Detect.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Serban Ghita", + "email": "serbanghita@gmail.com", + "homepage": "http://mobiledetect.net", + "role": "Developer" + } + ], + "description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.", + "homepage": "https://github.com/serbanghita/Mobile-Detect", + "keywords": [ + "detect mobile devices", + "mobile", + "mobile detect", + "mobile detector", + "php mobile detect" + ], + "support": { + "issues": "https://github.com/serbanghita/Mobile-Detect/issues", + "source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.45" + }, + "funding": [ + { + "url": "https://github.com/serbanghita", + "type": "github" + } + ], + "time": "2023-11-07T21:57:25+00:00" + }, { "name": "monolog/monolog", "version": "3.5.0", @@ -5238,6 +5435,77 @@ ], "time": "2023-11-08T05:53:05+00:00" }, + { + "name": "rappasoft/laravel-authentication-log", + "version": "v4.0.0", + "source": { + "type": "git", + "url": "https://github.com/rappasoft/laravel-authentication-log.git", + "reference": "a916caaa979b1d18d679d8b063325fe547f691c6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rappasoft/laravel-authentication-log/zipball/a916caaa979b1d18d679d8b063325fe547f691c6", + "reference": "a916caaa979b1d18d679d8b063325fe547f691c6", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^10.0|^11.0", + "php": "^8.1", + "spatie/laravel-package-tools": "^1.4.3" + }, + "require-dev": { + "nunomaduro/collision": "^6.0", + "orchestra/testbench": "^7.0", + "pestphp/pest": "^1.21", + "pestphp/pest-plugin-laravel": "^1.2", + "spatie/laravel-ray": "^1.29", + "vimeo/psalm": "^4.20" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Rappasoft\\LaravelAuthenticationLog\\LaravelAuthenticationLogServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Rappasoft\\LaravelAuthenticationLog\\": "src", + "Rappasoft\\LaravelAuthenticationLog\\Database\\Factories\\": "database/factories" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Anthony Rappa", + "email": "rappa819@gmail.com", + "role": "Developer" + } + ], + "description": "Log user authentication details and send new device notifications.", + "homepage": "https://github.com/rappasoft/laravel-authentication-log", + "keywords": [ + "laravel", + "laravel-authentication-log", + "rappasoft" + ], + "support": { + "issues": "https://github.com/rappasoft/laravel-authentication-log/issues", + "source": "https://github.com/rappasoft/laravel-authentication-log/tree/v4.0.0" + }, + "funding": [ + { + "url": "https://github.com/rappasoft", + "type": "github" + } + ], + "time": "2024-03-30T01:12:44+00:00" + }, { "name": "socialiteproviders/manager", "version": "v4.5.1", diff --git a/config/authentication-log.php b/config/authentication-log.php new file mode 100644 index 00000000..fd1692bc --- /dev/null +++ b/config/authentication-log.php @@ -0,0 +1,61 @@ + 'authentication_log', + + // The database connection where the authentication_log table resides. Leave empty to use the default + 'db_connection' => null, + + // The events the package listens for to log + 'events' => [ + 'login' => \Illuminate\Auth\Events\Login::class, + 'failed' => \Illuminate\Auth\Events\Failed::class, + 'logout' => \Illuminate\Auth\Events\Logout::class, + 'logout-other-devices' => \Illuminate\Auth\Events\OtherDeviceLogout::class, + ], + + 'listeners' => [ + 'login' => \Rappasoft\LaravelAuthenticationLog\Listeners\LoginListener::class, + 'failed' => \Rappasoft\LaravelAuthenticationLog\Listeners\FailedLoginListener::class, + 'logout' => \Rappasoft\LaravelAuthenticationLog\Listeners\LogoutListener::class, + 'logout-other-devices' => \Rappasoft\LaravelAuthenticationLog\Listeners\OtherDeviceLogoutListener::class, + ], + + 'notifications' => [ + 'new-device' => [ + // Send the NewDevice notification + 'enabled' => env('NEW_DEVICE_NOTIFICATION', true), + + // Use torann/geoip to attempt to get a location + 'location' => false, + + // The Notification class to send + 'template' => \App\Notifications\SignedInWithNewDevice::class, + ], + 'failed-login' => [ + // Send the FailedLogin notification + 'enabled' => env('FAILED_LOGIN_NOTIFICATION', false), + + // Use torann/geoip to attempt to get a location + 'location' => false, + + // The Notification class to send + 'template' => \Rappasoft\LaravelAuthenticationLog\Notifications\FailedLogin::class, + ], + ], + + // When the clean-up command is run, delete old logs greater than `purge` days + // Don't schedule the clean-up command if you want to keep logs forever. + 'purge' => 365, + + // If you are behind an CDN proxy, set 'behind_cdn.http_header_field' to the corresponding http header field of your cdn + // For cloudflare you can have look at: https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/ +// 'behind_cdn' => [ +// 'http_header_field' => 'HTTP_CF_CONNECTING_IP' // used by Cloudflare +// ], + + // If you are not a cdn user, use false + 'behind_cdn' => false, +]; diff --git a/database/migrations/2024_04_14_082519_create_authentication_log_table.php b/database/migrations/2024_04_14_082519_create_authentication_log_table.php new file mode 100644 index 00000000..1b125e46 --- /dev/null +++ b/database/migrations/2024_04_14_082519_create_authentication_log_table.php @@ -0,0 +1,28 @@ +id(); + $table->morphs('authenticatable'); + $table->string('ip_address', 45)->nullable(); + $table->text('user_agent')->nullable(); + $table->timestamp('login_at')->nullable(); + $table->boolean('login_successful')->default(false); + $table->timestamp('logout_at')->nullable(); + $table->boolean('cleared_by_user')->default(false); + $table->json('location')->nullable(); + }); + } + + public function down(): void + { + Schema::dropIfExists(config('authentication-log.table_name')); + } +}; diff --git a/resources/js/components/AccessLogViewer.vue b/resources/js/components/AccessLogViewer.vue new file mode 100644 index 00000000..3ef151df --- /dev/null +++ b/resources/js/components/AccessLogViewer.vue @@ -0,0 +1,90 @@ + + + \ No newline at end of file diff --git a/resources/js/icons.js b/resources/js/icons.js index 77cb99b9..0ead3f23 100644 --- a/resources/js/icons.js +++ b/resources/js/icons.js @@ -48,6 +48,9 @@ import { faChevronRight, faSlash, faAlignLeft, + faMobileScreen, + faTabletScreenButton, + faDisplay, } from '@fortawesome/free-solid-svg-icons' import { @@ -110,7 +113,10 @@ library.add( faOpenid, faPaperPlane, faSlash, - faAlignLeft + faAlignLeft, + faMobileScreen, + faTabletScreenButton, + faDisplay ); export default FontAwesomeIcon \ No newline at end of file diff --git a/resources/js/router/index.js b/resources/js/router/index.js index da54b81f..a235aeea 100644 --- a/resources/js/router/index.js +++ b/resources/js/router/index.js @@ -39,6 +39,7 @@ const router = createRouter({ { path: '/admin/users', name: 'admin.users', component: () => import('../views/admin/Users.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true } }, { path: '/admin/users/create', name: 'admin.createUser', component: () => import('../views/admin/users/Create.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true } }, { path: '/admin/users/:userId/manage', name: 'admin.manageUser', component: () => import('../views/admin/users/Manage.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true }, props: true }, + { path: '/admin/logs/:userId/access', name: 'admin.logs.access', component: () => import('../views/admin/logs/Access.vue'), meta: { middlewares: [authGuard, adminOnly], watchedByKicker: true, showAbout: true }, props: true }, { path: '/login', name: 'login', component: () => import('../views/auth/Login.vue'), meta: { middlewares: [skipIfAuthProxy, setReturnTo], showAbout: true } }, { path: '/register', name: 'register', component: () => import('../views/auth/Register.vue'), meta: { middlewares: [skipIfAuthProxy, noRegistration, setReturnTo], showAbout: true } }, diff --git a/resources/js/services/userService.js b/resources/js/services/userService.js index 55078345..a91bf45d 100644 --- a/resources/js/services/userService.js +++ b/resources/js/services/userService.js @@ -128,5 +128,14 @@ export default { revokeWebauthnCredentials(id, config = {}) { return apiClient.delete('/users/' + id + '/credentials', { ...config }) }, + + /** + * Get user's authentication logs + * + * @returns promise + */ + getauthentications(id, limit, config = {}) { + return apiClient.get('/users/' + id + '/authentications' + (limit ? '?limit=' + limit : ''), { ...config }) + }, } \ No newline at end of file diff --git a/resources/js/stores/bus.js b/resources/js/stores/bus.js index f663ab09..23578fce 100644 --- a/resources/js/stores/bus.js +++ b/resources/js/stores/bus.js @@ -9,6 +9,7 @@ export const useBusStore = defineStore({ decodedUri: null, inManagementMode: false, editedGroupName: null, + username: null, } }, diff --git a/resources/js/views/admin/logs/Access.vue b/resources/js/views/admin/logs/Access.vue new file mode 100644 index 00000000..c61e575e --- /dev/null +++ b/resources/js/views/admin/logs/Access.vue @@ -0,0 +1,46 @@ + + + diff --git a/resources/js/views/admin/users/Manage.vue b/resources/js/views/admin/users/Manage.vue index 8b7cdbd8..f99115c6 100644 --- a/resources/js/views/admin/users/Manage.vue +++ b/resources/js/views/admin/users/Manage.vue @@ -1,14 +1,16 @@