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