diff --git a/_ide_helper.php b/_ide_helper.php index 04c64cd8..82638d37 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -5,7 +5,7 @@ /** * A helper file for Laravel, to provide autocomplete information to your IDE - * Generated for Laravel 10.48.8. + * Generated for Laravel 11.11.1. * * This file should not be included in your code, only analyzed by your IDE! * @@ -20,6 +20,25 @@ namespace Illuminate\Support\Facades { * @see \Illuminate\Foundation\Application */ class App { /** + * Begin configuring a new Laravel application instance. + * + * @param string|null $basePath + * @return \Illuminate\Foundation\Configuration\ApplicationBuilder + * @static + */ public static function configure($basePath = null) + { + return \Illuminate\Foundation\Application::configure($basePath); + } + /** + * Infer the application's base directory from the environment. + * + * @return string + * @static + */ public static function inferBasePath() + { + return \Illuminate\Foundation\Application::inferBasePath(); + } + /** * Get the version number of the application. * * @return string @@ -139,6 +158,16 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Foundation\Application $instance */ return $instance->bootstrapPath($path); + } + /** + * Get the path to the service provider list in the bootstrap directory. + * + * @return string + * @static + */ public static function getBootstrapProvidersPath() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->getBootstrapProvidersPath(); } /** * Set the bootstrap file directory. @@ -431,6 +460,17 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Foundation\Application $instance */ return $instance->hasDebugModeEnabled(); + } + /** + * Register a new registered listener. + * + * @param callable $callback + * @return void + * @static + */ public static function registered($callback) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->registered($callback); } /** * Register all of the configured providers. @@ -594,6 +634,48 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Foundation\Application $instance */ return $instance->handle($request, $type, $catch); + } + /** + * Handle the incoming HTTP request and send the response to the browser. + * + * @param \Illuminate\Http\Request $request + * @return void + * @static + */ public static function handleRequest($request) + { + /** @var \Illuminate\Foundation\Application $instance */ + $instance->handleRequest($request); + } + /** + * Handle the incoming Artisan command. + * + * @param \Symfony\Component\Console\Input\InputInterface $input + * @return int + * @static + */ public static function handleCommand($input) + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->handleCommand($input); + } + /** + * Determine if the framework's base configuration should be merged. + * + * @return bool + * @static + */ public static function shouldMergeFrameworkConfiguration() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->shouldMergeFrameworkConfiguration(); + } + /** + * Indicate that the framework's base configuration should not be merged. + * + * @return \Illuminate\Foundation\Application + * @static + */ public static function dontMergeFrameworkConfiguration() + { + /** @var \Illuminate\Foundation\Application $instance */ + return $instance->dontMergeFrameworkConfiguration(); } /** * Determine if middleware has been disabled for the application. @@ -755,7 +837,7 @@ namespace Illuminate\Support\Facades { /** * Get the service providers that have been loaded. * - * @return array + * @return array * @static */ public static function getLoadedProviders() { @@ -1436,6 +1518,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -1535,6 +1618,16 @@ namespace Illuminate\Support\Facades { { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ return $instance->commandStartedAt(); + } + /** + * Resolve a console schedule instance. + * + * @return \Illuminate\Console\Scheduling\Schedule + * @static + */ public static function resolveConsoleSchedule() + { //Method inherited from \Illuminate\Foundation\Console\Kernel + /** @var \App\Console\Kernel $instance */ + return $instance->resolveConsoleSchedule(); } /** * Register a Closure based command with the application. @@ -1635,6 +1728,39 @@ namespace Illuminate\Support\Facades { { //Method inherited from \Illuminate\Foundation\Console\Kernel /** @var \App\Console\Kernel $instance */ $instance->setArtisan($artisan); + } + /** + * Set the Artisan commands provided by the application. + * + * @param array $commands + * @return \App\Console\Kernel + * @static + */ public static function addCommands($commands) + { //Method inherited from \Illuminate\Foundation\Console\Kernel + /** @var \App\Console\Kernel $instance */ + return $instance->addCommands($commands); + } + /** + * Set the paths that should have their Artisan commands automatically discovered. + * + * @param array $paths + * @return \App\Console\Kernel + * @static + */ public static function addCommandPaths($paths) + { //Method inherited from \Illuminate\Foundation\Console\Kernel + /** @var \App\Console\Kernel $instance */ + return $instance->addCommandPaths($paths); + } + /** + * Set the paths that should have their Artisan "routes" automatically discovered. + * + * @param array $paths + * @return \App\Console\Kernel + * @static + */ public static function addCommandRoutePaths($paths) + { //Method inherited from \Illuminate\Foundation\Console\Kernel + /** @var \App\Console\Kernel $instance */ + return $instance->addCommandRoutePaths($paths); } } /** @@ -1976,14 +2102,13 @@ namespace Illuminate\Support\Facades { * The application must be using the AuthenticateSession middleware. * * @param string $password - * @param string $attribute * @return \App\Models\User|null * @throws \Illuminate\Auth\AuthenticationException * @static - */ public static function logoutOtherDevices($password, $attribute = 'password') + */ public static function logoutOtherDevices($password) { /** @var \Illuminate\Auth\SessionGuard $instance */ - return $instance->logoutOtherDevices($password, $attribute); + return $instance->logoutOtherDevices($password); } /** * Register an authentication attempt event listener. @@ -2229,6 +2354,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -2785,6 +2911,33 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ return $instance->socket($request); + } + /** + * Begin sending an anonymous broadcast to the given channels. + * + * @static + */ public static function on($channels) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->on($channels); + } + /** + * Begin sending an anonymous broadcast to the given private channels. + * + * @static + */ public static function private($channel) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->private($channel); + } + /** + * Begin sending an anonymous broadcast to the given presence channels. + * + * @static + */ public static function presence($channel) + { + /** @var \Illuminate\Broadcasting\BroadcastManager $instance */ + return $instance->presence($channel); } /** * Begin broadcasting an event. @@ -3425,12 +3578,13 @@ namespace Illuminate\Support\Facades { * Create a new cache repository with the given implementation. * * @param \Illuminate\Contracts\Cache\Store $store + * @param array $config * @return \Illuminate\Cache\Repository * @static - */ public static function repository($store) + */ public static function repository($store, $config = []) { /** @var \Illuminate\Cache\CacheManager $instance */ - return $instance->repository($store); + return $instance->repository($store, $config); } /** * Re-set the event dispatcher on all resolved cache repositories. @@ -3853,7 +4007,7 @@ namespace Illuminate\Support\Facades { /** * Get the event dispatcher instance. * - * @return \Illuminate\Contracts\Events\Dispatcher + * @return \Illuminate\Contracts\Events\Dispatcher|null * @static */ public static function getEventDispatcher() { @@ -3921,6 +4075,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -4036,6 +4191,17 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Cache\FileStore $instance */ return $instance->getDirectory(); + } + /** + * Set the working directory of the cache. + * + * @param string $directory + * @return \Illuminate\Cache\FileStore + * @static + */ public static function setDirectory($directory) + { + /** @var \Illuminate\Cache\FileStore $instance */ + return $instance->setDirectory($directory); } /** * Set the cache directory where locks should be stored. @@ -4097,6 +4263,66 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Config\Repository $instance */ return $instance->getMany($keys); + } + /** + * Get the specified string configuration value. + * + * @param string $key + * @param \Illuminate\Config\(\Closure():(string|\Illuminate\Config\null))|string|null $default + * @return string + * @static + */ public static function string($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->string($key, $default); + } + /** + * Get the specified integer configuration value. + * + * @param string $key + * @param \Illuminate\Config\(\Closure():(int|\Illuminate\Config\null))|int|null $default + * @return int + * @static + */ public static function integer($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->integer($key, $default); + } + /** + * Get the specified float configuration value. + * + * @param string $key + * @param \Illuminate\Config\(\Closure():(float|\Illuminate\Config\null))|float|null $default + * @return float + * @static + */ public static function float($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->float($key, $default); + } + /** + * Get the specified boolean configuration value. + * + * @param string $key + * @param \Illuminate\Config\(\Closure():(bool|\Illuminate\Config\null))|bool|null $default + * @return bool + * @static + */ public static function boolean($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->boolean($key, $default); + } + /** + * Get the specified array configuration value. + * + * @param string $key + * @param \Illuminate\Config\(\Closure():(array|\Illuminate\Config\null))|\Illuminate\Config\array|null $default + * @return array + * @static + */ public static function array($key, $default = null) + { + /** @var \Illuminate\Config\Repository $instance */ + return $instance->array($key, $default); } /** * Set a given configuration value. @@ -4194,6 +4420,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -4235,6 +4462,381 @@ namespace Illuminate\Support\Facades { /** * * + * @see \Illuminate\Log\Context\Repository + */ class Context { + /** + * Determine if the given key exists. + * + * @param string $key + * @return bool + * @static + */ public static function has($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->has($key); + } + /** + * Determine if the given key exists within the hidden context data. + * + * @param string $key + * @return bool + * @static + */ public static function hasHidden($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hasHidden($key); + } + /** + * Retrieve all the context data. + * + * @return array + * @static + */ public static function all() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->all(); + } + /** + * Retrieve all the hidden context data. + * + * @return array + * @static + */ public static function allHidden() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->allHidden(); + } + /** + * Retrieve the given key's value. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ public static function get($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->get($key, $default); + } + /** + * Retrieve the given key's hidden value. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ public static function getHidden($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->getHidden($key, $default); + } + /** + * Retrieve the given key's value and then forget it. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ public static function pull($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pull($key, $default); + } + /** + * Retrieve the given key's hidden value and then forget it. + * + * @param string $key + * @param mixed $default + * @return mixed + * @static + */ public static function pullHidden($key, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pullHidden($key, $default); + } + /** + * Retrieve only the values of the given keys. + * + * @param array $keys + * @return array + * @static + */ public static function only($keys) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->only($keys); + } + /** + * Retrieve only the hidden values of the given keys. + * + * @param array $keys + * @return array + * @static + */ public static function onlyHidden($keys) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->onlyHidden($keys); + } + /** + * Add a context value. + * + * @param string|array $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function add($key, $value = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->add($key, $value); + } + /** + * Add a hidden context value. + * + * @param string|array $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function addHidden($key, $value = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->addHidden($key, $value); + } + /** + * Forget the given context key. + * + * @param string|array $key + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function forget($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->forget($key); + } + /** + * Forget the given hidden context key. + * + * @param string|array $key + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function forgetHidden($key) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->forgetHidden($key); + } + /** + * Add a context value if it does not exist yet. + * + * @param string $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function addIf($key, $value) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->addIf($key, $value); + } + /** + * Add a hidden context value if it does not exist yet. + * + * @param string $key + * @param mixed $value + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function addHiddenIf($key, $value) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->addHiddenIf($key, $value); + } + /** + * Push the given values onto the key's stack. + * + * @param string $key + * @param mixed $values + * @return \Illuminate\Log\Context\Repository + * @throws \RuntimeException + * @static + */ public static function push($key, ...$values) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->push($key, ...$values); + } + /** + * Push the given hidden values onto the key's stack. + * + * @param string $key + * @param mixed $values + * @return \Illuminate\Log\Context\Repository + * @throws \RuntimeException + * @static + */ public static function pushHidden($key, ...$values) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->pushHidden($key, ...$values); + } + /** + * Determine if the repository is empty. + * + * @return bool + * @static + */ public static function isEmpty() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->isEmpty(); + } + /** + * Execute the given callback when context is about to be dehydrated. + * + * @param callable $callback + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function dehydrating($callback) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->dehydrating($callback); + } + /** + * Execute the given callback when context has been hydrated. + * + * @param callable $callback + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function hydrated($callback) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hydrated($callback); + } + /** + * Handle unserialize exceptions using the given callback. + * + * @param callable|null $callback + * @return static + * @static + */ public static function handleUnserializeExceptionsUsing($callback) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->handleUnserializeExceptionsUsing($callback); + } + /** + * Flush all context data. + * + * @return \Illuminate\Log\Context\Repository + * @static + */ public static function flush() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->flush(); + } + /** + * Dehydrate the context data. + * + * @internal + * @return \Illuminate\Log\Context\?array + * @static + */ public static function dehydrate() + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->dehydrate(); + } + /** + * Hydrate the context instance. + * + * @internal + * @param \Illuminate\Log\Context\?array $context + * @return \Illuminate\Log\Context\Repository + * @throws \RuntimeException + * @static + */ public static function hydrate($context) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->hydrate($context); + } + /** + * Apply the callback if the given "value" is (or resolves to) truthy. + * + * @template TWhenParameter + * @template TWhenReturnType + * @param \Illuminate\Log\Context\(\Closure($this): TWhenParameter)|TWhenParameter|null $value + * @param \Illuminate\Log\Context\(callable($this, TWhenParameter): TWhenReturnType)|null $callback + * @param \Illuminate\Log\Context\(callable($this, TWhenParameter): TWhenReturnType)|null $default + * @return $this|\Illuminate\Log\Context\TWhenReturnType + * @static + */ public static function when($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->when($value, $callback, $default); + } + /** + * Apply the callback if the given "value" is (or resolves to) falsy. + * + * @template TUnlessParameter + * @template TUnlessReturnType + * @param \Illuminate\Log\Context\(\Closure($this): TUnlessParameter)|TUnlessParameter|null $value + * @param \Illuminate\Log\Context\(callable($this, TUnlessParameter): TUnlessReturnType)|null $callback + * @param \Illuminate\Log\Context\(callable($this, TUnlessParameter): TUnlessReturnType)|null $default + * @return $this|\Illuminate\Log\Context\TUnlessReturnType + * @static + */ public static function unless($value = null, $callback = null, $default = null) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->unless($value, $callback, $default); + } + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ public static function macro($name, $macro) + { + \Illuminate\Log\Context\Repository::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) + { + \Illuminate\Log\Context\Repository::mixin($mixin, $replace); + } + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ public static function hasMacro($name) + { + return \Illuminate\Log\Context\Repository::hasMacro($name); + } + /** + * Flush the existing macros. + * + * @return void + * @static + */ public static function flushMacros() + { + \Illuminate\Log\Context\Repository::flushMacros(); + } + /** + * Restore the model from the model identifier instance. + * + * @param \Illuminate\Contracts\Database\ModelIdentifier $value + * @return \Illuminate\Database\Eloquent\Model + * @static + */ public static function restoreModel($value) + { + /** @var \Illuminate\Log\Context\Repository $instance */ + return $instance->restoreModel($value); + } + } + /** + * + * * @see \Illuminate\Cookie\CookieJar */ class Cookie { /** @@ -4387,6 +4989,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -4510,6 +5113,37 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Encryption\Encrypter $instance */ return $instance->getKey(); + } + /** + * Get the current encryption key and all previous encryption keys. + * + * @return array + * @static + */ public static function getAllKeys() + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->getAllKeys(); + } + /** + * Get the previous encryption keys. + * + * @return array + * @static + */ public static function getPreviousKeys() + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->getPreviousKeys(); + } + /** + * Set the previous / legacy encryption keys that should be utilized if decryption fails. + * + * @param array $keys + * @return \Illuminate\Encryption\Encrypter + * @static + */ public static function previousKeys($keys) + { + /** @var \Illuminate\Encryption\Encrypter $instance */ + return $instance->previousKeys($keys); } } /** @@ -4669,21 +5303,6 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Database\DatabaseManager $instance */ return $instance->connectUsing($name, $config, $force); - } - /** - * Register a custom Doctrine type. - * - * @param string $class - * @param string $name - * @param string $type - * @return void - * @throws \Doctrine\DBAL\Exception - * @throws \RuntimeException - * @static - */ public static function registerDoctrineType($class, $name, $type) - { - /** @var \Illuminate\Database\DatabaseManager $instance */ - $instance->registerDoctrineType($class, $name, $type); } /** * Disconnect from the given database and remove from local cache. @@ -4752,7 +5371,7 @@ namespace Illuminate\Support\Facades { $instance->setDefaultConnection($name); } /** - * Get all of the support drivers. + * Get all of the supported drivers. * * @return string[] * @static @@ -4831,6 +5450,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -4890,6 +5510,16 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->isMaria(); + } + /** + * Get the server version for the connection. + * + * @return string + * @static + */ public static function getServerVersion() + { + /** @var \Illuminate\Database\MySqlConnection $instance */ + return $instance->getServerVersion(); } /** * Get a schema builder instance for the connection. @@ -5332,58 +5962,6 @@ namespace Illuminate\Support\Facades { { //Method inherited from \Illuminate\Database\Connection /** @var \Illuminate\Database\MySqlConnection $instance */ return $instance->useWriteConnectionWhenReading($value); - } - /** - * Is Doctrine available? - * - * @return bool - * @static - */ public static function isDoctrineAvailable() - { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->isDoctrineAvailable(); - } - /** - * Indicates whether native alter operations will be used when dropping, renaming, or modifying columns, even if Doctrine DBAL is installed. - * - * @return bool - * @static - */ public static function usingNativeSchemaOperations() - { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->usingNativeSchemaOperations(); - } - /** - * Get a Doctrine Schema Column instance. - * - * @param string $table - * @param string $column - * @return \Doctrine\DBAL\Schema\Column - * @static - */ public static function getDoctrineColumn($table, $column) - { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->getDoctrineColumn($table, $column); - } - /** - * Get the Doctrine DBAL schema manager for the connection. - * - * @return \Doctrine\DBAL\Schema\AbstractSchemaManager - * @static - */ public static function getDoctrineSchemaManager() - { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->getDoctrineSchemaManager(); - } - /** - * Get the Doctrine DBAL database connection instance. - * - * @return \Doctrine\DBAL\Connection - * @static - */ public static function getDoctrineConnection() - { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ - return $instance->getDoctrineConnection(); } /** * Get the current PDO connection. @@ -6020,6 +6598,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -6148,6 +6727,16 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ return $instance->hasDispatched($event); + } + /** + * Get the events that have been dispatched. + * + * @return array + * @static + */ public static function dispatchedEvents() + { + /** @var \Illuminate\Support\Testing\Fakes\EventFake $instance */ + return $instance->dispatchedEvents(); } } /** @@ -6740,6 +7329,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -7300,7 +7890,7 @@ namespace Illuminate\Support\Facades { * @method static \Illuminate\Http\Client\PendingRequest withResponseMiddleware(callable $middleware) * @method static \Illuminate\Http\Client\PendingRequest beforeSending(callable $callback) * @method static \Illuminate\Http\Client\PendingRequest throw(callable|null $callback = null) - * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition, callable|null $throwCallback = null) + * @method static \Illuminate\Http\Client\PendingRequest throwIf(callable|bool $condition) * @method static \Illuminate\Http\Client\PendingRequest throwUnless(bool $condition) * @method static \Illuminate\Http\Client\PendingRequest dump() * @method static \Illuminate\Http\Client\PendingRequest dd() @@ -7367,7 +7957,7 @@ namespace Illuminate\Support\Facades { /** * Set the options to apply to every request. * - * @param array $options + * @param \Closure|array $options * @return \Illuminate\Http\Client\Factory * @static */ public static function globalOptions($options) @@ -7539,6 +8129,16 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Http\Client\Factory $instance */ return $instance->recorded($callback); + } + /** + * Create a new pending request instance for this factory. + * + * @return \Illuminate\Http\Client\PendingRequest + * @static + */ public static function createPendingRequest() + { + /** @var \Illuminate\Http\Client\Factory $instance */ + return $instance->createPendingRequest(); } /** * Get the current event dispatcher implementation. @@ -7565,6 +8165,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -7890,6 +8491,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -8200,6 +8802,17 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Log\LogManager $instance */ $instance->log($level, $message, $context); + } + /** + * Set the application instance used by the manager. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Log\LogManager + * @static + */ public static function setApplication($app) + { + /** @var \Illuminate\Log\LogManager $instance */ + return $instance->setApplication($app); } } /** @@ -8219,7 +8832,7 @@ namespace Illuminate\Support\Facades { * @method static \Illuminate\Contracts\View\Factory getViewFactory() * @method static void setSymfonyTransport(\Symfony\Component\Mailer\Transport\TransportInterface $transport) * @method static \Illuminate\Mail\Mailer setQueue(\Illuminate\Contracts\Queue\Factory $queue) - * @method static void macro(string $name, object|callable $macro) + * @method static void macro(string $name, object|callable $macro, object|callable $macro = null) * @method static void mixin(object $mixin, bool $replace = true) * @method static bool hasMacro(string $name) * @method static void flushMacros() @@ -8555,15 +9168,28 @@ namespace Illuminate\Support\Facades { * @param \Illuminate\Contracts\Mail\Mailable|string|array $view * @param array $data * @param \Closure|string|null $callback - * @return void + * @return mixed|void * @static */ public static function send($view, $data = [], $callback = null) { /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ - $instance->send($view, $data, $callback); + return $instance->send($view, $data, $callback); } /** - * Queue a new e-mail message for sending. + * Send a new message synchronously using a view. + * + * @param \Illuminate\Contracts\Mail\Mailable|string|array $mailable + * @param array $data + * @param \Closure|string|null $callback + * @return void + * @static + */ public static function sendNow($mailable, $data = [], $callback = null) + { + /** @var \Illuminate\Support\Testing\Fakes\MailFake $instance */ + $instance->sendNow($mailable, $data, $callback); + } + /** + * Queue a new message for sending. * * @param \Illuminate\Contracts\Mail\Mailable|string|array $view * @param string|null $queue @@ -8899,6 +9525,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -9208,6 +9835,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -9724,6 +10352,77 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Support\Testing\Fakes\QueueFake $instance */ return $instance->setConnectionName($name); + } + /** + * Release a reserved job back onto the queue after (n) seconds. + * + * @param string $queue + * @param \Illuminate\Queue\Jobs\DatabaseJobRecord $job + * @param int $delay + * @return mixed + * @static + */ public static function release($queue, $job, $delay) + { + /** @var \Illuminate\Queue\DatabaseQueue $instance */ + return $instance->release($queue, $job, $delay); + } + /** + * Delete a reserved job from the queue. + * + * @param string $queue + * @param string $id + * @return void + * @throws \Throwable + * @static + */ public static function deleteReserved($queue, $id) + { + /** @var \Illuminate\Queue\DatabaseQueue $instance */ + $instance->deleteReserved($queue, $id); + } + /** + * Delete a reserved job from the reserved queue and release it. + * + * @param string $queue + * @param \Illuminate\Queue\Jobs\DatabaseJob $job + * @param int $delay + * @return void + * @static + */ public static function deleteAndRelease($queue, $job, $delay) + { + /** @var \Illuminate\Queue\DatabaseQueue $instance */ + $instance->deleteAndRelease($queue, $job, $delay); + } + /** + * Delete all of the jobs from the queue. + * + * @param string $queue + * @return int + * @static + */ public static function clear($queue) + { + /** @var \Illuminate\Queue\DatabaseQueue $instance */ + return $instance->clear($queue); + } + /** + * Get the queue or return the default. + * + * @param string|null $queue + * @return string + * @static + */ public static function getQueue($queue) + { + /** @var \Illuminate\Queue\DatabaseQueue $instance */ + return $instance->getQueue($queue); + } + /** + * Get the underlying database instance. + * + * @return \Illuminate\Database\Connection + * @static + */ public static function getDatabase() + { + /** @var \Illuminate\Queue\DatabaseQueue $instance */ + return $instance->getDatabase(); } /** * Get the maximum number of attempts for an object-based queue handler. @@ -9733,7 +10432,7 @@ namespace Illuminate\Support\Facades { * @static */ public static function getJobTries($job) { //Method inherited from \Illuminate\Queue\Queue - /** @var \Illuminate\Queue\SyncQueue $instance */ + /** @var \Illuminate\Queue\DatabaseQueue $instance */ return $instance->getJobTries($job); } /** @@ -9744,7 +10443,7 @@ namespace Illuminate\Support\Facades { * @static */ public static function getJobBackoff($job) { //Method inherited from \Illuminate\Queue\Queue - /** @var \Illuminate\Queue\SyncQueue $instance */ + /** @var \Illuminate\Queue\DatabaseQueue $instance */ return $instance->getJobBackoff($job); } /** @@ -9755,7 +10454,7 @@ namespace Illuminate\Support\Facades { * @static */ public static function getJobExpiration($job) { //Method inherited from \Illuminate\Queue\Queue - /** @var \Illuminate\Queue\SyncQueue $instance */ + /** @var \Illuminate\Queue\DatabaseQueue $instance */ return $instance->getJobExpiration($job); } /** @@ -9766,7 +10465,7 @@ namespace Illuminate\Support\Facades { * @static */ public static function createPayloadUsing($callback) { //Method inherited from \Illuminate\Queue\Queue - \Illuminate\Queue\SyncQueue::createPayloadUsing($callback); + \Illuminate\Queue\DatabaseQueue::createPayloadUsing($callback); } /** * Get the container instance being used by the connection. @@ -9775,7 +10474,7 @@ namespace Illuminate\Support\Facades { * @static */ public static function getContainer() { //Method inherited from \Illuminate\Queue\Queue - /** @var \Illuminate\Queue\SyncQueue $instance */ + /** @var \Illuminate\Queue\DatabaseQueue $instance */ return $instance->getContainer(); } /** @@ -9786,7 +10485,7 @@ namespace Illuminate\Support\Facades { * @static */ public static function setContainer($container) { //Method inherited from \Illuminate\Queue\Queue - /** @var \Illuminate\Queue\SyncQueue $instance */ + /** @var \Illuminate\Queue\DatabaseQueue $instance */ $instance->setContainer($container); } } @@ -9868,6 +10567,19 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Cache\RateLimiter $instance */ return $instance->increment($key, $decaySeconds, $amount); + } + /** + * Decrement 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 decrement($key, $decaySeconds = 60, $amount = 1) + { + /** @var \Illuminate\Cache\RateLimiter $instance */ + return $instance->decrement($key, $decaySeconds, $amount); } /** * Get the number of attempts for the given key. @@ -10152,6 +10864,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -10474,7 +11187,7 @@ namespace Illuminate\Support\Facades { return $instance->mergeIfMissing($input); } /** - * Replace the input for the current request. + * Replace the input values for the current request. * * @param array $input * @return \Illuminate\Http\Request @@ -10769,12 +11482,11 @@ namespace Illuminate\Support\Facades { * @param array $files The FILES parameters * @param array $server The SERVER parameters * @param string|resource|null $content The raw body data - * @return void * @static */ 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); + return $instance->initialize($query, $request, $attributes, $cookies, $files, $server, $content); } /** * Creates a new request with values from PHP's super globals. @@ -10809,11 +11521,10 @@ namespace Illuminate\Support\Facades { * to keep BC with an existing system. It should not be used for any * other purpose. * - * @return void * @static */ public static function setFactory($callable) { //Method inherited from \Symfony\Component\HttpFoundation\Request - \Illuminate\Http\Request::setFactory($callable); + return \Illuminate\Http\Request::setFactory($callable); } /** * Overrides the PHP global variables according to this request instance. @@ -10821,12 +11532,11 @@ namespace Illuminate\Support\Facades { * It overrides $_GET, $_POST, $_REQUEST, $_SERVER, $_COOKIE. * $_FILES is never overridden, see rfc1867 * - * @return void * @static */ public static function overrideGlobals() { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->overrideGlobals(); + return $instance->overrideGlobals(); } /** * Sets a list of trusted proxies. @@ -10835,11 +11545,10 @@ namespace Illuminate\Support\Facades { * * @param array $proxies A list of trusted proxies, the string 'REMOTE_ADDR' will be replaced with $_SERVER['REMOTE_ADDR'] * @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) { //Method inherited from \Symfony\Component\HttpFoundation\Request - \Illuminate\Http\Request::setTrustedProxies($proxies, $trustedHeaderSet); + return \Illuminate\Http\Request::setTrustedProxies($proxies, $trustedHeaderSet); } /** * Gets the list of trusted proxies. @@ -10865,11 +11574,10 @@ namespace Illuminate\Support\Facades { * You should only list the hosts you manage using regexs. * * @param array $hostPatterns A list of trusted host patterns - * @return void * @static */ public static function setTrustedHosts($hostPatterns) { //Method inherited from \Symfony\Component\HttpFoundation\Request - \Illuminate\Http\Request::setTrustedHosts($hostPatterns); + return \Illuminate\Http\Request::setTrustedHosts($hostPatterns); } /** * Gets the list of trusted host patterns. @@ -10902,11 +11610,10 @@ namespace Illuminate\Support\Facades { * * The HTTP method can only be overridden when the real HTTP method is POST. * - * @return void * @static */ public static function enableHttpMethodParameterOverride() { //Method inherited from \Symfony\Component\HttpFoundation\Request - \Illuminate\Http\Request::enableHttpMethodParameterOverride(); + return \Illuminate\Http\Request::enableHttpMethodParameterOverride(); } /** * Checks whether support for the _method request parameter is enabled. @@ -10929,12 +11636,11 @@ namespace Illuminate\Support\Facades { /** * * - * @return void * @static */ public static function setSession($session) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->setSession($session); + return $instance->setSession($session); } /** * @@ -11214,12 +11920,11 @@ namespace Illuminate\Support\Facades { /** * Sets the request method. * - * @return void * @static */ public static function setMethod($method) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->setMethod($method); + return $instance->setMethod($method); } /** * Gets the request "intended" method. @@ -11280,12 +11985,11 @@ namespace Illuminate\Support\Facades { * Associates a format with mime types. * * @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) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->setFormat($format, $mimeTypes); + return $instance->setFormat($format, $mimeTypes); } /** * Gets the request format. @@ -11306,22 +12010,11 @@ namespace Illuminate\Support\Facades { /** * Sets the request format. * - * @return void * @static */ public static function setRequestFormat($format) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->setRequestFormat($format); - } - /** - * Gets the usual name of the format associated with the request's media type (provided in the Content-Type header). - * - * @deprecated since Symfony 6.2, use getContentTypeFormat() instead - * @static - */ public static function getContentType() - { //Method inherited from \Symfony\Component\HttpFoundation\Request - /** @var \Illuminate\Http\Request $instance */ - return $instance->getContentType(); + return $instance->setRequestFormat($format); } /** * Gets the usual name of the format associated with the request's media type (provided in the Content-Type header). @@ -11336,12 +12029,11 @@ namespace Illuminate\Support\Facades { /** * Sets the default locale. * - * @return void * @static */ public static function setDefaultLocale($locale) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->setDefaultLocale($locale); + return $instance->setDefaultLocale($locale); } /** * Get the default locale. @@ -11355,12 +12047,11 @@ namespace Illuminate\Support\Facades { /** * Sets the locale. * - * @return void * @static */ public static function setLocale($locale) { //Method inherited from \Symfony\Component\HttpFoundation\Request /** @var \Illuminate\Http\Request $instance */ - $instance->setLocale($locale); + return $instance->setLocale($locale); } /** * Get the locale. @@ -12148,17 +12839,6 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Http\Request $instance */ return $instance->file($key, $default); - } - /** - * Dump the request items and end the script. - * - * @param mixed $keys - * @return \Illuminate\Http\never - * @static - */ public static function dd(...$keys) - { - /** @var \Illuminate\Http\Request $instance */ - return $instance->dd(...$keys); } /** * Dump the items. @@ -12170,12 +12850,24 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Http\Request $instance */ return $instance->dump($keys); + } + /** + * Dump the given arguments and terminate execution. + * + * @param mixed $args + * @return \Illuminate\Http\never + * @static + */ public static function dd(...$args) + { + /** @var \Illuminate\Http\Request $instance */ + return $instance->dd(...$args); } /** * Register a custom macro. * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -12265,6 +12957,16 @@ namespace Illuminate\Support\Facades { */ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) { return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute); + } + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $ignoreQuery + * @static + */ public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []) + { + return \Illuminate\Http\Request::hasValidRelativeSignatureWhileIgnoring($ignoreQuery); } } /** @@ -12375,6 +13077,7 @@ namespace Illuminate\Support\Facades { * @param array $headers * @param string|null $disposition * @return \Symfony\Component\HttpFoundation\StreamedResponse + * @throws \Illuminate\Routing\Exceptions\StreamedResponseException * @static */ public static function streamDownload($callback, $name = null, $headers = [], $disposition = 'attachment') { @@ -12482,6 +13185,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -12958,7 +13662,7 @@ namespace Illuminate\Support\Facades { $instance->substituteImplicitBindings($route); } /** - * Register a callback to to run after implicit bindings are substituted. + * Register a callback to run after implicit bindings are substituted. * * @param callable $callback * @return \Illuminate\Routing\Router @@ -13381,6 +14085,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -13472,6 +14177,160 @@ namespace Illuminate\Support\Facades { /** * * + * @see \Illuminate\Console\Scheduling\Schedule + */ class Schedule { + /** + * Add a new callback event to the schedule. + * + * @param string|callable $callback + * @param array $parameters + * @return \Illuminate\Console\Scheduling\CallbackEvent + * @static + */ public static function call($callback, $parameters = []) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->call($callback, $parameters); + } + /** + * Add a new Artisan command event to the schedule. + * + * @param string $command + * @param array $parameters + * @return \Illuminate\Console\Scheduling\Event + * @static + */ public static function command($command, $parameters = []) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->command($command, $parameters); + } + /** + * Add a new job callback event to the schedule. + * + * @param object|string $job + * @param string|null $queue + * @param string|null $connection + * @return \Illuminate\Console\Scheduling\CallbackEvent + * @static + */ public static function job($job, $queue = null, $connection = null) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->job($job, $queue, $connection); + } + /** + * Add a new command event to the schedule. + * + * @param string $command + * @param array $parameters + * @return \Illuminate\Console\Scheduling\Event + * @static + */ public static function exec($command, $parameters = []) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->exec($command, $parameters); + } + /** + * Compile array input for a command. + * + * @param string|int $key + * @param array $value + * @return string + * @static + */ public static function compileArrayInput($key, $value) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->compileArrayInput($key, $value); + } + /** + * Determine if the server is allowed to run this event. + * + * @param \Illuminate\Console\Scheduling\Event $event + * @param \DateTimeInterface $time + * @return bool + * @static + */ public static function serverShouldRun($event, $time) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->serverShouldRun($event, $time); + } + /** + * Get all of the events on the schedule that are due. + * + * @param \Illuminate\Contracts\Foundation\Application $app + * @return \Illuminate\Support\Collection + * @static + */ public static function dueEvents($app) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->dueEvents($app); + } + /** + * Get all of the events on the schedule. + * + * @return \Illuminate\Console\Scheduling\Event[] + * @static + */ public static function events() + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->events(); + } + /** + * Specify the cache store that should be used to store mutexes. + * + * @param string $store + * @return \Illuminate\Console\Scheduling\Schedule + * @static + */ public static function useCache($store) + { + /** @var \Illuminate\Console\Scheduling\Schedule $instance */ + return $instance->useCache($store); + } + /** + * Register a custom macro. + * + * @param string $name + * @param object|callable $macro + * @param-closure-this static $macro + * @return void + * @static + */ public static function macro($name, $macro) + { + \Illuminate\Console\Scheduling\Schedule::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) + { + \Illuminate\Console\Scheduling\Schedule::mixin($mixin, $replace); + } + /** + * Checks if macro is registered. + * + * @param string $name + * @return bool + * @static + */ public static function hasMacro($name) + { + return \Illuminate\Console\Scheduling\Schedule::hasMacro($name); + } + /** + * Flush the existing macros. + * + * @return void + * @static + */ public static function flushMacros() + { + \Illuminate\Console\Scheduling\Schedule::flushMacros(); + } + } + /** + * + * * @see \Illuminate\Database\Schema\Builder */ class Schema { /** @@ -13515,28 +14374,6 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ return $instance->getViews(); - } - /** - * Get all of the table names for the database. - * - * @deprecated Will be removed in a future Laravel version. - * @return array - * @static - */ public static function getAllTables() - { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getAllTables(); - } - /** - * Get all of the view names for the database. - * - * @deprecated Will be removed in a future Laravel version. - * @return array - * @static - */ public static function getAllViews() - { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getAllViews(); } /** * Get the columns for a given table. @@ -13629,16 +14466,6 @@ namespace Illuminate\Support\Facades { */ public static function morphUsingUlids() { //Method inherited from \Illuminate\Database\Schema\Builder \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); - } - /** - * Attempt to use native schema operations for dropping, renaming, and modifying columns, even if Doctrine DBAL is installed. - * - * @param bool $value - * @return void - * @static - */ public static function useNativeSchemaOperationsIfPossible($value = true) - { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::useNativeSchemaOperationsIfPossible($value); } /** * Determine if the given table exists. @@ -13929,6 +14756,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -14193,7 +15021,7 @@ namespace Illuminate\Support\Facades { return $instance->missing($key); } /** - * Checks if a key is present and not null. + * Determine if a key is present and not null. * * @param string|array $key * @return bool @@ -14202,6 +15030,17 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Session\Store $instance */ return $instance->has($key); + } + /** + * Determine if any of the given keys are present and not null. + * + * @param string|array $key + * @return bool + * @static + */ public static function hasAny($key) + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->hasAny($key); } /** * Get an item from the session. @@ -14471,6 +15310,16 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Session\Store $instance */ $instance->setName($name); + } + /** + * Get the current session ID. + * + * @return string + * @static + */ public static function id() + { + /** @var \Illuminate\Session\Store $instance */ + return $instance->id(); } /** * Get the current session ID. @@ -14613,6 +15462,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -14939,7 +15789,7 @@ namespace Illuminate\Support\Facades { return $instance->directoryMissing($path); } /** - * Get the full path for the file at the given "short" path. + * Get the full path to the file that exists at the given relative path. * * @param string $path * @return string @@ -15386,6 +16236,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -15496,6 +16347,20 @@ namespace Illuminate\Support\Facades { { /** @var \Illuminate\Routing\UrlGenerator $instance */ return $instance->to($path, $extra, $secure); + } + /** + * Generate an absolute URL with the given query parameters. + * + * @param string $path + * @param array $query + * @param mixed $extra + * @param bool|null $secure + * @return string + * @static + */ public static function query($path, $query = [], $extra = [], $secure = null) + { + /** @var \Illuminate\Routing\UrlGenerator $instance */ + return $instance->query($path, $query, $extra, $secure); } /** * Generate a secure, absolute URL to the given path. @@ -15900,6 +16765,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -16481,6 +17347,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -17044,7 +17911,7 @@ namespace Illuminate\Support\Facades { /** * Resolve asset paths using the provided resolver. * - * @param callable|null $urlResolver + * @param callable|null $resolver * @return \Illuminate\Foundation\Vite * @static */ public static function createAssetPathsUsing($resolver) @@ -17188,6 +18055,7 @@ namespace Illuminate\Support\Facades { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -17232,6 +18100,7 @@ namespace App\Facades { /** * * + * @see \App\Services\QrCodeService */ class QrCode { /** * Encode a string into a QR code image @@ -18141,6 +19010,10 @@ namespace Laravel\Socialite\Facades { /** * * + * @method array getScopes() + * @method \Laravel\Socialite\Contracts\Provider scopes(array|string $scopes) + * @method \Laravel\Socialite\Contracts\Provider setScopes(array|string $scopes) + * @method \Laravel\Socialite\Contracts\Provider redirectUrl(string $url) * @see \Laravel\Socialite\SocialiteManager */ class Socialite { /** @@ -18256,374 +19129,6 @@ namespace Laravel\Socialite\Facades { } } -namespace Spatie\LaravelIgnition\Facades { - /** - * - * - * @see \Spatie\FlareClient\Flare - */ class Flare { - /** - * - * - * @static - */ public static function make($apiKey = null, $contextDetector = null) - { - return \Spatie\FlareClient\Flare::make($apiKey, $contextDetector); - } - /** - * - * - * @static - */ public static function setApiToken($apiToken) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->setApiToken($apiToken); - } - /** - * - * - * @static - */ public static function apiTokenSet() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->apiTokenSet(); - } - /** - * - * - * @static - */ public static function setBaseUrl($baseUrl) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->setBaseUrl($baseUrl); - } - /** - * - * - * @static - */ public static function setStage($stage) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->setStage($stage); - } - /** - * - * - * @static - */ public static function sendReportsImmediately() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->sendReportsImmediately(); - } - /** - * - * - * @static - */ public static function determineVersionUsing($determineVersionCallable) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->determineVersionUsing($determineVersionCallable); - } - /** - * - * - * @static - */ public static function reportErrorLevels($reportErrorLevels) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->reportErrorLevels($reportErrorLevels); - } - /** - * - * - * @static - */ public static function filterExceptionsUsing($filterExceptionsCallable) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->filterExceptionsUsing($filterExceptionsCallable); - } - /** - * - * - * @static - */ public static function filterReportsUsing($filterReportsCallable) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->filterReportsUsing($filterReportsCallable); - } - /** - * - * - * @param array|ArgumentReducer>|\Spatie\Backtrace\Arguments\ArgumentReducers|null $argumentReducers - * @static - */ public static function argumentReducers($argumentReducers) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->argumentReducers($argumentReducers); - } - /** - * - * - * @static - */ public static function withStackFrameArguments($withStackFrameArguments = true) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->withStackFrameArguments($withStackFrameArguments); - } - /** - * - * - * @static - */ public static function version() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->version(); - } - /** - * - * - * @return array> - * @static - */ public static function getMiddleware() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->getMiddleware(); - } - /** - * - * - * @static - */ public static function setContextProviderDetector($contextDetector) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->setContextProviderDetector($contextDetector); - } - /** - * - * - * @static - */ public static function setContainer($container) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->setContainer($container); - } - /** - * - * - * @static - */ public static function registerFlareHandlers() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->registerFlareHandlers(); - } - /** - * - * - * @static - */ public static function registerExceptionHandler() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->registerExceptionHandler(); - } - /** - * - * - * @static - */ public static function registerErrorHandler() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->registerErrorHandler(); - } - /** - * - * - * @param \Spatie\FlareClient\FlareMiddleware\FlareMiddleware|array|\Spatie\FlareClient\class-string|callable $middleware - * @return \Spatie\FlareClient\Flare - * @static - */ public static function registerMiddleware($middleware) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->registerMiddleware($middleware); - } - /** - * - * - * @return array> - * @static - */ public static function getMiddlewares() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->getMiddlewares(); - } - /** - * - * - * @param string $name - * @param string $messageLevel - * @param array $metaData - * @return \Spatie\FlareClient\Flare - * @static - */ public static function glow($name, $messageLevel = 'info', $metaData = []) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->glow($name, $messageLevel, $metaData); - } - /** - * - * - * @static - */ public static function handleException($throwable) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->handleException($throwable); - } - /** - * - * - * @return mixed - * @static - */ public static function handleError($code, $message, $file = '', $line = 0) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->handleError($code, $message, $file, $line); - } - /** - * - * - * @static - */ public static function applicationPath($applicationPath) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->applicationPath($applicationPath); - } - /** - * - * - * @static - */ public static function report($throwable, $callback = null, $report = null) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->report($throwable, $callback, $report); - } - /** - * - * - * @static - */ public static function reportMessage($message, $logLevel, $callback = null) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->reportMessage($message, $logLevel, $callback); - } - /** - * - * - * @static - */ public static function sendTestReport($throwable) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->sendTestReport($throwable); - } - /** - * - * - * @static - */ public static function reset() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->reset(); - } - /** - * - * - * @static - */ public static function anonymizeIp() - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->anonymizeIp(); - } - /** - * - * - * @param array $fieldNames - * @return \Spatie\FlareClient\Flare - * @static - */ public static function censorRequestBodyFields($fieldNames) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->censorRequestBodyFields($fieldNames); - } - /** - * - * - * @static - */ public static function createReport($throwable) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->createReport($throwable); - } - /** - * - * - * @static - */ public static function createReportFromMessage($message, $logLevel) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->createReportFromMessage($message, $logLevel); - } - /** - * - * - * @static - */ public static function stage($stage) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->stage($stage); - } - /** - * - * - * @static - */ public static function messageLevel($messageLevel) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->messageLevel($messageLevel); - } - /** - * - * - * @param string $groupName - * @param mixed $default - * @return array - * @static - */ public static function getGroup($groupName = 'context', $default = []) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->getGroup($groupName, $default); - } - /** - * - * - * @static - */ public static function context($key, $value) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->context($key, $value); - } - /** - * - * - * @param string $groupName - * @param array $properties - * @return \Spatie\FlareClient\Flare - * @static - */ public static function group($groupName, $properties) - { - /** @var \Spatie\FlareClient\Flare $instance */ - return $instance->group($groupName, $properties); - } - } - } - namespace Illuminate\Http { /** * @@ -18681,6 +19186,16 @@ namespace Illuminate\Http { */ public static function hasValidSignatureWhileIgnoring($ignoreQuery = [], $absolute = true) { return \Illuminate\Http\Request::hasValidSignatureWhileIgnoring($ignoreQuery, $absolute); + } + /** + * + * + * @see \Illuminate\Foundation\Providers\FoundationServiceProvider::registerRequestSignatureValidation() + * @param mixed $ignoreQuery + * @static + */ public static function hasValidRelativeSignatureWhileIgnoring($ignoreQuery = []) + { + return \Illuminate\Http\Request::hasValidRelativeSignatureWhileIgnoring($ignoreQuery); } } } @@ -18742,6 +19257,7 @@ namespace { class Bus extends \Illuminate\Support\Facades\Bus {} class Cache extends \Illuminate\Support\Facades\Cache {} class Config extends \Illuminate\Support\Facades\Config {} + class Context extends \Illuminate\Support\Facades\Context {} class Cookie extends \Illuminate\Support\Facades\Cookie {} class Crypt extends \Illuminate\Support\Facades\Crypt {} class Date extends \Illuminate\Support\Facades\Date {} @@ -19151,6 +19667,28 @@ namespace { { /** @var \Illuminate\Database\Eloquent\Builder $instance */ return $instance->eagerLoadRelations($models); + } + /** + * Register a closure to be invoked after the query is executed. + * + * @param \Closure $callback + * @return \Illuminate\Database\Eloquent\Builder|static + * @static + */ public static function afterQuery($callback) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->afterQuery($callback); + } + /** + * Invoke the "after query" modification callbacks. + * + * @param mixed $result + * @return mixed + * @static + */ public static function applyAfterQueryCallbacks($result) + { + /** @var \Illuminate\Database\Eloquent\Builder $instance */ + return $instance->applyAfterQueryCallbacks($result); } /** * Get a lazy collection for the given query. @@ -19185,10 +19723,10 @@ namespace { * @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, $total = null) { /** @var \Illuminate\Database\Eloquent\Builder $instance */ - return $instance->paginate($perPage, $columns, $pageName, $page); + return $instance->paginate($perPage, $columns, $pageName, $page, $total); } /** * Paginate the given query into a simple paginator. @@ -19572,6 +20110,7 @@ namespace { * @param string|null $alias * @param bool $descending * @return bool + * @throws \RuntimeException * @static */ public static function orderedChunkById($count, $callback, $column = null, $alias = null, $descending = false) { @@ -20242,7 +20781,7 @@ namespace { /** * Set the table which the query is targeting. * - * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|string $table + * @param \Closure|\Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder|\Illuminate\Contracts\Database\Query\Expression|string $table * @param string|null $as * @return \Illuminate\Database\Query\Builder * @static @@ -21107,6 +21646,57 @@ namespace { { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->orWhereJsonDoesntContain($column, $value); + } + /** + * Add a "where JSON overlaps" clause to the query. + * + * @param string $column + * @param mixed $value + * @param string $boolean + * @param bool $not + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function whereJsonOverlaps($column, $value, $boolean = 'and', $not = false) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonOverlaps($column, $value, $boolean, $not); + } + /** + * Add an "or where JSON overlaps" clause to the query. + * + * @param string $column + * @param mixed $value + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function orWhereJsonOverlaps($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonOverlaps($column, $value); + } + /** + * Add a "where JSON not overlap" clause to the query. + * + * @param string $column + * @param mixed $value + * @param string $boolean + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function whereJsonDoesntOverlap($column, $value, $boolean = 'and') + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->whereJsonDoesntOverlap($column, $value, $boolean); + } + /** + * Add an "or where JSON not overlap" clause to the query. + * + * @param string $column + * @param mixed $value + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function orWhereJsonDoesntOverlap($column, $value) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->orWhereJsonDoesntOverlap($column, $value); } /** * Add a clause that determines if a JSON path exists to the query. @@ -21523,6 +22113,18 @@ namespace { { /** @var \Illuminate\Database\Query\Builder $instance */ return $instance->limit($value); + } + /** + * Add a "group limit" clause to the query. + * + * @param int $value + * @param string $column + * @return \Illuminate\Database\Query\Builder + * @static + */ public static function groupLimit($value, $column) + { + /** @var \Illuminate\Database\Query\Builder $instance */ + return $instance->groupLimit($value, $column); } /** * Set the limit and offset for a given page. @@ -21909,7 +22511,7 @@ namespace { * Insert or update a record matching the attributes, and fill it with values. * * @param array $attributes - * @param array $values + * @param array|callable $values * @return bool * @static */ public static function updateOrInsert($attributes, $values = []) @@ -22108,12 +22710,13 @@ namespace { /** * Dump the current SQL and bindings. * + * @param mixed $args * @return \Illuminate\Database\Query\Builder * @static - */ public static function dump() + */ public static function dump(...$args) { /** @var \Illuminate\Database\Query\Builder $instance */ - return $instance->dump(); + return $instance->dump(...$args); } /** * Dump the raw current SQL with embedded bindings. @@ -22160,6 +22763,7 @@ namespace { * * @param string $name * @param object|callable $macro + * @param-closure-this static $macro * @return void * @static */ public static function macro($name, $macro) @@ -22220,6 +22824,7 @@ namespace { class Request extends \Illuminate\Support\Facades\Request {} class Response extends \Illuminate\Support\Facades\Response {} class Route extends \Illuminate\Support\Facades\Route {} + class Schedule extends \Illuminate\Support\Facades\Schedule {} class Schema extends \Illuminate\Support\Facades\Schema {} class Session extends \Illuminate\Support\Facades\Session {} class Storage extends \Illuminate\Support\Facades\Storage {} @@ -22235,7 +22840,6 @@ namespace { 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/Models/AuthLog.php b/app/Models/AuthLog.php index 4f8f3eba..1e1b82d4 100644 --- a/app/Models/AuthLog.php +++ b/app/Models/AuthLog.php @@ -29,6 +29,8 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\MorphTo; /** + * + * * @property int $id * @property string $authenticatable_type * @property int $authenticatable_id @@ -40,6 +42,24 @@ use Illuminate\Database\Eloquent\Relations\MorphTo; * @property bool $cleared_by_user * @property string|null $guard * @property string|null $method + * @property string|null $login_method + * @property-read Model|\Eloquent $authenticatable + * @method static \Database\Factories\AuthLogFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog query() + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereAuthenticatableId($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereAuthenticatableType($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereClearedByUser($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereGuard($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereIpAddress($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereLoginAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereLoginMethod($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereLoginSuccessful($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereLogoutAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|AuthLog whereUserAgent($value) + * @mixin \Eloquent */ class AuthLog extends Model { diff --git a/app/Models/Group.php b/app/Models/Group.php index e8e0006d..02637c76 100644 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -19,6 +19,17 @@ use Illuminate\Support\Facades\Log; * @property int|null $user_id * @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\TwoFAccount[] $twofaccounts * @property-read \App\Models\User|null $user + * @method static \Database\Factories\GroupFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|Group newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Group newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Group orphans() + * @method static \Illuminate\Database\Eloquent\Builder|Group query() + * @method static \Illuminate\Database\Eloquent\Builder|Group whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Group whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Group whereName($value) + * @method static \Illuminate\Database\Eloquent\Builder|Group whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|Group whereUserId($value) + * @mixin \Eloquent */ class Group extends Model { diff --git a/app/Models/Option.php b/app/Models/Option.php index 69ba8c0d..ec20da66 100644 --- a/app/Models/Option.php +++ b/app/Models/Option.php @@ -10,6 +10,13 @@ use Illuminate\Database\Eloquent\Model; * @property int $id * @property string $key * @property string $value + * @method static \Illuminate\Database\Eloquent\Builder|Option newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Option newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|Option query() + * @method static \Illuminate\Database\Eloquent\Builder|Option whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|Option whereKey($value) + * @method static \Illuminate\Database\Eloquent\Builder|Option whereValue($value) + * @mixin \Eloquent */ class Option extends Model { diff --git a/app/Models/TwoFAccount.php b/app/Models/TwoFAccount.php index 54abb1a8..a8da476d 100644 --- a/app/Models/TwoFAccount.php +++ b/app/Models/TwoFAccount.php @@ -53,6 +53,29 @@ use SteamTotp\SteamTotp; * @property int|null $counter * @property int|null $user_id * @property-read \App\Models\User|null $user + * @method static \Database\Factories\TwoFAccountFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount ordered(string $direction = 'asc') + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount orphans() + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount query() + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereAccount($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereAlgorithm($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereCounter($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereDigits($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereGroupId($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereIcon($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereLegacyUri($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereOrderColumn($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereOtpType($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount wherePeriod($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereSecret($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereService($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereUpdatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|TwoFAccount whereUserId($value) + * @mixin \Eloquent */ class TwoFAccount extends Model implements Sortable { diff --git a/app/Models/User.php b/app/Models/User.php index 912cb29f..c81ae442 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -46,9 +46,24 @@ use Laravel\Passport\HasApiTokens; * @property-read \Illuminate\Database\Eloquent\Collection $authentications * @property-read int|null $authentications_count * @property-read \App\Models\AuthLog|null $latestAuthentication - * * @method static \Illuminate\Database\Eloquent\Builder|User admins() - * + * @method static \Database\Factories\UserFactory factory($count = null, $state = []) + * @method static \Illuminate\Database\Eloquent\Builder|User newModelQuery() + * @method static \Illuminate\Database\Eloquent\Builder|User newQuery() + * @method static \Illuminate\Database\Eloquent\Builder|User query() + * @method static \Illuminate\Database\Eloquent\Builder|User whereCreatedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereEmail($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereEmailVerifiedAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereId($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereIsAdmin($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereLastSeenAt($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereName($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereOauthId($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereOauthProvider($value) + * @method static \Illuminate\Database\Eloquent\Builder|User wherePassword($value) + * @method static \Illuminate\Database\Eloquent\Builder|User wherePreferences($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereRememberToken($value) + * @method static \Illuminate\Database\Eloquent\Builder|User whereUpdatedAt($value) * @mixin \Eloquent */ class User extends Authenticatable implements HasLocalePreference, WebAuthnAuthenticatable