@@ -16,9 +16,9 @@ |
||
16 | 16 | public string $parentFingerprint; |
17 | 17 | public int $childNumber; |
18 | 18 | public string $chainCode; |
19 | - public PrivateKey|S256Point $key; |
|
19 | + public PrivateKey | S256Point $key; |
|
20 | 20 | |
21 | - public function __construct(Version $version, int $depth, string $parentFingerprint, int $childNumber, string $chainCode, PrivateKey|S256Point $key) |
|
21 | + public function __construct(Version $version, int $depth, string $parentFingerprint, int $childNumber, string $chainCode, PrivateKey | S256Point $key) |
|
22 | 22 | { |
23 | 23 | if (0 === $depth && '00000000' !== $parentFingerprint) { |
24 | 24 | throw new \InvalidArgumentException('An extended key of depth 0 cannot have a parent fingerprint'); |