Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fogelito committed Aug 21, 2024
1 parent a048124 commit 8188a69
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -4320,7 +4320,7 @@ public function increaseDocumentAttribute(string $collection, string $id, string
/* @var $document Document */
$document = Authorization::skip(fn () => $this->silent(fn () => $this->getDocument($collection, $id))); // Skip ensures user does not need read permission for this

if($document->isEmpty()){
if($document->isEmpty()) {
return false;
}

Expand Down Expand Up @@ -4415,7 +4415,7 @@ public function decreaseDocumentAttribute(string $collection, string $id, string
/* @var $document Document */
$document = Authorization::skip(fn () => $this->silent(fn () => $this->getDocument($collection, $id))); // Skip ensures user does not need read permission for this

if($document->isEmpty()){
if($document->isEmpty()) {
return false;
}

Expand Down Expand Up @@ -4510,7 +4510,7 @@ public function deleteDocument(string $collection, string $id): bool
$this->getDocument($collection->getId(), $id, forUpdate: true)
));

if($document->isEmpty()){
if($document->isEmpty()) {
return false;
}

Expand Down

0 comments on commit 8188a69

Please sign in to comment.