Skip to content

Commit

Permalink
[TASK] Fix new phpstan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessCoder committed Sep 23, 2024
1 parent 1fa7715 commit 8f38874
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,11 @@ public function processCmdmap_postProcess(
if ($relativeTo > 0) {
$destinationPid = $relativeTo;
} else {
$relativeRecord = $this->getSingleRecordWithoutRestrictions($table, (integer) abs($relativeTo), 'pid');
$relativeRecord = $this->getSingleRecordWithoutRestrictions(
$table,
(integer) abs((integer) $relativeTo),
'pid'
);
$destinationPid = $relativeRecord['pid'] ?? $relativeTo;
}

Expand Down

0 comments on commit 8f38874

Please sign in to comment.