Close #109 provide better error classes + phpdoc fixes

This commit is contained in:
Antonio Ramirez
2017-11-12 23:13:42 +01:00
parent c418ad967c
commit 83458a13e4
26 changed files with 109 additions and 20 deletions

View File

@ -16,6 +16,7 @@ use Da\User\Model\User;
use Da\User\Service\MailService;
use Exception;
use Yii;
use yii\base\InvalidConfigException;
/**
* @property MailService $mailService
@ -29,6 +30,7 @@ trait MailAwareTrait
*
* @param User $user
*
* @throws InvalidConfigException
* @return bool
*/
protected function sendMail(User $user)