tpyo / amazon-s3-php-class

A standalone Amazon S3 (REST) client for PHP 5/CURL
1.03k stars 503 forks source link

Unused property #135

Open Lisio opened 7 years ago

Lisio commented 7 years ago

https://github.com/tpyo/amazon-s3-php-class/blob/master/S3.php#L765 Can't find where $rest->file property can be used.

Lisio commented 7 years ago

Also, this line https://github.com/tpyo/amazon-s3-php-class/blob/master/S3.php#L1186 should be fixed:

$hostBucket ? $bucket.'.'.self::$endpoint : self::$endpoint.'/'.$bucket, $uri, self::$__accessKey, $expires,