You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: billing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -746,7 +746,7 @@ You may also create subscriptions from the Stripe dashboard itself. When doing s
746
746
747
747
In addition, you may only create one type of subscription via the Stripe dashboard. If your application offers multiple subscriptions that use different names, only one type of subscription may be added through the Stripe dashboard.
748
748
749
-
Finally, you should always make sure to only add one active subscription per type of subscription offered by your application. If customer has two `default` subscriptions, only the most recently added subscription will be used by Cashier even though both would be synced with your application's database.
749
+
Finally, you should always make sure to only add one active subscription per type of subscription offered by your application. If a customer has two `default` subscriptions, only the most recently added subscription will be used by Cashier even though both would be synced with your application's database.
Copy file name to clipboardExpand all lines: cashier-paddle.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -739,7 +739,7 @@ If you would like to swap plans and immediately invoice the user instead of wait
739
739
<aname="prorations"></a>
740
740
#### Prorations
741
741
742
-
By default, Paddle prorates charges when swapping between plans. The `noProrate` method may be used to update the subscription's without prorating the charges:
742
+
By default, Paddle prorates charges when swapping between plans. The `noProrate` method may be used to update the subscriptions without prorating the charges:
Scheduling this command alone is not enough to trigger a notification alerting you of the number of open connections. When the command encounters a database that has a open connection count that exceeds your threshold, a `DatabaseBusy` event will be dispatched. You should listen for this event within your application's `EventServiceProvider` in order to send a notification to you or your development team:
423
+
Scheduling this command alone is not enough to trigger a notification alerting you of the number of open connections. When the command encounters a database that has an open connection count that exceeds your threshold, a `DatabaseBusy` event will be dispatched. You should listen for this event within your application's `EventServiceProvider` in order to send a notification to you or your development team:
424
424
425
425
```php
426
426
use App\Notifications\DatabaseApproachingMaxConnections;
Copy file name to clipboardExpand all lines: dusk.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -583,7 +583,7 @@ The `press` method may be used to click a button element on the page. The argume
583
583
584
584
$browser->press('Login');
585
585
586
-
When submitting forms, many application's disable the form's submission button after it is pressed and then re-enable the button when the form submission's HTTP request is complete. To press a button and wait for the button to be re-enabled, you may use the `pressAndWaitFor` method:
586
+
When submitting forms, many applications disable the form's submission button after it is pressed and then re-enable the button when the form submission's HTTP request is complete. To press a button and wait for the button to be re-enabled, you may use the `pressAndWaitFor` method:
587
587
588
588
// Press the button and wait a maximum of 5 seconds for it to be enabled...
589
589
$browser->pressAndWaitFor('Save');
@@ -1884,7 +1884,7 @@ script:
1884
1884
<a name="running-tests-on-github-actions"></a>
1885
1885
### GitHub Actions
1886
1886
1887
-
If you are using [Github Actions](https://github.com/features/actions) to run your Dusk tests, you may use the following configuration file as a starting point. Like TravisCI, we will use the `php artisan serve` command to launch PHP's built-in web server:
1887
+
If you are using [GitHub Actions](https://github.com/features/actions) to run your Dusk tests, you may use the following configuration file as a starting point. Like TravisCI, we will use the `php artisan serve` command to launch PHP's built-in web server:
Copy file name to clipboardExpand all lines: eloquent-mutators.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -172,7 +172,7 @@ The mutator closure will receive the value that is being set on the attribute, a
172
172
173
173
$user->first_name = 'Sally';
174
174
175
-
In this example, the `set` callback will be called with the value `Sally`. The mutator will then apply the `strtolower` function to the name and set its resulting value in model's the internal `$attributes` array.
175
+
In this example, the `set` callback will be called with the value `Sally`. The mutator will then apply the `strtolower` function to the name and set its resulting value in the model's internal `$attributes` array.
@@ -599,7 +599,7 @@ In addition to conditionally including relationships, you may conditionally incl
599
599
600
600
new UserResource($user->loadCount('posts'));
601
601
602
-
The `whenCounted` method may be used to conditionally include a relationship's count in your resource response. This method avoids unnecessarily including the attribute if the relationships's count is not present:
602
+
The `whenCounted` method may be used to conditionally include a relationship's count in your resource response. This method avoids unnecessarily including the attribute if the relationships' count is not present:
Copy file name to clipboardExpand all lines: http-client.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ You may specify the maximum number of seconds to wait while trying to connect to
177
177
<aname="retries"></a>
178
178
### Retries
179
179
180
-
If you would like HTTP client to automatically retry the request if a client or server error occurs, you may use the `retry` method. The `retry` method accepts the maximum number of times the request should be attempted and the number of milliseconds that Laravel should wait in between attempts:
180
+
If you would like the HTTP client to automatically retry the request if a client or server error occurs, you may use the `retry` method. The `retry` method accepts the maximum number of times the request should be attempted and the number of milliseconds that Laravel should wait in between attempts:
181
181
182
182
$response = Http::retry(3, 100)->post(/* ... */);
183
183
@@ -187,7 +187,7 @@ If needed, you may pass a third argument to the `retry` method. The third argume
187
187
return $exception instanceof ConnectionException;
188
188
})->post(/* ... */);
189
189
190
-
If a request attempt fails, you may wish to make a change to the request before a new attempt is made. You can achieve this by modifying request argument provided to the callable you provided to the `retry` method. For example, you might want to retry the request with a new authorization token if the first attempt returned an authentication error:
190
+
If a request attempt fails, you may wish to make a change to the request before a new attempt is made. You can achieve this by modifying the request argument provided to the callable you provided to the `retry` method. For example, you might want to retry the request with a new authorization token if the first attempt returned an authentication error:
191
191
192
192
$response = Http::withToken($this->getToken())->retry(2, 0, function ($exception, $request) {
193
193
if (! $exception instanceof RequestException || $exception->response->status() !== 401) {
Copy file name to clipboardExpand all lines: localization.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Laravel provides two ways to manage translation strings. First, language strings
24
24
/es
25
25
messages.php
26
26
27
-
Or, translation strings may be defined within JSON files that are placed within the `lang` directory. When taking this approach, each language supported by your application would have a corresponding JSON file within this directory. This approach is recommended for application's that have a large number of translatable strings:
27
+
Or, translation strings may be defined within JSON files that are placed within the `lang` directory. When taking this approach, each language supported by your application would have a corresponding JSON file within this directory. This approach is recommended for applications that have a large number of translatable strings:
Copy file name to clipboardExpand all lines: notifications.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@
52
52
<aname="introduction"></a>
53
53
## Introduction
54
54
55
-
In addition to support for [sending email](/docs/{{version}}/mail), Laravel provides support for sending notifications across a variety of delivery channels, including email, SMS (via [Vonage](https://www.vonage.com/communications-apis/), formerly known as Nexmo), and [Slack](https://slack.com). In addition, a variety of [community built notification channels](https://laravel-notification-channels.com/about/#suggesting-a-new-channel) have been created to send notification over dozens of different channels! Notifications may also be stored in a database so they may be displayed in your web interface.
55
+
In addition to support for [sending email](/docs/{{version}}/mail), Laravel provides support for sending notifications across a variety of delivery channels, including email, SMS (via [Vonage](https://www.vonage.com/communications-apis/), formerly known as Nexmo), and [Slack](https://slack.com). In addition, a variety of [community built notification channels](https://laravel-notification-channels.com/about/#suggesting-a-new-channel) have been created to send notifications over dozens of different channels! Notifications may also be stored in a database so they may be displayed in your web interface.
56
56
57
57
Typically, notifications should be short, informational messages that notify users of something that occurred in your application. For example, if you are writing a billing application, you might send an "Invoice Paid" notification to your users via the email and SMS channels.
Copy file name to clipboardExpand all lines: pagination.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ If you need to append a "hash fragment" to URLs generated by the paginator, you
212
212
213
213
When calling the `paginate` method, you will receive an instance of `Illuminate\Pagination\LengthAwarePaginator`, while calling the `simplePaginate` method returns an instance of `Illuminate\Pagination\Paginator`. And, finally, calling the `cursorPaginate` method returns an instance of `Illuminate\Pagination\CursorPaginator`.
214
214
215
-
These objects provide several methods that describe the result set. In addition to these helpers methods, the paginator instances are iterators and may be looped as an array. So, once you have retrieved the results, you may display the results and render the page links using [Blade](/docs/{{version}}/blade):
215
+
These objects provide several methods that describe the result set. In addition to these helper methods, the paginator instances are iterators and may be looped as an array. So, once you have retrieved the results, you may display the results and render the page links using [Blade](/docs/{{version}}/blade):
Copy file name to clipboardExpand all lines: queues.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1465,7 +1465,7 @@ php artisan queue:work
1465
1465
> **Note**
1466
1466
> To keep the `queue:work` process running permanently in the background, you should use a process monitor such as [Supervisor](#supervisor-configuration) to ensure that the queue worker does not stop running.
1467
1467
1468
-
Remember, queue workers, are long-lived processes and store the booted application state in memory. As a result, they will not notice changes in your code base after they have been started. So, during your deployment process, be sure to [restart your queue workers](#queue-workers-and-deployment). In addition, remember that any static state created or modified by your application will not be automatically reset between jobs.
1468
+
Remember, queue workers are long-lived processes and store the booted application state in memory. As a result, they will not notice changes in your code base after they have been started. So, during your deployment process, be sure to [restart your queue workers](#queue-workers-and-deployment). In addition, remember that any static state created or modified by your application will not be automatically reset between jobs.
1469
1469
1470
1470
Alternatively, you may run the `queue:listen` command. When using the `queue:listen` command, you don't have to manually restart the worker when you want to reload your updated code or reset the application state; however, this command is significantly less efficient than the `queue:work` command:
Copy file name to clipboardExpand all lines: redis.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -183,7 +183,7 @@ In addition to the default `scheme`, `host`, `port`, `database`, and `password`
183
183
<aname="phpredis-serialization"></a>
184
184
#### phpredis Serialization & Compression
185
185
186
-
The phpredis extension may also be configured to use a variety serialization and compression algorithms. These algorithms can be configured via the `options` array of your Redis configuration:
186
+
The phpredis extension may also be configured to use a variety of serialization and compression algorithms. These algorithms can be configured via the `options` array of your Redis configuration:
Copy file name to clipboardExpand all lines: sail.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -271,7 +271,7 @@ The Sail `test` command is equivalent to running the `test` Artisan command:
271
271
sail artisan test
272
272
```
273
273
274
-
By default, Sail will create a dedicated `testing` database that your tests do not interfere with the current state of your database. In a default Laravel installation, Sail will also configure your `phpunit.xml` file to use this database when executing your tests:
274
+
By default, Sail will create a dedicated `testing` database so that your tests do not interfere with the current state of your database. In a default Laravel installation, Sail will also configure your `phpunit.xml` file to use this database when executing your tests:
Copy file name to clipboardExpand all lines: scout.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ By default, the entire `toArray` form of a given model will be persisted to its
184
184
<aname="configuring-the-model-id"></a>
185
185
### Configuring The Model ID
186
186
187
-
By default, Scout will use the primary key of the model as model's unique ID / key that is stored in the search index. If you need to customize this behavior, you may override the `getScoutKey` and the `getScoutKeyName` methods on the model:
187
+
By default, Scout will use the primary key of the model as the model's unique ID / key that is stored in the search index. If you need to customize this behavior, you may override the `getScoutKey` and the `getScoutKeyName` methods on the model:
Copy file name to clipboardExpand all lines: starter-kits.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ While you are welcome to use these starter kits, they are not required. You are
20
20
21
21
[Laravel Breeze](https://github.com/laravel/breeze) is a minimal, simple implementation of all of Laravel's [authentication features](/docs/{{version}}/authentication), including login, registration, password reset, email verification, and password confirmation. Laravel Breeze's default view layer is made up of simple [Blade templates](/docs/{{version}}/blade) styled with [Tailwind CSS](https://tailwindcss.com). Or, Breeze can scaffold your application using Vue or React and [Inertia](https://inertiajs.com).
22
22
23
-
Breeze provides a wonderful starting point for beginning a fresh Laravel application and is also great choice for projects that plan to take their Blade templates to the next level with [Laravel Livewire](https://laravel-livewire.com).
23
+
Breeze provides a wonderful starting point for beginning a fresh Laravel application and is also a great choice for projects that plan to take their Blade templates to the next level with [Laravel Livewire](https://laravel-livewire.com).
0 commit comments