mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
refactor(db): remove redundant docblock from fileIdExists method
The method name is self-explanatory, making the docblock comment unnecessary. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
ebf107f22b
commit
c82875fcfc
1 changed files with 0 additions and 3 deletions
|
|
@ -167,9 +167,6 @@ class FileMapper extends QBMapper {
|
|||
return $file;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if file exists
|
||||
*/
|
||||
public function fileIdExists(int $nodeId): bool {
|
||||
$exists = array_filter($this->file, fn ($f) => $f->getNodeId() === $nodeId || $f->getSignedNodeId() === $nodeId);
|
||||
if (!empty($exists)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue