Various code cleanup.

This commit is contained in:
James Cole
2019-02-16 08:05:48 +01:00
parent 59fdf5b77a
commit e0aa7f3ff5
15 changed files with 761 additions and 750 deletions

View File

@@ -23,6 +23,7 @@ declare(strict_types=1);
namespace FireflyIII\Services\Internal\Support;
use Exception;
use FireflyIII\Factory\AccountFactory;
use FireflyIII\Factory\AccountMetaFactory;
use FireflyIII\Factory\TransactionFactory;
@@ -340,7 +341,7 @@ trait AccountServiceTrait
if (null !== $dbNote) {
try {
$dbNote->delete();
} catch (\Exception $e) {
} catch (Exception $e) {
Log::debug($e->getMessage());
}
}

View File

@@ -66,6 +66,7 @@ trait BillServiceTrait
* @param string $note
*
* @return bool
* @throws \Exception
*/
public function updateNote(Bill $bill, string $note): bool
{