Browse Source

Another PSR-2 d'oh

José Lorenzo Rodríguez 11 years ago
parent
commit
5b658bdd56
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Collection/CollectionTrait.php

+ 2 - 1
src/Collection/CollectionTrait.php

@@ -525,7 +525,8 @@ trait CollectionTrait
      * {@inheritDoc}
      *
      */
-    public function through(callable $handler) {
+    public function through(callable $handler) 
+    {
         $result = $handler($this);
         return $result instanceof CollectionInterface ? $result: new Collection($result);
     }