Update some phpdocs, courtesy of Psalm.

This commit is contained in:
James Cole
2020-03-25 07:03:23 +01:00
parent bcfbdcf3f0
commit 5445752588
41 changed files with 61 additions and 50 deletions

View File

@@ -320,7 +320,7 @@ class CurrencyRepository implements CurrencyRepositoryInterface
* @param int|null $currencyId
* @param string|null $currencyCode
*
* @return TransactionCurrency|null
* @return TransactionCurrency
*/
public function findCurrency(?int $currencyId, ?string $currencyCode): TransactionCurrency
{

View File

@@ -156,7 +156,7 @@ interface CurrencyRepositoryInterface
* @param int|null $currencyId
* @param string|null $currencyCode
*
* @return TransactionCurrency|null
* @return TransactionCurrency
*/
public function findCurrency(?int $currencyId, ?string $currencyCode): TransactionCurrency;