Improve test coverage and fix test code.

This commit is contained in:
James Cole
2018-08-23 18:33:39 +02:00
parent 3f493aceb2
commit d4096103cb
21 changed files with 1378 additions and 21 deletions

View File

@@ -220,9 +220,9 @@ interface PiggyBankRepositoryInterface
*
* @param array $data
*
* @return PiggyBank
* @return PiggyBank|null
*/
public function store(array $data): PiggyBank;
public function store(array $data): ?PiggyBank;
/**
* Update existing piggy bank.