X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c429cf78187e80deb63982a282a1c6889f30291a..refs/pull/3042/head:/app/Model.php diff --git a/app/Model.php b/app/Model.php index 8520060f4..bd524332c 100644 --- a/app/Model.php +++ b/app/Model.php @@ -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); }