Close #108 phpcs fixes
This commit is contained in:
@ -31,13 +31,13 @@ class MailService implements ServiceInterface
|
||||
/**
|
||||
* MailService constructor.
|
||||
*
|
||||
* @param string $type the mailer type
|
||||
* @param string $from from email account
|
||||
* @param string $to to email account
|
||||
* @param string $subject the email subject
|
||||
* @param string $view the view to render mail
|
||||
* @param array $params view parameters
|
||||
* @param BaseMailer|MailerInterface $mailer mailer interface
|
||||
* @param string $type the mailer type
|
||||
* @param string $from from email account
|
||||
* @param string $to to email account
|
||||
* @param string $subject the email subject
|
||||
* @param string $view the view to render mail
|
||||
* @param array $params view parameters
|
||||
* @param BaseMailer|MailerInterface $mailer mailer interface
|
||||
*/
|
||||
public function __construct($type, $from, $to, $subject, $view, array $params, MailerInterface $mailer)
|
||||
{
|
||||
|
||||
@ -36,10 +36,10 @@ class UserCreateService implements ServiceInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*
|
||||
* @throws InvalidCallException
|
||||
* @throws \yii\db\Exception
|
||||
* @return bool
|
||||
*
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
|
||||
@ -19,8 +19,8 @@ use Da\User\Model\User;
|
||||
use Da\User\Traits\MailAwareTrait;
|
||||
use Da\User\Traits\ModuleAwareTrait;
|
||||
use Exception;
|
||||
use yii\base\InvalidCallException;
|
||||
use Yii;
|
||||
use yii\base\InvalidCallException;
|
||||
|
||||
class UserRegisterService implements ServiceInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user