Skip to content

Commit

Permalink
fix: Avoid warning on file id explode
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <[email protected]>
  • Loading branch information
juliusknorr committed Feb 5, 2025
1 parent 149e43f commit e170b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static function parseFileId(string $fileId) {
}

if (str_contains($fileId, '-')) {
[$fileId, $templateId] = explode('/', $fileId);
[$fileId, $templateId] = array_pad(explode('/', $fileId), 2, null);
}

return [
Expand Down

0 comments on commit e170b53

Please sign in to comment.