Skip to content

Commit

Permalink
PHPStan issue when the return type of Field::value is self (#2898)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilampropoulos authored Sep 26, 2024
1 parent b66770d commit 5632358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Screen/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function __call(string $method, array $parameters)
*
* @param mixed $value The value to be set for the 'value' attribute.
*/
public function value(mixed $value): self
public function value(mixed $value): static
{
return $this->set('value', $value);
}
Expand Down

0 comments on commit 5632358

Please sign in to comment.