@@ -41,11 +41,11 @@ |
||
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; |
@@ -22,12 +22,12 @@ |
||
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 |