@@ -224,7 +224,7 @@ discard block |
||
| 224 | 224 | * Calculate modulo of any given number using prime |
| 225 | 225 | * |
| 226 | 226 | * @param integer Number |
| 227 | - * @return integer Module of number |
|
| 227 | + * @return string Module of number |
|
| 228 | 228 | */ |
| 229 | 229 | protected function modulo( $number ) { |
| 230 | 230 | |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | * Calculates the inverse modulo |
| 259 | 259 | * |
| 260 | 260 | * @param int $number |
| 261 | - * @return int |
|
| 261 | + * @return string |
|
| 262 | 262 | */ |
| 263 | 263 | protected function inverseModulo( $number ) { |
| 264 | 264 | |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | * |
| 276 | 276 | * @param array $keyX |
| 277 | 277 | * @param int $threshold |
| 278 | - * @return array |
|
| 278 | + * @return string |
|
| 279 | 279 | * @throws \RuntimeException |
| 280 | 280 | */ |
| 281 | 281 | protected function reverseCoefficients( array $keyX, $threshold ) { |