Skip to content

Commit

Permalink
Added the typecast to avoid a potential error for the old data table.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanbaidan committed Oct 17, 2024
1 parent 7918717 commit d4514e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/ClientModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ClientModel

public function getModelId(): int
{
return $this->modelId;
return (int)$this->modelId;
}

public function setModelId(int $modelId): self
Expand Down

0 comments on commit d4514e5

Please sign in to comment.