Skip to content

Commit

Permalink
Rmoeve unnecessary int cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet committed Dec 20, 2023
1 parent 7e17eee commit 6d4ae51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ public function removeFromDatabase(Connection $databaseConnection, string $table
}

/**
* @param array<string,string> $databaseRow
* @param array<string,mixed> $databaseRow
* @throws \Exception
*/
public static function fromDatabaseRow(array $databaseRow): self
{
return new self(
NodeRelationAnchorPoint::fromInteger((int)$databaseRow['relationanchorpoint']),
NodeRelationAnchorPoint::fromInteger($databaseRow['relationanchorpoint']),
NodeAggregateId::fromString($databaseRow['nodeaggregateid']),
json_decode($databaseRow['origindimensionspacepoint'], true),
$databaseRow['origindimensionspacepointhash'],
Expand Down

0 comments on commit 6d4ae51

Please sign in to comment.