Are you sure the assignment to $val is correct as \App\Lib\Helpers\Config:...t('configSample.stuff') (which targets App\Lib\Helpers\Config::get()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
Are you sure the assignment to $val is correct as \App\Lib\Helpers\Config::get('configSample') (which targets App\Lib\Helpers\Config::get()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
Are you sure the assignment to $val is correct as \App\Lib\Helpers\Config:...figKeyWhichIsNotThere') (which targets App\Lib\Helpers\Config::get()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
Are you sure the assignment to $val is correct as \App\Lib\Helpers\Config:...figKeyWhichIsNotThere') (which targets App\Lib\Helpers\Config::get()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.