]> BookStack Code Mirror - bookstack/blobdiff - app/Model.php
Added testing coverage for tag index
[bookstack] / app / Model.php
index 8520060f442efe78beed4a7a8159302e1f39f896..bd524332cde77b6dea2f6dcba05966dbde7d0571 100644 (file)
@@ -9,12 +9,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);
     }