@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | $parsed = parse_url($this->url); |
92 | 92 | $paths = $this->renewArray(explode('/', parse_url($this->url, PHP_URL_PATH))); |
93 | 93 | |
94 | - $this->baseUrl = $parsed['scheme'] . '://' . $parsed['host']; |
|
94 | + $this->baseUrl = $parsed['scheme'].'://'.$parsed['host']; |
|
95 | 95 | $this->category = ''; |
96 | 96 | |
97 | 97 | if (count($paths) === 1) { |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | $lines = array_filter(explode("\n", $body), 'strlen'); |
116 | 116 | $number = 0; |
117 | 117 | |
118 | - return collect(array_map(function ($line) use (&$number) { |
|
118 | + return collect(array_map(function($line) use (&$number) { |
|
119 | 119 | $number++; |
120 | 120 | list($name, $email, $date, $body) = explode('<>', $line); |
121 | 121 | $name = trim(strip_tags($name)); |
@@ -138,7 +138,7 @@ discard block |
||
138 | 138 | { |
139 | 139 | $threads = array_filter(explode("\n", $body), 'strlen'); |
140 | 140 | |
141 | - return collect(array_map(function ($elem) { |
|
141 | + return collect(array_map(function($elem) { |
|
142 | 142 | list($id, $tmp) = explode('.dat<>', $elem); |
143 | 143 | preg_match('/^(.*)\(([0-9]+)\)\z/', $tmp, $matches); |
144 | 144 |