Close #108 phpcs fixes

This commit is contained in:
Antonio Ramirez
2017-11-12 22:01:28 +01:00
parent 190fafa5f1
commit c418ad967c
14 changed files with 27 additions and 29 deletions

View File

@ -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)
{

View File

@ -36,10 +36,10 @@ class UserCreateService implements ServiceInterface
}
/**
* @return bool
*
* @throws InvalidCallException
* @throws \yii\db\Exception
* @return bool
*
*/
public function run()
{

View File

@ -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
{