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

@@ -64,7 +64,7 @@ class AccountMetaFactory
if ('' === $value && null !== $entry) {
try {
$entry->delete();
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::debug(sprintf('Could not delete entry: %s', $e->getMessage()));
}

View File

@@ -510,7 +510,7 @@ class TransactionJournalFactory
{
try {
$transaction->delete();
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::error($e->getMessage());
Log::error($e->getTraceAsString());
Log::error('Could not delete negative transaction.');

View File

@@ -48,7 +48,7 @@ class TransactionJournalMetaFactory
//Log::debug('Value is empty, delete meta value.');
try {
$entry->delete();
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::error(sprintf('Could not delete transaction journal meta: %s', $e->getMessage()));
}
@@ -66,7 +66,7 @@ class TransactionJournalMetaFactory
Log::debug('Will not store empty strings, delete meta value');
try {
$entry->delete();
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
Log::error(sprintf('Could not delete transaction journal meta: %s', $e->getMessage()));
}
}