Completed
Push — master ( 4cadd3...1796d9 )
by Oliver
11:20
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/Algorithm/Shamir.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
      *
242 242
      * @param  array  $keyX
243 243
      * @param  int    $threshold
244
-     * @return array
244
+     * @return string
245 245
      * @throws RuntimeException
246 246
      */
247 247
     protected function reverseCoefficients(array $keyX, int $threshold): array
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
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function __construct(int $bytes = PHP_INT_SIZE, bool $forceStrong = true)
38 38
     {
39
-        if($bytes < 1) {
39
+        if ($bytes < 1) {
40 40
             throw new OutOfRangeException('The length of the desired string of bytes. Must be a positive integer.');
41 41
         }
42 42
 
Please login to merge, or discard this patch.