Completed
Push — master ( d71c43...7446f7 )
by Antonio Carlos
04:18
created
src/Generators.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Get the alpha generator.
48 48
      *
49
-     * @return mixed
49
+     * @return \Closure
50 50
      */
51 51
     protected function getAlphaGenerator()
52 52
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Get the alpha generator.
60 60
      *
61
-     * @return mixed
61
+     * @return \Closure
62 62
      */
63 63
     protected function getNumericGenerator()
64 64
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     protected function generate()
13 13
     {
14
-        if (! is_null($this->fakerString)) {
14
+        if (!is_null($this->fakerString)) {
15 15
             return $this->fakerString;
16 16
         }
17 17
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function getAlphaGenerator()
56 56
     {
57
-        return function ($size) {
57
+        return function($size) {
58 58
             return random_bytes($size);
59 59
         };
60 60
     }
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      */
67 67
     protected function getNumericGenerator()
68 68
     {
69
-        return function () {
69
+        return function() {
70 70
             return random_int(0, PHP_INT_MAX);
71 71
         };
72 72
     }
Please login to merge, or discard this patch.
src/Random.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     private function addPrefixSuffix($value)
34 34
     {
35 35
         if (!is_null($this->prefix) || !is_null($this->suffix)) {
36
-            return (string) $this->prefix . $value . (string) $this->suffix;
36
+            return (string) $this->prefix.$value.(string) $this->suffix;
37 37
         }
38 38
 
39 39
         return $value;
Please login to merge, or discard this patch.