i use PHP Mess Detector on my Laravel controller invokable class and i got message like this
Avoid using static access to class 'Illuminate\Support\Facades\Cache' in method '__invoke'
Can anyone explain it why i must avoid using static access on invoke method?
Reference: https://phpmd.org/rules/cleancode.html#staticaccess