Skip to content

Commit c82875f

Browse files
committed
refactor(db): remove redundant docblock from fileIdExists method
The method name is self-explanatory, making the docblock comment unnecessary. Signed-off-by: Vitor Mattos <[email protected]>
1 parent ebf107f commit c82875f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Db/FileMapper.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ public function getByFileId(?int $nodeId = null): File {
167167
return $file;
168168
}
169169

170-
/**
171-
* Check if file exists
172-
*/
173170
public function fileIdExists(int $nodeId): bool {
174171
$exists = array_filter($this->file, fn ($f) => $f->getNodeId() === $nodeId || $f->getSignedNodeId() === $nodeId);
175172
if (!empty($exists)) {

0 commit comments

Comments
 (0)