Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 5, 2023
1 parent a49ba32 commit 84be527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Listener/ViewListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,9 @@ protected function _associations(array $whitelist = []): array
*
* If no value can be found, NULL is returned
*
* @return array|string
* @return array|string|int|null
*/
protected function _primaryKeyValue(): array|string
protected function _primaryKeyValue(): array|string|int|null
{
$fields = (array)$this->_model()->getPrimaryKey();
$values = [];
Expand Down

0 comments on commit 84be527

Please sign in to comment.