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

@@ -46,7 +46,7 @@ class FireflyConfig
}
try {
Configuration::where('name', $name)->forceDelete();
} catch (Exception $e) { // @phpstan-ignore-line
} catch (Exception $e) {
// @ignoreException
}
}
@@ -68,7 +68,7 @@ class FireflyConfig
try {
/** @var Configuration|null $config */
$config = Configuration::where('name', $name)->first(['id', 'name', 'data']);
} catch (QueryException|Exception $e) { // @phpstan-ignore-line
} catch (QueryException|Exception $e) {
throw new FireflyException(sprintf('Could not poll the database: %s', $e->getMessage()));
}
@@ -95,7 +95,7 @@ class FireflyConfig
{
try {
$config = Configuration::whereName($name)->whereNull('deleted_at')->first();
} catch (QueryException|Exception $e) { // @phpstan-ignore-line
} catch (QueryException|Exception $e) {
$item = new Configuration();
$item->name = $name;
$item->data = $value;