Skip to content

Commit

Permalink
Use class name instead of keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed May 22, 2024
1 parent 4939b2e commit 0f9107a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Content/VersionId.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ public static function default(ModelWithContent $model): static
/**
* Creates a VersionId instance from a simple string value
*/
public static function from(self|string $value): static
public static function from(VersionId|string $value): static
{
if ($value instanceof static) {
if ($value instanceof VersionId) {
return $value;
}

Expand Down

0 comments on commit 0f9107a

Please sign in to comment.