Fixing Code Standards violations
authorThomas Ploch <thomas.ploch@flixbus.com>
Wed, 13 Dec 2017 17:42:12 +0000 (18:42 +0100)
committerThomas Ploch <thomas.ploch@flixbus.com>
Wed, 13 Dec 2017 17:42:12 +0000 (18:42 +0100)
src/Primitive/Listt.php

index cbadbbb..22e3fa8 100644 (file)
@@ -172,12 +172,14 @@ class Listt implements
      *
      * @throws \BadMethodCallException
      */
-    public function tail(): Listt
+    public function tail(): self
     {
         ($generator = $this->guardEmptyGenerator('tail of empty Listt'))->next();
 
         return $generator->valid()
-            ? self::of((function ($values) { yield from $values; })($generator))
+            ? self::of((function ($values) {
+                yield from $values;
+            })($generator))
             : self::mempty();
     }