Fixed syntax php error

This commit is contained in:
githubjeka 2017-05-30 15:37:49 +03:00
parent e899710a0a
commit b9008e9cb2

View File

@ -45,7 +45,7 @@ class I18N extends \yii\i18n\I18N
public function setUserLocale($user)
{
if ($user === null) {
throw \yii\base\InvalidParamException("User cannot be null!");
throw new \yii\base\InvalidParamException('User cannot be null!');
}
if (!empty($user->language)) {