]> BookStack Code Mirror - bookstack/blobdiff - app/Model.php
Added more complexity in an attempt to make ldap host failover fit
[bookstack] / app / Model.php
index 8520060f442efe78beed4a7a8159302e1f39f896..6fdc250976586386005c37bf3ca333d14373ebb4 100644 (file)
@@ -10,11 +10,9 @@ class Model extends EloquentModel
      * Provides public access to get the raw attribute value from the model.
      * Used in areas where no mutations are required but performance is critical.
      *
-     * @param $key
-     *
      * @return mixed
      */
-    public function getRawAttribute($key)
+    public function getRawAttribute(string $key)
     {
         return parent::getAttributeFromArray($key);
     }