Skip to content

Commit

Permalink
Change Return Type for attributes() to static (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Jul 1, 2024
1 parent 52ad60b commit ce95a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/Traits/Core/HasAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ trait HasAttributes
{
protected ?Closure $attributesCallback = null;

public function attributes(Closure $callback): self
public function attributes(Closure $callback): static
{
$this->attributesCallback = $callback;

Expand Down

0 comments on commit ce95a70

Please sign in to comment.