* 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);
}