Skip to content

Commit

Permalink
Fixed method typing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Mar 22, 2024
1 parent 7ad7b6c commit e505e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Data/Casts/ChangelogCast.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ChangelogCast implements Cast

protected array $tagsTo = ['b', '', '', '- ', ''];

public function cast(DataProperty $property, mixed $value, array $properties, CreationContext $context): mixed
public function cast(DataProperty $property, mixed $value, array $properties, CreationContext $context): string
{
return Str::of($value)
->limit($this->limit())
Expand Down

0 comments on commit e505e93

Please sign in to comment.