Passed
Push — master ( 5ad2cb...35956d )
by Antonio Carlos
03:45
created
src/Generators.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     protected function generate()
15 15
     {
16
-        if (! is_null($this->fakerString)) {
16
+        if (!is_null($this->fakerString)) {
17 17
             return $this->fakerString;
18 18
         }
19 19
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     protected function getAlphaGenerator()
72 72
     {
73
-        return function ($size) {
73
+        return function($size) {
74 74
             return random_bytes($size);
75 75
         };
76 76
     }
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     protected function getNumericGenerator()
84 84
     {
85
-        return function () {
85
+        return function() {
86 86
             return random_int(0, PHP_INT_MAX);
87 87
         };
88 88
     }
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $result = [];
108 108
 
109
-        $last = count($this->items)-1;
109
+        $last = count($this->items) - 1;
110 110
 
111 111
         foreach (range(1, $this->count) as $counter) {
112 112
             $result[] = $this->items[$this->generateRandomInt(0, $last)];
Please login to merge, or discard this patch.