Remove all constructors.

This commit is contained in:
James Cole
2017-01-30 16:46:30 +01:00
parent 311c1a3c84
commit 1e947870a6
26 changed files with 128 additions and 252 deletions

View File

@@ -43,15 +43,6 @@ class JournalRepository implements JournalRepositoryInterface
/** @var array */
private $validMetaFields = ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date', 'internal_reference', 'notes'];
/**
* JournalRepository constructor.
*
* @param User $user
*/
public function __construct(User $user)
{
$this->user = $user;
}
/**
* @param User $user
*/
@@ -59,6 +50,7 @@ class JournalRepository implements JournalRepositoryInterface
{
$this->user = $user;
}
/**
* @param TransactionJournal $journal
* @param TransactionType $type