From 02fbd4c2854849c0c9df3127b1c550e13dffeb69 Mon Sep 17 00:00:00 2001 From: Bubka <858858+Bubka@users.noreply.github.com> Date: Sat, 9 Nov 2024 14:44:24 +0100 Subject: [PATCH] Complete phpdocs of facades with non-static methods --- app/Facades/IconStore.php | 10 ++++++++++ app/Facades/Settings.php | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/app/Facades/IconStore.php b/app/Facades/IconStore.php index e3405d77..cf03c1be 100644 --- a/app/Facades/IconStore.php +++ b/app/Facades/IconStore.php @@ -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 diff --git a/app/Facades/Settings.php b/app/Facades/Settings.php index df09fd56..f06ca18f 100644 --- a/app/Facades/Settings.php +++ b/app/Facades/Settings.php @@ -6,6 +6,12 @@ use Illuminate\Support\Facades\Facade; /** + * @method static string|int|boolean|null get($setting) + * @method static \Illuminate\Support\Collection 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