Completed
Push — master ( 6d3504...38d41d )
by Oliver
04:38
created
src/Algorithm/Shamir.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
      * Calculate modulo of any given number using prime
192 192
      *
193 193
      * @param  integer     Number
194
-     * @return integer     Module of number
194
+     * @return string     Module of number
195 195
      */
196 196
     protected function modulo($number)
197 197
     {
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      *
241 241
      * @param  array  $keyX
242 242
      * @param  int    $threshold
243
-     * @return array
243
+     * @return string
244 244
      * @throws RuntimeException
245 245
      */
246 246
     protected function reverseCoefficients(array $keyX, $threshold)
Please login to merge, or discard this patch.
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.