mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Various code cleanup [skip ci]
This commit is contained in:
@@ -63,7 +63,7 @@ class AccountDestroyService
|
||||
try {
|
||||
$account->delete();
|
||||
} catch (Exception $e) { // @codeCoverageIgnore
|
||||
Log::error(sprintf('Could not delete account: %s',$e->getMessage())); // @codeCoverageIgnore
|
||||
Log::error(sprintf('Could not delete account: %s', $e->getMessage())); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace FireflyIII\Services\Internal\Destroy;
|
||||
use Exception;
|
||||
use FireflyIII\Models\Bill;
|
||||
use Log;
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class BillDestroyService
|
||||
@@ -40,7 +41,7 @@ class BillDestroyService
|
||||
try {
|
||||
$bill->delete();
|
||||
} catch (Exception $e) { // @codeCoverageIgnore
|
||||
Log::error(sprintf('Could not delete bill: %s',$e->getMessage())); // @codeCoverageIgnore
|
||||
Log::error(sprintf('Could not delete bill: %s', $e->getMessage())); // @codeCoverageIgnore
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ class JournalDestroyService
|
||||
}
|
||||
$journal->delete();
|
||||
} catch (Exception $e) {
|
||||
Log::error(sprintf('Could not delete bill: %s',$e->getMessage())); // @codeCoverageIgnore
|
||||
Log::error(sprintf('Could not delete bill: %s', $e->getMessage())); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user