Passed
Push — master ( f1ae62...d4b34d )
by herry
11:49
created
src/Loaders/File.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Loaders/GeneratorFile.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Loaders/MemoryFile.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,13 +46,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.