Remove phpstan comments.

This commit is contained in:
James Cole
2022-10-31 05:40:59 +01:00
parent b57785a234
commit 4e618a4d0b
88 changed files with 177 additions and 179 deletions

View File

@@ -57,7 +57,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
$path = $helper->getAttachmentLocation($attachment);
try {
Storage::disk('upload')->delete($path);
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
// @ignoreException
}
$attachment->delete();
@@ -201,7 +201,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
if (null !== $dbNote) {
try {
$dbNote->delete();
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
// @ignoreException
}
}