Skip to content

Commit

Permalink
PHP 8.1 minimum version readiness
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 10, 2023
1 parent 99e02dd commit d5bde4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GDAO/Model/CollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function deleteAll(): bool|array;
* element key, and the value is the column value for that
* element.
*/
public function getColVals($col): array;
public function getColVals(string $col): array;

/**
* Returns all the keys for this collection.
Expand Down Expand Up @@ -125,7 +125,7 @@ public function removeAll(): static;
*
* @throws \PDOException
*/
public function saveAll($group_inserts_together=false): bool|array;
public function saveAll(bool $group_inserts_together=false): bool|array;

/**
* Injects the model from which the data originates.
Expand Down

0 comments on commit d5bde4a

Please sign in to comment.