diff --git a/phpunit.xml b/phpunit.xml index 0b8b695..113b00b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,9 +1,6 @@ - + - - ./src - @@ -17,4 +14,9 @@ + + + ./src + + diff --git a/src/GDAO/Model/RecordInterface.php b/src/GDAO/Model/RecordInterface.php index bd1a695..4842bbe 100644 --- a/src/GDAO/Model/RecordInterface.php +++ b/src/GDAO/Model/RecordInterface.php @@ -172,7 +172,7 @@ public function &getNonTableColAndNonRelatedDataByRef(): array; * * @return $this */ - public function setRelatedData($key, array|RecordInterface|CollectionInterface $value): static; + public function setRelatedData(string $key, array|RecordInterface|CollectionInterface $value): static; /** * Get the model object that saves and reads data to and from the db on behalf of this record