Browse Source

Correct CS in readme

euromark 11 years ago
parent
commit
0a1b1a123a
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/Collection/README.md
  2. 1 1
      src/Event/README.md
  3. 1 1
      src/Log/README.md

+ 1 - 1
src/Collection/README.md

@@ -15,7 +15,7 @@ $collection = new Collection($items);
 
 // Create a new collection containing elements
 // with a value greater than one.
-$overOne = $collection->filter(function($value, $key, $iterator) {
+$overOne = $collection->filter(function ($value, $key, $iterator) {
     return $value > 1;
 });
 ```

+ 1 - 1
src/Event/README.md

@@ -29,7 +29,7 @@ class Orders {
 }
 
 $orders = new Orders();
-$orders->eventManager()->attach(function($event) {
+$orders->eventManager()->attach(function ($event) {
 	// Do something after the order was placed
 	...
 }, 'Orders.afterPlace');

+ 1 - 1
src/Log/README.md

@@ -35,7 +35,7 @@ Log::config('production', [
 It is also possible to create loggers by providing a closure.
 
 ```php
-Log::config('special', function() {
+Log::config('special', function () {
 	// Return any PSR-3 compatible logger
 	return new MyPSR3CompatibleLogger();
 });