File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ $collection = new Collection($items);
15
15
16
16
// Create a new collection containing elements
17
17
// with a value greater than one.
18
- $overOne = $collection->filter(function($value, $key, $iterator) {
18
+ $overOne = $collection->filter(function ($value, $key, $iterator) {
19
19
return $value > 1;
20
20
});
21
21
```
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Orders {
29
29
}
30
30
31
31
$orders = new Orders();
32
- $orders->eventManager()->attach(function($event) {
32
+ $orders->eventManager()->attach(function ($event) {
33
33
// Do something after the order was placed
34
34
...
35
35
}, 'Orders.afterPlace');
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Log::config('production', [
35
35
It is also possible to create loggers by providing a closure.
36
36
37
37
``` php
38
- Log::config('special', function() {
38
+ Log::config('special', function () {
39
39
// Return any PSR-3 compatible logger
40
40
return new MyPSR3CompatibleLogger();
41
41
});
You can’t perform that action at this time.
0 commit comments