Are you sure the assignment to $vendor is correct as $this->vendor() targeting Helldar\LaravelLangPubli...ns\BasePlugin::vendor() 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.
$vendor of type void is incompatible with the type string expected by parameter $parameters of Helldar\LaravelLangPubli...asePlugin::vendorPath().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
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.