From c3b30a1ee8fd0158cb24cfb98a1754e7e2e799ea Mon Sep 17 00:00:00 2001 From: Quentin Roques Date: Sun, 23 Jun 2024 10:50:58 +1100 Subject: [PATCH] fix: hash constructor (#13) --- src/Hash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hash.php b/src/Hash.php index 2013f31..ede08e5 100644 --- a/src/Hash.php +++ b/src/Hash.php @@ -9,7 +9,7 @@ */ readonly class Hash implements \Stringable, Comparable { - private function __construct(public string $hash) {} + public function __construct(public string $hash) {} public function __toString(): string {