Skip to content

Commit 7293c62

Browse files
committed
the acl constants have been removed
1 parent 240c91b commit 7293c62

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class MyCommand implements Command, HasBucket
164164
165165
protected $something;
166166
167-
public function getBucket(): string
167+
public function getBucket()
168168
{
169169
return $this->bucket;
170170
}
@@ -176,7 +176,7 @@ class MyCommand implements Command, HasBucket
176176
return $this;
177177
}
178178
179-
public function getSomething(): string
179+
public function getSomething()
180180
{
181181
return $this->something;
182182
}
@@ -241,7 +241,7 @@ class MyPlainCommand implements PlainCommand, HasBucket
241241
{
242242
protected $args = [];
243243
244-
public function getBucket(): string
244+
public function getBucket()
245245
{
246246
return $this->args['Bucket'] ?? '';
247247
}
@@ -253,12 +253,12 @@ class MyPlainCommand implements PlainCommand, HasBucket
253253
return $this;
254254
}
255255
256-
public function getSomething(): string
256+
public function getSomething()
257257
{
258258
return $this->args['something'] ?? '';
259259
}
260260
261-
public function setSomething(string $something)
261+
public function setSomething($something)
262262
{
263263
$this->args['something'] = $something;
264264
@@ -283,4 +283,5 @@ allow to execute this command immediately: `$command->setSomething('some value')
283283
## License
284284
285285
Yii2 AWS S3 is licensed under the MIT License.
286+
286287
See the [LICENSE](LICENSE) file for more information.

src/Service.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@
2828
*/
2929
class Service extends Component implements ServiceInterface
3030
{
31-
const ACL_PRIVATE = 'private';
32-
const ACL_PUBLIC_READ = 'public-read';
33-
const ACL_PUBLIC_READ_WRITE = 'public-read-write';
34-
const ACL_AWS_EXEC_READ = 'aws-exec-read';
35-
const ACL_AUTHENTICATED_READ = 'authenticated-read';
36-
const ACL_BUCKET_OWNER_READ = 'bucket-owner-read';
37-
const ALC_BUCKET_OWNER_FULL_CONTROL = 'bucket-owner-full-control';
38-
3931
/** @var string */
4032
public $defaultBucket = '';
4133

0 commit comments

Comments
 (0)