Skip to content

Commit 45ebbab

Browse files
committed
Merge pull request barryvdh#375 from ptsilva/master
Update readme.md. L5 style to define service provider and alias
2 parents 876421c + 5597808 commit 45ebbab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ After updating composer, add the ServiceProvider to the providers array in confi
5353
### Laravel 5.x:
5454

5555
```
56-
'Barryvdh\Debugbar\ServiceProvider',
56+
Barryvdh\Debugbar\ServiceProvider::class,
5757
```
5858

5959
If you want to use the facade to log messages, add this to your facades in app.php:
6060

6161
```
62-
'Debugbar' => 'Barryvdh\Debugbar\Facade',
62+
'Debugbar' => Barryvdh\Debugbar\Facade::class,
6363
```
6464

6565

0 commit comments

Comments
 (0)