@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | protected function getAlphaGenerator() |
30 | 30 | { |
31 | - return function ($size) { |
|
31 | + return function($size) { |
|
32 | 32 | return random_bytes($size); |
33 | 33 | }; |
34 | 34 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | protected function getNumericGenerator() |
23 | 23 | { |
24 | - return function () { |
|
24 | + return function() { |
|
25 | 25 | return random_int(0, PHP_INT_MAX); |
26 | 26 | }; |
27 | 27 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | { |
33 | 33 | $result = []; |
34 | 34 | |
35 | - $last = count($this->items)-1; |
|
35 | + $last = count($this->items) - 1; |
|
36 | 36 | |
37 | 37 | for ($counter = 1; $counter <= $this->count; $counter++) { |
38 | 38 | $result[] = $this->items[$this->generateRandomInt(0, $last)]; |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | private function addPrefixSuffix($value) |
41 | 41 | { |
42 | 42 | if (!is_null($this->prefix) || !is_null($this->suffix)) { |
43 | - return (string) $this->prefix . $value . (string) $this->suffix; |
|
43 | + return (string) $this->prefix.$value.(string) $this->suffix; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | return $value; |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | protected function generate() |
55 | 55 | { |
56 | - if (! is_null($this->fakerString)) { |
|
56 | + if (!is_null($this->fakerString)) { |
|
57 | 57 | return $this->fakerString; |
58 | 58 | } |
59 | 59 |