]> 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 9ec2b7362790919ee393c25f2d7e0656d255e894..6fdc250976586386005c37bf3ca333d14373ebb4 100644 (file)
@@ -1,19 +1,19 @@
-<?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);
     }
-
-}
\ No newline at end of file
+}