new League\Flysystem\Config(array()) of type League\Flysystem\Config is incompatible with the type array expected by parameter $config of League\Flysystem\Filesystem::publicUrl().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
28
return $filesystem->publicUrl($path, /** @scrutinizer ignore-type */ new Config([]));