Completed
Push — master ( 1796d9...540fa6 )
by Oliver
15:02
created
src/Console/ShareCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
                 '<question>Number of shared secrets to create</question> <comment>[3]</comment>: ', 3
63 63
             );
64 64
             $question->setValidator(
65
-                static function ($a) {
65
+                static function($a) {
66 66
                     if (!is_int($a) && !ctype_digit($a)) {
67 67
                         throw new UnexpectedValueException('The number of shared secrets must be an integer');
68 68
                     }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
                 '<question>Number of shared secrets required</question> <comment>[2]</comment>: ', 2
77 77
             );
78 78
             $question->setValidator(
79
-                function ($a) {
79
+                function($a) {
80 80
                     if (!is_int($a) && !ctype_digit($a)) {
81 81
                         throw new UnexpectedValueException('The number of shared secrets required must be an integer');
82 82
                     }
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.