If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
23
/** @scrutinizer ignore-call */
24
$cmd = $this->s3Client->getCommand('GetObject', [
This check looks for calls to methods that do not seem to exist on a given type.
It looks for the method on the type itself as well as in inherited classes or
implemented interfaces.
This is most likely a typographical error or the method has been renamed.
Loading history...
24
'Bucket' => $song->s3_params['bucket'],
25
'Key' => $song->s3_params['key'],
26
]);
27
28
// Here we specify that the request is valid for 1 hour.
29
// We'll also cache the public URL for future reuse.
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.