Closed charjr closed 6 months ago
Update the PHPStan.neon file to specifically ignore missing config() and config_path() functions.
config()
config_path()
Removes (now unnecessary) repetitive phpstan-ignore-next-line annotations.
Lets PHPStan check those lines for other issues. (Case and point: it then began complaining that instantiateBuilders was only returning array instead of array so I've added an array_filter to assert that).
Update the PHPStan.neon file to specifically ignore missing
config()
andconfig_path()
functions.Removes (now unnecessary) repetitive phpstan-ignore-next-line annotations.
Lets PHPStan check those lines for other issues. (Case and point: it then began complaining that instantiateBuilders was only returning array