Complete phpdocs of facades with non-static methods

This commit is contained in:
Bubka 2024-11-09 14:44:24 +01:00
parent 5ddd21fb4d
commit 02fbd4c285
2 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,16 @@
use Illuminate\Support\Facades\Facade;
/**
* @method static \App\Services\IconStoreService\IconStoreService setDisk(string $diskName = 'icons')
* @method static bool usesDatabase()
* @method static void setDatabaseReplication(bool $usesDatabase)
* @method static string|null get(string $name)
* @method static string|false mimeType(string $name)
* @method static bool clear()
* @method static bool delete(array|string $names)
* @method static bool store(string $name, string $content)
* @method static bool exists(string $name)
*
* @see \App\Services\IconStoreService
*/
class IconStore extends Facade

View File

@ -6,6 +6,12 @@
use Illuminate\Support\Facades\Facade;
/**
* @method static string|int|boolean|null get($setting)
* @method static \Illuminate\Support\Collection<string, mixed> all()
* @method static void set($setting, $value)
* @method static void delete(string $name)
* @method static bool isEdited($key)
*
* @see \App\Services\SettingService
*/
class Settings extends Facade