From 0ce5db371f8ec97a6f15a15d9078300d92bb18e7 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:36:27 +0200 Subject: [PATCH] Move eloquent helpers docblocks to ide-helper-models --- _ide_helper.php | 391 +++++++++++++++++++------------------ app/Models/AuthLog.php | 16 +- app/Models/Group.php | 11 +- app/Models/Option.php | 7 +- app/Models/TwoFAccount.php | 23 +-- app/Models/User.php | 18 +- composer.json | 6 + 7 files changed, 207 insertions(+), 265 deletions(-) diff --git a/_ide_helper.php b/_ide_helper.php index 9e3b891a..903ffca7 100644 --- a/_ide_helper.php +++ b/_ide_helper.php @@ -5297,7 +5297,7 @@ * @param string $name * @param array $config * @param bool $force - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function connectUsing($name, $config, $force = false) { @@ -5500,35 +5500,15 @@ { /** @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 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. * - * @return \Illuminate\Database\Schema\MySqlBuilder + * @return \Illuminate\Database\Schema\SQLiteBuilder * @static */ public static function getSchemaBuilder() { - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getSchemaBuilder(); } /** @@ -5536,11 +5516,11 @@ * * @param \Illuminate\Filesystem\Filesystem|null $files * @param callable|null $processFactory - * @return \Illuminate\Database\Schema\MySqlSchemaState + * @throws \RuntimeException * @static */ public static function getSchemaState($files = null, $processFactory = null) { - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getSchemaState($files, $processFactory); } /** @@ -5550,7 +5530,7 @@ * @static */ public static function useDefaultQueryGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->useDefaultQueryGrammar(); } /** @@ -5560,7 +5540,7 @@ * @static */ public static function useDefaultSchemaGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->useDefaultSchemaGrammar(); } /** @@ -5570,7 +5550,7 @@ * @static */ public static function useDefaultPostProcessor() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->useDefaultPostProcessor(); } /** @@ -5582,7 +5562,7 @@ * @static */ public static function table($table, $as = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->table($table, $as); } /** @@ -5592,7 +5572,7 @@ * @static */ public static function query() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->query(); } /** @@ -5605,7 +5585,7 @@ * @static */ public static function selectOne($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->selectOne($query, $bindings, $useReadPdo); } /** @@ -5619,7 +5599,7 @@ * @static */ public static function scalar($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->scalar($query, $bindings, $useReadPdo); } /** @@ -5631,7 +5611,7 @@ * @static */ public static function selectFromWriteConnection($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->selectFromWriteConnection($query, $bindings); } /** @@ -5644,7 +5624,7 @@ * @static */ public static function select($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->select($query, $bindings, $useReadPdo); } /** @@ -5657,7 +5637,7 @@ * @static */ public static function selectResultSets($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->selectResultSets($query, $bindings, $useReadPdo); } /** @@ -5670,7 +5650,7 @@ * @static */ public static function cursor($query, $bindings = [], $useReadPdo = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->cursor($query, $bindings, $useReadPdo); } /** @@ -5682,7 +5662,7 @@ * @static */ public static function insert($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->insert($query, $bindings); } /** @@ -5694,7 +5674,7 @@ * @static */ public static function update($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->update($query, $bindings); } /** @@ -5706,7 +5686,7 @@ * @static */ public static function delete($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->delete($query, $bindings); } /** @@ -5718,7 +5698,7 @@ * @static */ public static function statement($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->statement($query, $bindings); } /** @@ -5730,7 +5710,7 @@ * @static */ public static function affectingStatement($query, $bindings = []) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->affectingStatement($query, $bindings); } /** @@ -5741,7 +5721,7 @@ * @static */ public static function unprepared($query) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->unprepared($query); } /** @@ -5752,7 +5732,7 @@ * @static */ public static function pretend($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->pretend($callback); } /** @@ -5763,7 +5743,7 @@ * @static */ public static function withoutPretending($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->withoutPretending($callback); } /** @@ -5775,7 +5755,7 @@ * @static */ public static function bindValues($statement, $bindings) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->bindValues($statement, $bindings); } /** @@ -5786,7 +5766,7 @@ * @static */ public static function prepareBindings($bindings) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->prepareBindings($bindings); } /** @@ -5799,7 +5779,7 @@ * @static */ public static function logQuery($query, $bindings, $time = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->logQuery($query, $bindings, $time); } /** @@ -5811,7 +5791,7 @@ * @static */ public static function whenQueryingForLongerThan($threshold, $handler) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->whenQueryingForLongerThan($threshold, $handler); } /** @@ -5821,7 +5801,7 @@ * @static */ public static function allowQueryDurationHandlersToRunAgain() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->allowQueryDurationHandlersToRunAgain(); } /** @@ -5831,7 +5811,7 @@ * @static */ public static function totalQueryDuration() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->totalQueryDuration(); } /** @@ -5841,7 +5821,7 @@ * @static */ public static function resetTotalQueryDuration() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->resetTotalQueryDuration(); } /** @@ -5851,29 +5831,29 @@ * @static */ public static function reconnectIfMissingConnection() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->reconnectIfMissingConnection(); } /** * Register a hook to be run just before a database transaction is started. * * @param \Closure $callback - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function beforeStartingTransaction($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->beforeStartingTransaction($callback); } /** * Register a hook to be run just before a database query is executed. * * @param \Closure $callback - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function beforeExecuting($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->beforeExecuting($callback); } /** @@ -5884,7 +5864,7 @@ * @static */ public static function listen($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->listen($callback); } /** @@ -5895,7 +5875,7 @@ * @static */ public static function raw($value) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->raw($value); } /** @@ -5907,7 +5887,7 @@ * @static */ public static function escape($value, $binary = false) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->escape($value, $binary); } /** @@ -5917,7 +5897,7 @@ * @static */ public static function hasModifiedRecords() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->hasModifiedRecords(); } /** @@ -5928,18 +5908,18 @@ * @static */ public static function recordsHaveBeenModified($value = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->recordsHaveBeenModified($value); } /** * Set the record modification state. * * @param bool $value - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setRecordModificationState($value) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setRecordModificationState($value); } /** @@ -5949,18 +5929,18 @@ * @static */ public static function forgetRecordModificationState() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->forgetRecordModificationState(); } /** * Indicate that the connection should use the write PDO connection for reads. * * @param bool $value - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function useWriteConnectionWhenReading($value = true) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->useWriteConnectionWhenReading($value); } /** @@ -5970,7 +5950,7 @@ * @static */ public static function getPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getPdo(); } /** @@ -5980,7 +5960,7 @@ * @static */ public static function getRawPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getRawPdo(); } /** @@ -5990,7 +5970,7 @@ * @static */ public static function getReadPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getReadPdo(); } /** @@ -6000,29 +5980,29 @@ * @static */ public static function getRawReadPdo() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getRawReadPdo(); } /** * Set the PDO connection. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setPdo($pdo) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setPdo($pdo); } /** * Set the PDO connection used for reading. * * @param \PDO|\Closure|null $pdo - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setReadPdo($pdo) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setReadPdo($pdo); } /** @@ -6032,7 +6012,7 @@ * @static */ public static function getName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getName(); } /** @@ -6042,7 +6022,7 @@ * @static */ public static function getNameWithReadWriteType() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getNameWithReadWriteType(); } /** @@ -6053,7 +6033,7 @@ * @static */ public static function getConfig($option = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getConfig($option); } /** @@ -6063,7 +6043,7 @@ * @static */ public static function getDriverName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getDriverName(); } /** @@ -6073,18 +6053,18 @@ * @static */ public static function getQueryGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getQueryGrammar(); } /** * Set the query grammar used by the connection. * * @param \Illuminate\Database\Query\Grammars\Grammar $grammar - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setQueryGrammar($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setQueryGrammar($grammar); } /** @@ -6094,18 +6074,18 @@ * @static */ public static function getSchemaGrammar() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getSchemaGrammar(); } /** * Set the schema grammar used by the connection. * * @param \Illuminate\Database\Schema\Grammars\Grammar $grammar - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setSchemaGrammar($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setSchemaGrammar($grammar); } /** @@ -6115,18 +6095,18 @@ * @static */ public static function getPostProcessor() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getPostProcessor(); } /** * Set the query post processor used by the connection. * * @param \Illuminate\Database\Query\Processors\Processor $processor - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setPostProcessor($processor) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setPostProcessor($processor); } /** @@ -6136,18 +6116,18 @@ * @static */ public static function getEventDispatcher() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getEventDispatcher(); } /** * Set the event dispatcher instance on the connection. * * @param \Illuminate\Contracts\Events\Dispatcher $events - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setEventDispatcher($events) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setEventDispatcher($events); } /** @@ -6157,18 +6137,18 @@ * @static */ public static function unsetEventDispatcher() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->unsetEventDispatcher(); } /** * Set the transaction manager instance on the connection. * * @param \Illuminate\Database\DatabaseTransactionsManager $manager - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setTransactionManager($manager) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setTransactionManager($manager); } /** @@ -6178,7 +6158,7 @@ * @static */ public static function unsetTransactionManager() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->unsetTransactionManager(); } /** @@ -6188,7 +6168,7 @@ * @static */ public static function pretending() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->pretending(); } /** @@ -6198,7 +6178,7 @@ * @static */ public static function getQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getQueryLog(); } /** @@ -6208,7 +6188,7 @@ * @static */ public static function getRawQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getRawQueryLog(); } /** @@ -6218,7 +6198,7 @@ * @static */ public static function flushQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->flushQueryLog(); } /** @@ -6228,7 +6208,7 @@ * @static */ public static function enableQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->enableQueryLog(); } /** @@ -6238,7 +6218,7 @@ * @static */ public static function disableQueryLog() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->disableQueryLog(); } /** @@ -6248,7 +6228,7 @@ * @static */ public static function logging() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->logging(); } /** @@ -6258,29 +6238,29 @@ * @static */ public static function getDatabaseName() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getDatabaseName(); } /** * Set the name of the connected database. * * @param string $database - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setDatabaseName($database) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setDatabaseName($database); } /** * Set the read / write type of the connection. * * @param string|null $readWriteType - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setReadWriteType($readWriteType) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setReadWriteType($readWriteType); } /** @@ -6290,18 +6270,18 @@ * @static */ public static function getTablePrefix() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->getTablePrefix(); } /** * Set the table prefix in use by the connection. * * @param string $prefix - * @return \Illuminate\Database\MySqlConnection + * @return \Illuminate\Database\SQLiteConnection * @static */ public static function setTablePrefix($prefix) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->setTablePrefix($prefix); } /** @@ -6312,8 +6292,18 @@ * @static */ public static function withTablePrefix($grammar) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->withTablePrefix($grammar); + } + /** + * Get the server version for the connection. + * + * @return string + * @static + */ public static function getServerVersion() + { //Method inherited from \Illuminate\Database\Connection + /** @var \Illuminate\Database\SQLiteConnection $instance */ + return $instance->getServerVersion(); } /** * Register a connection resolver. @@ -6324,7 +6314,7 @@ * @static */ public static function resolverFor($driver, $callback) { //Method inherited from \Illuminate\Database\Connection - \Illuminate\Database\MySqlConnection::resolverFor($driver, $callback); + \Illuminate\Database\SQLiteConnection::resolverFor($driver, $callback); } /** * Get the connection resolver for the given driver. @@ -6334,7 +6324,7 @@ * @static */ public static function getResolver($driver) { //Method inherited from \Illuminate\Database\Connection - return \Illuminate\Database\MySqlConnection::getResolver($driver); + return \Illuminate\Database\SQLiteConnection::getResolver($driver); } /** * Execute a Closure within a transaction. @@ -6346,7 +6336,7 @@ * @static */ public static function transaction($callback, $attempts = 1) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->transaction($callback, $attempts); } /** @@ -6357,7 +6347,7 @@ * @static */ public static function beginTransaction() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->beginTransaction(); } /** @@ -6368,7 +6358,7 @@ * @static */ public static function commit() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->commit(); } /** @@ -6380,7 +6370,7 @@ * @static */ public static function rollBack($toLevel = null) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->rollBack($toLevel); } /** @@ -6390,7 +6380,7 @@ * @static */ public static function transactionLevel() { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ return $instance->transactionLevel(); } /** @@ -6402,7 +6392,7 @@ * @static */ public static function afterCommit($callback) { //Method inherited from \Illuminate\Database\Connection - /** @var \Illuminate\Database\MySqlConnection $instance */ + /** @var \Illuminate\Database\SQLiteConnection $instance */ $instance->afterCommit($callback); } } @@ -14341,7 +14331,7 @@ * @static */ public static function createDatabase($name) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->createDatabase($name); } /** @@ -14352,28 +14342,19 @@ * @static */ public static function dropDatabaseIfExists($name) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->dropDatabaseIfExists($name); } /** * Get the tables for the database. * + * @param bool $withSize * @return array * @static - */ public static function getTables() + */ public static function getTables($withSize = true) { - /** @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(); + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ + return $instance->getTables($withSize); } /** * Get the columns for a given table. @@ -14383,30 +14364,8 @@ * @static */ public static function getColumns($table) { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getColumns($table); - } - /** - * Get the indexes for a given table. - * - * @param string $table - * @return array - * @static - */ public static function getIndexes($table) - { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getIndexes($table); - } - /** - * Get the foreign keys for a given table. - * - * @param string $table - * @return array - * @static - */ public static function getForeignKeys($table) - { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ - return $instance->getForeignKeys($table); } /** * Drop all tables from the database. @@ -14415,7 +14374,7 @@ * @static */ public static function dropAllTables() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->dropAllTables(); } /** @@ -14425,8 +14384,18 @@ * @static */ public static function dropAllViews() { - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->dropAllViews(); + } + /** + * Empty the database file. + * + * @return void + * @static + */ public static function refreshDatabaseFile() + { + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ + $instance->refreshDatabaseFile(); } /** * Set the default string length for migrations. @@ -14436,7 +14405,7 @@ * @static */ public static function defaultStringLength($length) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::defaultStringLength($length); + \Illuminate\Database\Schema\SQLiteBuilder::defaultStringLength($length); } /** * Set the default morph key type for migrations. @@ -14447,7 +14416,7 @@ * @static */ public static function defaultMorphKeyType($type) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::defaultMorphKeyType($type); + \Illuminate\Database\Schema\SQLiteBuilder::defaultMorphKeyType($type); } /** * Set the default morph key type for migrations to UUIDs. @@ -14456,7 +14425,7 @@ * @static */ public static function morphUsingUuids() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::morphUsingUuids(); + \Illuminate\Database\Schema\SQLiteBuilder::morphUsingUuids(); } /** * Set the default morph key type for migrations to ULIDs. @@ -14465,7 +14434,7 @@ * @static */ public static function morphUsingUlids() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::morphUsingUlids(); + \Illuminate\Database\Schema\SQLiteBuilder::morphUsingUlids(); } /** * Determine if the given table exists. @@ -14475,7 +14444,7 @@ * @static */ public static function hasTable($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->hasTable($table); } /** @@ -14486,7 +14455,7 @@ * @static */ public static function hasView($view) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->hasView($view); } /** @@ -14496,8 +14465,18 @@ * @static */ public static function getTableListing() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getTableListing(); + } + /** + * Get the views that belong to the database. + * + * @return array + * @static + */ public static function getViews() + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ + return $instance->getViews(); } /** * Get the user-defined types that belong to the database. @@ -14506,7 +14485,7 @@ * @static */ public static function getTypes() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getTypes(); } /** @@ -14518,7 +14497,7 @@ * @static */ public static function hasColumn($table, $column) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->hasColumn($table, $column); } /** @@ -14530,7 +14509,7 @@ * @static */ public static function hasColumns($table, $columns) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->hasColumns($table, $columns); } /** @@ -14543,7 +14522,7 @@ * @static */ public static function whenTableHasColumn($table, $column, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->whenTableHasColumn($table, $column, $callback); } /** @@ -14556,7 +14535,7 @@ * @static */ public static function whenTableDoesntHaveColumn($table, $column, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->whenTableDoesntHaveColumn($table, $column, $callback); } /** @@ -14569,7 +14548,7 @@ * @static */ public static function getColumnType($table, $column, $fullDefinition = false) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getColumnType($table, $column, $fullDefinition); } /** @@ -14580,8 +14559,19 @@ * @static */ public static function getColumnListing($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getColumnListing($table); + } + /** + * Get the indexes for a given table. + * + * @param string $table + * @return array + * @static + */ public static function getIndexes($table) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ + return $instance->getIndexes($table); } /** * Get the names of the indexes for a given table. @@ -14591,7 +14581,7 @@ * @static */ public static function getIndexListing($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getIndexListing($table); } /** @@ -14604,8 +14594,19 @@ * @static */ public static function hasIndex($table, $index, $type = null) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->hasIndex($table, $index, $type); + } + /** + * Get the foreign keys for a given table. + * + * @param string $table + * @return array + * @static + */ public static function getForeignKeys($table) + { //Method inherited from \Illuminate\Database\Schema\Builder + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ + return $instance->getForeignKeys($table); } /** * Modify a table on the schema. @@ -14616,7 +14617,7 @@ * @static */ public static function table($table, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->table($table, $callback); } /** @@ -14628,7 +14629,7 @@ * @static */ public static function create($table, $callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->create($table, $callback); } /** @@ -14639,7 +14640,7 @@ * @static */ public static function drop($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->drop($table); } /** @@ -14650,7 +14651,7 @@ * @static */ public static function dropIfExists($table) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->dropIfExists($table); } /** @@ -14662,7 +14663,7 @@ * @static */ public static function dropColumns($table, $columns) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->dropColumns($table, $columns); } /** @@ -14673,7 +14674,7 @@ * @static */ public static function dropAllTypes() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->dropAllTypes(); } /** @@ -14685,7 +14686,7 @@ * @static */ public static function rename($from, $to) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->rename($from, $to); } /** @@ -14695,7 +14696,7 @@ * @static */ public static function enableForeignKeyConstraints() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->enableForeignKeyConstraints(); } /** @@ -14705,7 +14706,7 @@ * @static */ public static function disableForeignKeyConstraints() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->disableForeignKeyConstraints(); } /** @@ -14716,7 +14717,7 @@ * @static */ public static function withoutForeignKeyConstraints($callback) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->withoutForeignKeyConstraints($callback); } /** @@ -14726,18 +14727,18 @@ * @static */ public static function getConnection() { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->getConnection(); } /** * Set the database connection instance. * * @param \Illuminate\Database\Connection $connection - * @return \Illuminate\Database\Schema\MySqlBuilder + * @return \Illuminate\Database\Schema\SQLiteBuilder * @static */ public static function setConnection($connection) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ return $instance->setConnection($connection); } /** @@ -14748,7 +14749,7 @@ * @static */ public static function blueprintResolver($resolver) { //Method inherited from \Illuminate\Database\Schema\Builder - /** @var \Illuminate\Database\Schema\MySqlBuilder $instance */ + /** @var \Illuminate\Database\Schema\SQLiteBuilder $instance */ $instance->blueprintResolver($resolver); } /** @@ -14761,7 +14762,7 @@ * @static */ public static function macro($name, $macro) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::macro($name, $macro); + \Illuminate\Database\Schema\SQLiteBuilder::macro($name, $macro); } /** * Mix another object into the class. @@ -14773,7 +14774,7 @@ * @static */ public static function mixin($mixin, $replace = true) { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::mixin($mixin, $replace); + \Illuminate\Database\Schema\SQLiteBuilder::mixin($mixin, $replace); } /** * Checks if macro is registered. @@ -14783,7 +14784,7 @@ * @static */ public static function hasMacro($name) { //Method inherited from \Illuminate\Database\Schema\Builder - return \Illuminate\Database\Schema\MySqlBuilder::hasMacro($name); + return \Illuminate\Database\Schema\SQLiteBuilder::hasMacro($name); } /** * Flush the existing macros. @@ -14792,7 +14793,7 @@ * @static */ public static function flushMacros() { //Method inherited from \Illuminate\Database\Schema\Builder - \Illuminate\Database\Schema\MySqlBuilder::flushMacros(); + \Illuminate\Database\Schema\SQLiteBuilder::flushMacros(); } } /** @@ -18141,8 +18142,8 @@ /** * Prepends the pseudo group named 'All' to a group collection * - * @param \App\Services\Collection $groups - * @return \App\Services\Collection + * @param \Illuminate\Database\Eloquent\Collection $groups + * @return \Illuminate\Database\Eloquent\Collection * @static */ public static function prependTheAllGroup($groups, $user) { @@ -18151,7 +18152,7 @@ /** * Set owner of given groups * - * @param \App\Services\Collection $groups + * @param \Illuminate\Database\Eloquent\Collection $groups * @static */ public static function setUser($groups, $user) { diff --git a/app/Models/AuthLog.php b/app/Models/AuthLog.php index 1e1b82d4..24a69149 100644 --- a/app/Models/AuthLog.php +++ b/app/Models/AuthLog.php @@ -44,21 +44,7 @@ * @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 02637c76..cc73c348 100644 --- a/app/Models/Group.php +++ b/app/Models/Group.php @@ -19,16 +19,7 @@ * @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 ec20da66..6fe9c752 100644 --- a/app/Models/Option.php +++ b/app/Models/Option.php @@ -10,12 +10,7 @@ * @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 a8da476d..3d473f52 100644 --- a/app/Models/TwoFAccount.php +++ b/app/Models/TwoFAccount.php @@ -53,28 +53,7 @@ * @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 c81ae442..29f3aa36 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -47,23 +47,7 @@ * @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 diff --git a/composer.json b/composer.json index e1767410..5a1feb01 100644 --- a/composer.json +++ b/composer.json @@ -107,6 +107,12 @@ "test-coverage-html": [ "@putenv XDEBUG_MODE=coverage", "vendor/bin/phpunit --coverage-html tests/Coverage/" + ], + "ide-helper": [ + "php artisan config:clear", + "php artisan clear-compiled", + "php artisan ide-helper:generate", + "php artisan ide-helper:models" ] } }