Skip to content

Commit 0bb98dc

Browse files
authored
Applied fixes from StyleCI (#16268)
1 parent 2b7ab30 commit 0bb98dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Illuminate/Support/HigherOrderCollectionProxy.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(Collection $collection, $method)
3939
*/
4040
public function __get($key)
4141
{
42-
return $this->collection->{$this->method}(function($value) use ($key) {
42+
return $this->collection->{$this->method}(function ($value) use ($key) {
4343
return $value->{$key};
4444
});
4545
}
@@ -53,7 +53,7 @@ public function __get($key)
5353
*/
5454
public function __call($method, $parameters)
5555
{
56-
return $this->collection->{$this->method}(function($value) use ($method, $parameters) {
56+
return $this->collection->{$this->method}(function ($value) use ($method, $parameters) {
5757
return $value->{$method}(...$parameters);
5858
});
5959
}

tests/Support/SupportCollectionTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,7 @@ public function testHigherOrderCollectionMap()
16591659
class TestSupportCollectionHigherOrderItem
16601660
{
16611661
public $name = 'taylor';
1662+
16621663
public function uppercase()
16631664
{
16641665
$this->name = strtoupper($this->name);

0 commit comments

Comments
 (0)