Skip to content

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

@BernardoSilva

Description

@BernardoSilva

in src/Adapter/AmazonS3.php, line 71

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

    /**
     * {@inheritDoc}
     */
    public function write($path, $source)
    {
        list($path, $bucket) = $this->pathOrUrlToPath($path);

        return $this->writeContent($path, EntityBody::factory(fopen($source, 'r')));
    }

    /**

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