update database

This commit is contained in:
manhlab
2021-04-09 10:52:40 -04:00
parent 8c4ad4aabf
commit 311b478270
10 changed files with 12 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ class AuthorizationException extends Exception
*/
public function __construct($message = null, $code = null, Throwable $previous = null)
{
parent::__construct($message ?? 'This action is unauthorized.', 0, $previous);
parent::__construct($message ?? 'Это действие не авторизовано.', 0, $previous);
$this->code = $code ?: 0;
}

View File

@@ -53,7 +53,7 @@ class ValidationException extends Exception
*/
public function __construct($validator, $response = null, $errorBag = 'default')
{
parent::__construct('The given data was invalid.');
parent::__construct('Указанные данные недействительны.');
$this->response = $response;
$this->errorBag = $errorBag;