Various bugfixes and code clean up.

This commit is contained in:
James Cole committed 2018-07-27 04:46:21 +02:00
1 parent 2ad8e7f343
commit 0312ba8ad7
60 files changed
+223 -353

No files matched your search

+1 -1
View File
@@ -43,7 +43,6 @@ class TransactionCurrencyFactory
*/
public function create(array $data): ?TransactionCurrency
{
$result = null;
try {
/** @var TransactionCurrency $currency */
$result = TransactionCurrency::create(
@@ -55,6 +54,7 @@ class TransactionCurrencyFactory
]
);
} catch (QueryException $e) {
$result = null;
Log::error(sprintf('Could not create new currency: %s', $e->getMessage()));
}