]> BookStack Code Mirror - bookstack/blobdiff - app/Model.php
Added test for logical-theme-system command registration
[bookstack] / app / Model.php
index 498bacb2055fcb4296b69a44f1e75eb3c61b9e11..6fdc250976586386005c37bf3ca333d14373ebb4 100644 (file)
@@ -1,17 +1,18 @@
-<?php namespace BookStack;
+<?php
+
+namespace BookStack;
 
 use Illuminate\Database\Eloquent\Model as EloquentModel;
 
 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);
     }