Skip to content

Commit

Permalink
fix: return type
Browse files Browse the repository at this point in the history
  • Loading branch information
yajra committed Aug 31, 2024
1 parent 0e4326f commit 2b3598b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Html/Editor/Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function hiddenOnEdit(array $fields): static
return $this->hiddenOn('edit', $fields);
}

public function __call($method, $parameters): mixed
public function __call($method, $parameters): static
{
if (Str::startsWith($method, 'on')) {
$event = Str::camel(substr($method, 2, strlen($method) - 2));
Expand Down

0 comments on commit 2b3598b

Please sign in to comment.