Skip to content

Commit 5d9638a

Browse files
driesvintspatrickbrouwers
authored andcommitted
Use ::class notation in setup instructions (SpartnerNL#776)
1 parent ab13890 commit 5d9638a

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
@@ -52,13 +52,13 @@ Require this package in your `composer.json` and update composer. This will down
5252
After updating composer, add the ServiceProvider to the providers array in `config/app.php`
5353

5454
```php
55-
'Maatwebsite\Excel\ExcelServiceProvider',
55+
Maatwebsite\Excel\ExcelServiceProvider::class,
5656
```
5757

5858
You can use the facade for shorter code. Add this to your aliases:
5959

6060
```php
61-
'Excel' => 'Maatwebsite\Excel\Facades\Excel',
61+
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
6262
```
6363

6464
The class is bound to the ioC as `excel`

0 commit comments

Comments
 (0)