Passed
Push — master ( 4847bb...ef9a9d )
by Antonio Carlos
02:15
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     protected function getAlphaGenerator()
80 80
     {
81
-        return function ($size) {
81
+        return function($size) {
82 82
             return random_bytes($size);
83 83
         };
84 84
     }
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      */
91 91
     protected function getNumericGenerator()
92 92
     {
93
-        return function () {
93
+        return function() {
94 94
             return random_int(0, PHP_INT_MAX);
95 95
         };
96 96
     }
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.