Skip to content

Commit 0a1b1a1

Browse files
author
euromark
committed
Correct CS in readme
1 parent 5444658 commit 0a1b1a1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Collection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $collection = new Collection($items);
1515

1616
// Create a new collection containing elements
1717
// with a value greater than one.
18-
$overOne = $collection->filter(function($value, $key, $iterator) {
18+
$overOne = $collection->filter(function ($value, $key, $iterator) {
1919
return $value > 1;
2020
});
2121
```

src/Event/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Orders {
2929
}
3030

3131
$orders = new Orders();
32-
$orders->eventManager()->attach(function($event) {
32+
$orders->eventManager()->attach(function ($event) {
3333
// Do something after the order was placed
3434
...
3535
}, 'Orders.afterPlace');

src/Log/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Log::config('production', [
3535
It is also possible to create loggers by providing a closure.
3636

3737
```php
38-
Log::config('special', function() {
38+
Log::config('special', function () {
3939
// Return any PSR-3 compatible logger
4040
return new MyPSR3CompatibleLogger();
4141
});

0 commit comments

Comments
 (0)