Skip to content

Commit

Permalink
Fix after PHPStan update
Browse files Browse the repository at this point in the history
Newest version of PHPStan complains about `@return $this`.
  • Loading branch information
otsch committed Nov 6, 2024
1 parent 4dfea61 commit e2fd506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ private function firstOrLast(?string $key = null, bool $first = true): mixed

/**
* @param string|mixed[] $query
* @return $this
* @return self
* @throws Exception
*/
private function newWithSameSettings(string|array $query): self
Expand Down

0 comments on commit e2fd506

Please sign in to comment.