@@ -135,7 +135,7 @@ |
||
135 | 135 | * Initialize from DER data. |
136 | 136 | * |
137 | 137 | * @param string $data |
138 | - * @return self |
|
138 | + * @return PrivateKey |
|
139 | 139 | */ |
140 | 140 | public static function fromDER(string $data): self |
141 | 141 | { |
@@ -37,8 +37,8 @@ |
||
37 | 37 | /** |
38 | 38 | * Constructor. |
39 | 39 | * |
40 | - * @param int|string $n Modulus |
|
41 | - * @param int|string $e Public exponent |
|
40 | + * @param string $n Modulus |
|
41 | + * @param string $e Public exponent |
|
42 | 42 | */ |
43 | 43 | public function __construct($n, $e) |
44 | 44 | { |
@@ -34,8 +34,8 @@ |
||
34 | 34 | /** |
35 | 35 | * Constructor. |
36 | 36 | * |
37 | - * @param int|string $r Signature's <code>r</code> value |
|
38 | - * @param int|string $s Signature's <code>s</code> value |
|
37 | + * @param string $r Signature's <code>r</code> value |
|
38 | + * @param string $s Signature's <code>s</code> value |
|
39 | 39 | */ |
40 | 40 | public function __construct($r, $s) |
41 | 41 | { |