@@ -22,9 +22,9 @@ |
||
22 | 22 | public string $parentFingerprint; |
23 | 23 | public int $childNumber; |
24 | 24 | public string $chainCode; |
25 | - public PrivateKey|PublicKey $key; |
|
25 | + public PrivateKey | PublicKey $key; |
|
26 | 26 | |
27 | - public function __construct(Version $version, int $depth, string $parentFingerprint, int $childNumber, string $chainCode, PrivateKey|PublicKey $key) |
|
27 | + public function __construct(Version $version, int $depth, string $parentFingerprint, int $childNumber, string $chainCode, PrivateKey | PublicKey $key) |
|
28 | 28 | { |
29 | 29 | if (0 === $depth && self::MASTER_FINGERPRINT !== $parentFingerprint) { |
30 | 30 | throw new \InvalidArgumentException('An extended key of depth 0 cannot have a parent fingerprint'); |