update php code standards fixer rules

This commit is contained in:
Antonio Ramirez
2017-07-15 16:45:25 +02:00
parent 8c4f7699df
commit f706ebb4fa
72 changed files with 389 additions and 508 deletions

View File

@ -46,9 +46,9 @@ class AuthItemFactory
* @param $type
* @param $name
*
* @throws Exception
* @return \yii\rbac\Role|\yii\rbac\Permission
*
* @throws Exception
*/
public static function makeByType($type, $name)
{

View File

@ -31,9 +31,9 @@ class EmailChangeStrategyFactory
* @param $strategy
* @param SettingsForm $form
*
* @throws Exception
* @return MailChangeStrategyInterface
*
* @throws Exception
*/
public static function makeByStrategyType($strategy, SettingsForm $form)
{

View File

@ -43,7 +43,7 @@ class MailFactory
/**
* @param string $email
* @param Token $token
* @param Token $token
*
* @return MailService
*/
@ -63,7 +63,7 @@ class MailFactory
}
/**
* @param User $user
* @param User $user
* @param Token|null $token
*
* @return MailService
@ -84,7 +84,7 @@ class MailFactory
}
/**
* @param User $user
* @param User $user
* @param Token $token
*
* @return MailService
@ -114,7 +114,7 @@ class MailFactory
* @param string $to
* @param string $subject
* @param string $view
* @param array $params
* @param array $params
*
* @return MailService
*/