/**
* @param UserId $userId
* @return EncryptedWallet[]
*/
public function walletsOfUserId(UserId $userId)
{
/** @var EncryptedWalletDocument[] $result */
$result = $this->repository->query()->where('userId', '==', $userId->getValue())->execute();
$encryptedWallets = $this->documentArrayToObjectArray($result);
return $encryptedWallets;
}