From 9c0e9279a0bf377916abd48fe9c9ad435e72bc7c Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Fri, 17 Jan 2025 20:47:06 -0300 Subject: [PATCH] chore: remove unecessary change at var value Signed-off-by: Vitor Mattos --- lib/Helper/ValidateHelper.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Helper/ValidateHelper.php b/lib/Helper/ValidateHelper.php index b3e605ccd..053c8352d 100644 --- a/lib/Helper/ValidateHelper.php +++ b/lib/Helper/ValidateHelper.php @@ -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)])); }