Skip to content

Commit 043e0b0

Browse files
committed
Update providers and alises for 5.1 consistency
In Laravel 5.1 they use class name resolution via ::class, this is just to make it consistent with the rest of the `config/app.php`.
1 parent e937b1e commit 043e0b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Find the `providers` key in your `config/app.php` and register the AWS Service P
4343
```php
4444
'providers' => array(
4545
// ...
46-
'Aws\Laravel\AwsServiceProvider',
46+
Aws\Laravel\AwsServiceProvider::class,
4747
)
4848
```
4949

@@ -52,7 +52,7 @@ Find the `aliases` key in your `config/app.php` and add the AWS facade alias.
5252
```php
5353
'aliases' => array(
5454
// ...
55-
'AWS' => 'Aws\Laravel\AwsFacade',
55+
'AWS' => Aws\Laravel\AwsFacade::class,
5656
)
5757
```
5858

0 commit comments

Comments
 (0)