Skip to content

Commit

Permalink
Should be AppServiceProvider instead of AppProvider (laravel#6678)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfai authored Dec 19, 2020
1 parent 131e73f commit 959d7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ The `file` method may be used to display a file, such as an image or PDF, direct
<a name="response-macros"></a>
## Response Macros

If you would like to define a custom response that you can re-use in a variety of your routes and controllers, you may use the `macro` method on the `Response` facade. Typically, you should call this method from the `boot` method of one of your application's [service providers](/docs/{{version}}/providers), such as the `App\Providers\AppProvider` service provider:
If you would like to define a custom response that you can re-use in a variety of your routes and controllers, you may use the `macro` method on the `Response` facade. Typically, you should call this method from the `boot` method of one of your application's [service providers](/docs/{{version}}/providers), such as the `App\Providers\AppServiceProvider` service provider:

<?php

Expand Down

0 comments on commit 959d7e3

Please sign in to comment.