new League\Flysystem\Config(array()) of type League\Flysystem\Config is incompatible with the type array expected by parameter $config of League\Flysystem\Filesystem::temporaryUrl().
(
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->temporaryUrl($path, new \DateTime('+1 day'), /** @scrutinizer ignore-type */ new Config([]));