Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
dmolineus committed Sep 20, 2022
1 parent 80cda9b commit cc8f70f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DCA/RelationsDCABuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ protected function inputFieldCallback(

protected function extractAggregateKey(DataContainer $dataContainer): string
{
return $dataContainer->activeRecord->{$this->config->getAggregateFieldName()};
return (string) $dataContainer->activeRecord->{$this->config->getAggregateFieldName()};
}

protected function getGroupTitle(string $aggregate): string
Expand Down

0 comments on commit cc8f70f

Please sign in to comment.