Skip to content

Commit

Permalink
PHP 8.1 tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 9, 2023
1 parent e40665a commit 5e455a2
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 @@ -170,13 +170,13 @@ public function __set($key, \GDAO\Model\RecordInterface $val): void;
* of \GDAO\Model\RecordInterface else throw a
* \GDAO\Model\CollectionCanOnlyContainGDAORecordsException exception.
*
* @param string $key The requested key.
* @param mixed $key The requested key.
*
* @param \GDAO\Model\RecordInterface $val The value to set it to.
*
* @throws \GDAO\Model\CollectionCanOnlyContainGDAORecordsException
*/
public function offsetSet($key, \GDAO\Model\RecordInterface $val): void;
public function offsetSet(mixed $key, mixed $val): void;

/**
* Returns a string representation of an instance of this class.
Expand Down

0 comments on commit 5e455a2

Please sign in to comment.