@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | * Calculate modulo of any given number using prime |
191 | 191 | * |
192 | 192 | * @param integer Number |
193 | - * @return integer Module of number |
|
193 | + * @return string Module of number |
|
194 | 194 | */ |
195 | 195 | protected function modulo($number) |
196 | 196 | { |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | * Calculates the inverse modulo |
224 | 224 | * |
225 | 225 | * @param int $number |
226 | - * @return int |
|
226 | + * @return string |
|
227 | 227 | */ |
228 | 228 | protected function inverseModulo($number) |
229 | 229 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | * |
240 | 240 | * @param array $keyX |
241 | 241 | * @param int $threshold |
242 | - * @return array |
|
242 | + * @return string |
|
243 | 243 | * @throws \RuntimeException |
244 | 244 | */ |
245 | 245 | protected function reverseCoefficients(array $keyX, $threshold) |