new League\Flysystem\Config($this->config) 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
33
return $filesystem->temporaryUrl($path, new \DateTime($this->expires), /** @scrutinizer ignore-type */ new Config($this->config));