Skip to content

Commit 57f0432

Browse files
committed
Fixed typo in attachmentrepository
1 parent fb535ec commit 57f0432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Repository/AttachmentRepository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getPrivateAttachmentsCount(): int
6666
}
6767

6868
/**
69-
* Gets the count of all external attachments (attachments containing an external path).
69+
* Gets the count of all external attachments (attachments containing only an external path).
7070
*
7171
* @throws NoResultException
7272
* @throws NonUniqueResultException
@@ -75,7 +75,7 @@ public function getExternalAttachments(): int
7575
{
7676
$qb = $this->createQueryBuilder('attachment');
7777
$qb->select('COUNT(attachment)')
78-
->andWhere('attaachment.internal_path IS NULL')
78+
->andWhere('attachment.internal_path IS NULL')
7979
->where('attachment.external_path IS NOT NULL');
8080
$query = $qb->getQuery();
8181

0 commit comments

Comments
 (0)