]> BookStack Code Mirror - bookstack/blobdiff - app/Settings/SettingService.php
Added ability to control app icon (favicon) via settings
[bookstack] / app / Settings / SettingService.php
index 9f0a41ea2fceb228bde62b8ad687ac502eb7a9b4..d1bac164da8103771e7120c5443273736764d424 100644 (file)
@@ -12,15 +12,11 @@ use Illuminate\Contracts\Cache\Repository as Cache;
  */
 class SettingService
 {
-    protected $setting;
-    protected $cache;
-    protected $localCache = [];
+    protected Setting $setting;
+    protected Cache $cache;
+    protected array $localCache = [];
+    protected string $cachePrefix = 'setting-';
 
-    protected $cachePrefix = 'setting-';
-
-    /**
-     * SettingService constructor.
-     */
     public function __construct(Setting $setting, Cache $cache)
     {
         $this->setting = $setting;