Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double newline and space typos #9795

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -3434,7 +3434,6 @@ The `whereNull` method returns items from the collection where the given key is
]
*/


<a name="method-wrap"></a>
#### `wrap()` {.collection-method}

Expand Down
1 change: 0 additions & 1 deletion errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ By default, limits will use the exception's class as the rate limit key. You can
});
})


Of course, you may return a mixture of `Lottery` and `Limit` instances for different exceptions:

use App\Exceptions\ApiMonitoringException;
Expand Down
3 changes: 0 additions & 3 deletions helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ Laravel includes a variety of global "helper" PHP functions. Many of these funct

</div>


<a name="paths-method-list"></a>
### Paths

Expand Down Expand Up @@ -244,7 +243,6 @@ The `Arr::add` method adds a given key / value pair to an array if the given key

// ['name' => 'Desk', 'price' => 100]


<a name="method-array-collapse"></a>
#### `Arr::collapse()` {.collection-method}

Expand Down Expand Up @@ -1364,7 +1362,6 @@ The `Number::spell` method transforms the given number into a string of words:

// quatre-vingt-huit


The `after` argument allows you to specify a value after which all numbers should be spelled out:

$number = Number::spell(10, after: 10);
Expand Down
1 change: 0 additions & 1 deletion horizon.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ When retrieving the tags for a queued event listener, Horizon will automatically
}
}


<a name="notifications"></a>
## Notifications

Expand Down
6 changes: 2 additions & 4 deletions logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,8 @@ If you are using a Monolog handler that is capable of providing its own formatte
'formatter' => 'default',
],


<a name="monolog-processors"></a>
#### Monolog Processors
<a name="monolog-processors"></a>
#### Monolog Processors

Monolog can also process messages before logging them. You can create your own processors or use the [existing processors offered by Monolog](https://github.com/Seldaek/monolog/tree/main/src/Monolog/Processor).

Expand All @@ -443,7 +442,6 @@ If you would like to customize the processors for a `monolog` driver, add a `pro
],
],


<a name="creating-custom-channels-via-factories"></a>
### Creating Custom Channels via Factories

Expand Down
1 change: 0 additions & 1 deletion middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ If you would like to manage Laravel's global middleware stack manually, you may
]);
})


<a name="assigning-middleware-to-routes"></a>
### Assigning Middleware to Routes

Expand Down
2 changes: 0 additions & 2 deletions queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,6 @@ class ProviderIsDown
{
// ...


public function middleware(): array
{
return [
Expand All @@ -585,7 +584,6 @@ class ProviderIsUp
{
// ...


public function middleware(): array
{
return [
Expand Down
1 change: 0 additions & 1 deletion releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ When referencing the Laravel framework or its components from your application o

For all Laravel releases, bug fixes are provided for 18 months and security fixes are provided for 2 years. For all additional libraries, including Lumen, only the latest major release receives bug fixes. In addition, please review the database versions [supported by Laravel](/docs/{{version}}/database#introduction).


<div class="overflow-auto">

| Version | PHP (*) | Release | Bug Fixes Until | Security Fixes Until |
Expand Down
1 change: 0 additions & 1 deletion scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ Schedule::call(fn () => User::resetApiRequestCount())
->onOneServer();
```


<a name="background-tasks"></a>
### Background Tasks

Expand Down
3 changes: 0 additions & 3 deletions strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ The `Str::endsWith` method determines if the given string ends with the given va

// true


You may also pass an array of values to determine if the given string ends with any of the values in the array:

use Illuminate\Support\Str;
Expand Down Expand Up @@ -1895,7 +1894,6 @@ The `isEmpty` method determines if the given string is empty:

The `isNotEmpty` method determines if the given string is not empty:


use Illuminate\Support\Str;

$result = Str::of(' ')->trim()->isNotEmpty();
Expand Down Expand Up @@ -1996,7 +1994,6 @@ The `lcfirst` method returns the given string with the first character lowercase

// foo Bar


<a name="method-fluent-str-length"></a>
#### `length` {.collection-method}

Expand Down
16 changes: 8 additions & 8 deletions validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1544,23 +1544,23 @@ The field under validation must be a multiple of _value_.

The field under validation must not be present in the input data.

<a name="rule-missing-if"></a>
#### missing_if:_anotherfield_,_value_,...
<a name="rule-missing-if"></a>
#### missing_if:_anotherfield_,_value_,...

The field under validation must not be present if the _anotherfield_ field is equal to any _value_.

<a name="rule-missing-unless"></a>
#### missing_unless:_anotherfield_,_value_
<a name="rule-missing-unless"></a>
#### missing_unless:_anotherfield_,_value_

The field under validation must not be present unless the _anotherfield_ field is equal to any _value_.

<a name="rule-missing-with"></a>
#### missing_with:_foo_,_bar_,...
<a name="rule-missing-with"></a>
#### missing_with:_foo_,_bar_,...

The field under validation must not be present _only if_ any of the other specified fields are present.

<a name="rule-missing-with-all"></a>
#### missing_with_all:_foo_,_bar_,...
<a name="rule-missing-with-all"></a>
#### missing_with_all:_foo_,_bar_,...

The field under validation must not be present _only if_ all of the other specified fields are present.

Expand Down