Skip to content

Commit d935b65

Browse files
authored
Tiny typos (#40782)
1 parent 5164e0e commit d935b65

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

tests/Http/Middleware/TrustProxiesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function test_does_trust_trusted_proxy()
5353

5454
/**
5555
* Test the next most typical usage of TrustedProxies:
56-
* Trusted X-Forwarded-For header, wilcard for TrustedProxies.
56+
* Trusted X-Forwarded-For header, wildcard for TrustedProxies.
5757
*/
5858
public function test_trusted_proxy_sets_trusted_proxies_with_wildcard()
5959
{
@@ -67,7 +67,7 @@ public function test_trusted_proxy_sets_trusted_proxies_with_wildcard()
6767

6868
/**
6969
* Test the next most typical usage of TrustedProxies:
70-
* Trusted X-Forwarded-For header, wilcard for TrustedProxies.
70+
* Trusted X-Forwarded-For header, wildcard for TrustedProxies.
7171
*/
7272
public function test_trusted_proxy_sets_trusted_proxies_with_double_wildcard_for_backwards_compat()
7373
{

tests/Support/SupportCollectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ public function testDiffCollection($collection)
13591359
public function testDiffUsingWithCollection($collection)
13601360
{
13611361
$c = new $collection(['en_GB', 'fr', 'HR']);
1362-
// demonstrate that diffKeys wont support case insensitivity
1362+
// demonstrate that diffKeys won't support case insensitivity
13631363
$this->assertEquals(['en_GB', 'fr', 'HR'], $c->diff(new $collection(['en_gb', 'hr']))->values()->toArray());
13641364
// allow for case insensitive difference
13651365
$this->assertEquals(['fr'], $c->diffUsing(new $collection(['en_gb', 'hr']), 'strcasecmp')->values()->toArray());
@@ -1400,7 +1400,7 @@ public function testDiffKeysUsing($collection)
14001400
{
14011401
$c1 = new $collection(['id' => 1, 'first_word' => 'Hello']);
14021402
$c2 = new $collection(['ID' => 123, 'foo_bar' => 'Hello']);
1403-
// demonstrate that diffKeys wont support case insensitivity
1403+
// demonstrate that diffKeys won't support case insensitivity
14041404
$this->assertEquals(['id' => 1, 'first_word' => 'Hello'], $c1->diffKeys($c2)->all());
14051405
// allow for case insensitive difference
14061406
$this->assertEquals(['first_word' => 'Hello'], $c1->diffKeysUsing($c2, 'strcasecmp')->all());

tests/Validation/ValidationValidatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6672,7 +6672,7 @@ public function providesFailingExcludeIfData()
66726672
['type' => 'boat', 'wheels' => 'should be excluded'],
66736673
],
66746674
], [
6675-
// The blue wheels are excluded and are therefor not validated against the "in:square,round" rule
6675+
// The blue wheels are excluded and are therefore not validated against the "in:square,round" rule
66766676
'vehicles.0.wheels.2.shape' => ['validation.in'],
66776677
],
66786678
],

types/Support/LazyCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,8 @@
706706
return true;
707707
}));
708708

709-
assertType('Illuminate\Support\LazyCollection<int, User>', $collection->tap(function ($colection) {
710-
assertType('Illuminate\Support\LazyCollection<int, User>', $colection);
709+
assertType('Illuminate\Support\LazyCollection<int, User>', $collection->tap(function ($collection) {
710+
assertType('Illuminate\Support\LazyCollection<int, User>', $collection);
711711
}));
712712

713713
assertType('Illuminate\Support\LazyCollection<int, int>', $collection->pipe(function ($collection) {

0 commit comments

Comments
 (0)