Skip to content

Commit 05b66c1

Browse files
committed
Fix phpdoc and parameter name
1 parent c31d5c2 commit 05b66c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/GenericModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ public static function query(Query $query): QueryResult
511511
* @param array|null $fields
512512
* @param array|int|Limit|null $limit
513513
* @param array|GroupField[]|string[]|null $group
514-
* @param bool $saveResults Whether results of this query should be saved in the model registry.
514+
* @param bool $saveResultsToRegistry Whether results of this query should be saved in the model registry.
515515
* @return QueryResult<static>|static[]
516516
* @noinspection PhpDocSignatureInspection
517517
*/

src/Query/SelectQuery.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ public function getGroup(): ?array
103103
/**
104104
* Set whether results of this query should be saved in the model registry
105105
*
106-
* @param bool $saveResults
106+
* @param bool $saveResultsToRegistry
107107
* @return $this
108108
*/
109-
public function saveResultsToRegistry(bool $saveResults = true): static
109+
public function saveResultsToRegistry(bool $saveResultsToRegistry = true): static
110110
{
111-
$this->saveResultsToRegistry = $saveResults;
111+
$this->saveResultsToRegistry = $saveResultsToRegistry;
112112
return $this;
113113
}
114114

0 commit comments

Comments
 (0)