Completed
Push — master ( 9159fd...a2f733 )
by Oliver
08:55
created
src/Console/ShareCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             if ($file !== null) {
73 73
                 # check for secret in file
74 74
                 if (!is_readable($file)) {
75
-                    $output->writeln('<error>ERROR: file "' . $file . '" is not readable.');
75
+                    $output->writeln('<error>ERROR: file "'.$file.'" is not readable.');
76 76
                     exit(1);
77 77
                 }
78 78
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
                 '<question>Number of shared secrets to create</question> <comment>[3]</comment>: ', 3
96 96
             );
97 97
             $question->setValidator(
98
-                static function ($a) {
98
+                static function($a) {
99 99
                     if (!is_int($a) && !ctype_digit($a)) {
100 100
                         throw new UnexpectedValueException('The number of shared secrets must be an integer');
101 101
                     }
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
                 '<question>Number of shared secrets required</question> <comment>[2]</comment>: ', 2
110 110
             );
111 111
             $question->setValidator(
112
-                function ($a) {
112
+                function($a) {
113 113
                     if (!is_int($a) && !ctype_digit($a)) {
114 114
                         throw new UnexpectedValueException('The number of shared secrets required must be an integer');
115 115
                     }
Please login to merge, or discard this patch.
src/Random/PhpGenerator.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
      */
34 34
     public function __construct($max = PHP_INT_MAX, $min = 1)
35 35
     {
36
-        if((int)$min < 1) {
36
+        if ((int)$min < 1) {
37 37
             throw new \OutOfRangeException('The min number must be a positive integer.');
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/Random/OpenSslGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      */
36 36
     public function __construct($bytes = PHP_INT_SIZE, $forceStrong = true)
37 37
     {
38
-        if((int)$bytes < 1) {
38
+        if ((int)$bytes < 1) {
39 39
             throw new \OutOfRangeException('The length of the desired string of bytes. Must be a positive integer.');
40 40
         }
41 41
 
Please login to merge, or discard this patch.