Test Failed
Push — master ( 3a3652...184b95 )
by 世昌
02:06
created
nebula/route/collection/ReadLineIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
             while (!feof($fp)) {
42 42
                 fseek($fp, $offset);
43 43
                 $content = fread($fp, $this->bufferSize);
44
-                $content.=(feof($fp))? "\n":'';
44
+                $content .= (feof($fp)) ? "\n" : '';
45 45
                 $size = strpos($content, "\n");
46 46
                 $offset += $size;
47 47
                 if ($content[$size - 1] === "\r") {
48
-                    $content = substr($content, 0, $size -1);
48
+                    $content = substr($content, 0, $size - 1);
49 49
                 }
50 50
                 if (is_null($this->offset)) {
51 51
                     yield $content;
Please login to merge, or discard this patch.
nebula/route/RouteCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,12 +22,12 @@
 block discarded – undo
22 22
      *
23 23
      * @param RouteMatcher[] $collection
24 24
      */
25
-    public function __construct(array $collection=[])
25
+    public function __construct(array $collection = [])
26 26
     {
27 27
         $this->collection = $collection;
28 28
     }
29 29
 
30
-    public function merge(array $collection=[]) {
30
+    public function merge(array $collection = []) {
31 31
         $this->collection = $collection;
32 32
     }
33 33
 
Please login to merge, or discard this patch.