Cleanup and fix tests.

This commit is contained in:
James Cole
2016-03-02 13:13:33 +01:00
parent b04d68d087
commit 3ef84dc1fc
4 changed files with 51 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ class Balance
*/
public function getBalanceHeader(): BalanceHeader
{
return $this->balanceHeader;
return $this->balanceHeader ?? new BalanceHeader;
}
/**