Skip to content

Commit

Permalink
Update Onceable constructor signature
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Feb 29, 2024
1 parent a7f42d1 commit 9a6676b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Onceable.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Onceable
*/
public function __construct(
public string $hash,
public object|null $object,
public ?object $object,
public $callable
) {
}
Expand Down

0 comments on commit 9a6676b

Please sign in to comment.