Skip to content

Commit e2fd506

Browse files
committed
Fix after PHPStan update
Newest version of PHPStan complains about `@return $this`.
1 parent 4dfea61 commit e2fd506

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ private function firstOrLast(?string $key = null, bool $first = true): mixed
890890

891891
/**
892892
* @param string|mixed[] $query
893-
* @return $this
893+
* @return self
894894
* @throws Exception
895895
*/
896896
private function newWithSameSettings(string|array $query): self

0 commit comments

Comments
 (0)