Completed
Push — master ( 6cec72...daf08a )
by Antonio Carlos
01:41
created
src/Generators/StringGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Generators/AlphaGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Generators/ArrayGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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)];
Please login to merge, or discard this patch.
src/Random.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.