Преглед на файлове

Correctif namespace User

feature/souke
Guillaume Bourgeois преди 9 месеца
родител
ревизия
b66194efa7
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +1
    -1
      frontend/forms/PasswordResetRequestForm.php
  2. +1
    -1
      frontend/forms/ResetPasswordForm.php
  3. +1
    -1
      tests/codeception/common/fixtures/UserFixture.php

+ 1
- 1
frontend/forms/PasswordResetRequestForm.php Целия файл

@@ -59,7 +59,7 @@ class PasswordResetRequestForm extends Model
['email', 'required'],
['email', 'email'],
['email', 'exist',
'targetClass' => '\logic\User\User\User',
'targetClass' => 'domain\User\User\User',
'message' => 'There is no user with such email.'
],
];

+ 1
- 1
frontend/forms/ResetPasswordForm.php Целия файл

@@ -50,7 +50,7 @@ class ResetPasswordForm extends Model
public $password;

/**
* @var \logic\User\User\User
* @var domain\User\User\User
*/
private $_user;


+ 1
- 1
tests/codeception/common/fixtures/UserFixture.php Целия файл

@@ -9,5 +9,5 @@ use yii\test\ActiveFixture;
*/
class UserFixture extends ActiveFixture
{
public $modelClass = 'logic\User\User\User';
public $modelClass = 'domain\User\User\User';
}

Loading…
Отказ
Запис