Skip to content

Commit

Permalink
chore: remove unecessary change at var value
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos committed Jan 17, 2025
1 parent cf428ca commit 9c0e927
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Helper/ValidateHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ public function validateIfNodeIdExists(int $nodeId, int $type = self::TYPE_TO_SI
}
try {
$file = $this->root->getById($nodeId);
$file = $file[0] ?? null;
} catch (\Throwable $th) {
throw new LibresignException($this->l10n->t('File type: %s. Invalid fileID.', [$this->getTypeOfFile($type)]));
}
Expand Down

0 comments on commit 9c0e927

Please sign in to comment.