Code cleanup.

This commit is contained in:
James Cole
2021-03-28 11:46:23 +02:00
parent 2c575f3ca5
commit b5eeacc128
124 changed files with 1568 additions and 1384 deletions

View File

@@ -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.');
}