@@ -56,10 +56,10 @@ discard block |
||
| 56 | 56 | $this->path = $path; |
| 57 | 57 | |
| 58 | 58 | for ($i = 0; $i < 100; ++$i) { |
| 59 | - $segment = $path . '/' . sprintf($this->segmentName, $i); |
|
| 59 | + $segment = $path.'/'.sprintf($this->segmentName, $i); |
|
| 60 | 60 | |
| 61 | 61 | if (file_exists($segment)) { |
| 62 | - $this->segments[] = (array)include $segment; |
|
| 62 | + $this->segments[] = (array) include $segment; |
|
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | } |
@@ -84,10 +84,10 @@ discard block |
||
| 84 | 84 | public function mapSurname(Closure $callback) |
| 85 | 85 | { |
| 86 | 86 | if (empty($this->surnames)) { |
| 87 | - $surnames = $this->path . '/surnames'; |
|
| 87 | + $surnames = $this->path.'/surnames'; |
|
| 88 | 88 | |
| 89 | 89 | if (file_exists($surnames)) { |
| 90 | - $this->surnames = (array)include $surnames; |
|
| 90 | + $this->surnames = (array) include $surnames; |
|
| 91 | 91 | } |
| 92 | 92 | } |
| 93 | 93 | |
@@ -49,10 +49,10 @@ discard block |
||
| 49 | 49 | public function map(Closure $callback) |
| 50 | 50 | { |
| 51 | 51 | for ($i = 0; $i < 100; ++$i) { |
| 52 | - $segment = $this->path . '/' . sprintf($this->segmentName, $i); |
|
| 52 | + $segment = $this->path.'/'.sprintf($this->segmentName, $i); |
|
| 53 | 53 | |
| 54 | 54 | if (file_exists($segment)) { |
| 55 | - $dictionary = (array)include $segment; |
|
| 55 | + $dictionary = (array) include $segment; |
|
| 56 | 56 | $callback($dictionary); |
| 57 | 57 | } |
| 58 | 58 | } |
@@ -65,10 +65,10 @@ discard block |
||
| 65 | 65 | */ |
| 66 | 66 | public function mapSurname(Closure $callback) |
| 67 | 67 | { |
| 68 | - $surnames = $this->path . '/surnames'; |
|
| 68 | + $surnames = $this->path.'/surnames'; |
|
| 69 | 69 | |
| 70 | 70 | if (file_exists($surnames)) { |
| 71 | - $dictionary = (array)include $surnames; |
|
| 71 | + $dictionary = (array) include $surnames; |
|
| 72 | 72 | $callback($dictionary); |
| 73 | 73 | } |
| 74 | 74 | } |