Skip to content

Commit 75f6257

Browse files
authored
Fix typos (#8149)
1 parent f5aa53d commit 75f6257

18 files changed

+31
-31
lines changed

billing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ You may also create subscriptions from the Stripe dashboard itself. When doing s
746746

747747
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.
748748

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.
750750

751751
<a name="checking-subscription-status"></a>
752752
### Checking Subscription Status

cashier-paddle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ If you would like to swap plans and immediately invoice the user instead of wait
739739
<a name="prorations"></a>
740740
#### Prorations
741741

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:
743743

744744
$user->subscription('default')->noProrate()->swap($premium = 34567);
745745

database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ To get started, you should schedule the `db:monitor` command to [run every minut
420420
php artisan db:monitor --databases=mysql,pgsql --max=100
421421
```
422422

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 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:
424424

425425
```php
426426
use App\Notifications\DatabaseApproachingMaxConnections;

dusk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ The `press` method may be used to click a button element on the page. The argume
583583

584584
$browser->press('Login');
585585

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:
587587

588588
// Press the button and wait a maximum of 5 seconds for it to be enabled...
589589
$browser->pressAndWaitFor('Save');
@@ -1884,7 +1884,7 @@ script:
18841884
<a name="running-tests-on-github-actions"></a>
18851885
### GitHub Actions
18861886
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:
18881888

18891889
```yaml
18901890
name: CI

eloquent-mutators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ The mutator closure will receive the value that is being set on the attribute, a
172172

173173
$user->first_name = 'Sally';
174174

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.
176176

177177
<a name="mutating-multiple-attributes"></a>
178178
#### Mutating Multiple Attributes

eloquent-resources.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,12 @@ By default, your outermost resource is wrapped in a `data` key when the resource
323323
{
324324
"id": 1,
325325
"name": "Eladio Schroeder Sr.",
326-
"email": "[email protected]",
326+
"email": "[email protected]"
327327
},
328328
{
329329
"id": 2,
330330
"name": "Liliana Mayert",
331-
"email": "[email protected]",
331+
"email": "[email protected]"
332332
}
333333
]
334334
}
@@ -425,12 +425,12 @@ When returning paginated collections via a resource response, Laravel will wrap
425425
{
426426
"id": 1,
427427
"name": "Eladio Schroeder Sr.",
428-
"email": "[email protected]",
428+
"email": "[email protected]"
429429
},
430430
{
431431
"id": 2,
432432
"name": "Liliana Mayert",
433-
"email": "[email protected]",
433+
"email": "[email protected]"
434434
}
435435
],
436436
"links":{
@@ -471,12 +471,12 @@ Paginated responses always contain `meta` and `links` keys with information abou
471471
{
472472
"id": 1,
473473
"name": "Eladio Schroeder Sr.",
474-
"email": "[email protected]",
474+
"email": "[email protected]"
475475
},
476476
{
477477
"id": 2,
478478
"name": "Liliana Mayert",
479-
"email": "[email protected]",
479+
"email": "[email protected]"
480480
}
481481
],
482482
"links":{
@@ -599,7 +599,7 @@ In addition to conditionally including relationships, you may conditionally incl
599599

600600
new UserResource($user->loadCount('posts'));
601601

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:
603603

604604
/**
605605
* Transform the resource into an array.

http-client.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ You may specify the maximum number of seconds to wait while trying to connect to
177177
<a name="retries"></a>
178178
### Retries
179179

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:
181181

182182
$response = Http::retry(3, 100)->post(/* ... */);
183183

@@ -187,7 +187,7 @@ If needed, you may pass a third argument to the `retry` method. The third argume
187187
return $exception instanceof ConnectionException;
188188
})->post(/* ... */);
189189

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:
191191

192192
$response = Http::withToken($this->getToken())->retry(2, 0, function ($exception, $request) {
193193
if (! $exception instanceof RequestException || $exception->response->status() !== 401) {

http-tests.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ Assert that the response contains the given cookie and it is not expired:
698698
<a name="assert-cookie-missing"></a>
699699
#### assertCookieMissing
700700

701-
Assert that the response does not contains the given cookie:
701+
Assert that the response does not contain the given cookie:
702702

703703
$response->assertCookieMissing($cookieName);
704704

@@ -828,7 +828,7 @@ Assert that the response contains the given data at the specified path:
828828

829829
For example, if the following JSON response is returned by your application:
830830

831-
```js
831+
```json
832832
{
833833
"user": {
834834
"name": "Steve Schoger"
@@ -849,7 +849,7 @@ Assert that the response does not contain the given path:
849849

850850
For example, if the following JSON response is returned by your application:
851851

852-
```js
852+
```json
853853
{
854854
"user": {
855855
"name": "Steve Schoger"
@@ -870,7 +870,7 @@ Assert that the response has a given JSON structure:
870870

871871
For example, if the JSON response returned by your application contains the following data:
872872

873-
```js
873+
```json
874874
{
875875
"user": {
876876
"name": "Steve Schoger"
@@ -888,7 +888,7 @@ You may assert that the JSON structure matches your expectations like so:
888888

889889
Sometimes, JSON responses returned by your application may contain arrays of objects:
890890

891-
```js
891+
```json
892892
{
893893
"user": [
894894
{

localization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Laravel provides two ways to manage translation strings. First, language strings
2424
/es
2525
messages.php
2626

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:
2828

2929
/lang
3030
en.json

mocking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ You may use the `Bus` facade's `fake` method to prevent jobs from being dispatch
178178
// Assert that a job was dispatched synchronously...
179179
Bus::assertDispatchedSync(AnotherJob::class);
180180

181-
// Assert that a job was not dipatched synchronously...
181+
// Assert that a job was not dispatched synchronously...
182182
Bus::assertNotDispatchedSync(AnotherJob::class);
183183

184184
// Assert that a job was dispatched after the response was sent...

0 commit comments

Comments
 (0)