mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Code cleanup.
This commit is contained in:
@@ -40,6 +40,7 @@ class TransactionGroupFactory
|
||||
private $journalFactory;
|
||||
/** @var User The user */
|
||||
private $user;
|
||||
|
||||
/**
|
||||
* TransactionGroupFactory constructor.
|
||||
*/
|
||||
@@ -73,7 +74,7 @@ class TransactionGroupFactory
|
||||
if (null !== $title) {
|
||||
$title = substr($title, 0, 1000);
|
||||
}
|
||||
if(0 === $collection->count()) {
|
||||
if (0 === $collection->count()) {
|
||||
throw new FireflyException('Created zero transaction journals.');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user