@@ -48,9 +48,9 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function map(Closure $callback) |
50 | 50 | { |
51 | - $segments = glob($this->path . '/' . $this->segmentName); |
|
51 | + $segments = glob($this->path.'/'.$this->segmentName); |
|
52 | 52 | while (($segment = array_shift($segments))) { |
53 | - $dictionary = (array)include $segment; |
|
53 | + $dictionary = (array) include $segment; |
|
54 | 54 | $callback($dictionary); |
55 | 55 | } |
56 | 56 | } |
@@ -62,10 +62,10 @@ discard block |
||
62 | 62 | */ |
63 | 63 | public function mapSurname(Closure $callback) |
64 | 64 | { |
65 | - $surnames = $this->path . '/surnames'; |
|
65 | + $surnames = $this->path.'/surnames'; |
|
66 | 66 | |
67 | 67 | if (file_exists($surnames)) { |
68 | - $dictionary = (array)include $surnames; |
|
68 | + $dictionary = (array) include $surnames; |
|
69 | 69 | $callback($dictionary); |
70 | 70 | } |
71 | 71 | } |
@@ -47,11 +47,11 @@ |
||
47 | 47 | */ |
48 | 48 | public function __construct($path) |
49 | 49 | { |
50 | - $segments = glob($path . '/' . $this->segmentName); |
|
50 | + $segments = glob($path.'/'.$this->segmentName); |
|
51 | 51 | while (($segment = array_shift($segments))) { |
52 | 52 | array_push(static::$handles, $this->openFile($segment)); |
53 | 53 | } |
54 | - static::$surnamesHandle = $this->openFile($path . '/surnames'); |
|
54 | + static::$surnamesHandle = $this->openFile($path.'/surnames'); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -46,13 +46,13 @@ |
||
46 | 46 | */ |
47 | 47 | public function __construct($path) |
48 | 48 | { |
49 | - $segments = glob($path . '/' . $this->segmentName); |
|
49 | + $segments = glob($path.'/'.$this->segmentName); |
|
50 | 50 | while (($segment = array_shift($segments))) { |
51 | - $this->segments[] = (array)include $segment; |
|
51 | + $this->segments[] = (array) include $segment; |
|
52 | 52 | } |
53 | - $surnames = $path . '/surnames'; |
|
53 | + $surnames = $path.'/surnames'; |
|
54 | 54 | if (file_exists($surnames)) { |
55 | - $this->surnames = (array)include $surnames; |
|
55 | + $this->surnames = (array) include $surnames; |
|
56 | 56 | } |
57 | 57 | } |
58 | 58 |