Skip to content

Use getAttribute instead of magic access

Sıddık Akçay requested to merge sdkakcy/laravel-hashslug:master into master

Since you dropped the support for laravel versions less than 8, I dive into code to understand why call here like this. I understand that it's a matter of preference because magic access calls too getAttribute() so maybe we can use that method directly?

Merge request reports

Loading