Skip to content

[Insight] Unused method, property, variable or parameter - in src/Adapter/AmazonS3.php, line 85 #18

@BernardoSilva

Description

@BernardoSilva

in src/Adapter/AmazonS3.php, line 85

This response local variable is declared but never used. You should remove it.

    {
        list($path, $bucket) = $this->pathOrUrlToPath($path);

        $this->ensureBucketExists();

        $response = $this->service->putObject(array(
            'Bucket' => $bucket,
            'Key' => $path,
            'Body' => $content,
            'ACL' => $this->options['ACL'],
            'ContentType' => Mimetypes::getInstance()->fromFilename($path)

Posted from SensioLabsInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions