Some code optimalisations.

This commit is contained in:
James Cole
2018-06-10 16:59:41 +02:00
parent 6743d99d9b
commit 5a058491b0
11 changed files with 40 additions and 11 deletions

View File

@@ -102,11 +102,17 @@ interface PiggyBankRepositoryInterface
/**
* @param int $piggyBankid
*
* @deprecated
* @return PiggyBank
*/
public function find(int $piggyBankid): PiggyBank;
/**
* @param int $piggyBankId
* @return PiggyBank|null
*/
public function findNull(int $piggyBankId): ?PiggyBank;
/**
* Find by name or return NULL.
*