It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Are you sure the usage of app(Imanghafoori\Widgets...ireTaggedWidgets($tags) targeting Imanghafoori\Widgets\Uti...::expireTaggedWidgets() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.
It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.