diff --git a/.gitignore b/.gitignore index d4cb823..54de472 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ composer.lock vendor .php-cs-fixer.cache .phpunit.result.cache +.phpunit.cache diff --git a/phpunit.xml b/phpunit.xml index fe850a6..dbb0c53 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,16 +1,13 @@ - - - - ./tests - - - - - ./src - - + + + + ./tests + + + + + ./src + + diff --git a/src/Query.php b/src/Query.php index 5e9ac46..e6adc92 100644 --- a/src/Query.php +++ b/src/Query.php @@ -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