Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdorn committed Sep 13, 2022
1 parent e677da1 commit 4f4261c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public function __construct(protected Theme $theme)
{
}

/** @param Theme|class-string $theme */
/** @param Theme|class-string<Theme> $theme */
public static function from(Theme|string $theme): self
{
return new self(is_string($theme) ? new $theme() : $theme);
Expand Down

0 comments on commit 4f4261c

Please sign in to comment.