Commit 98739732 by Vladislav

fix both in app/Console/Commands/CampaignsAdd.php

1 parent f479c136
Showing with 4 additions and 4 deletions
...@@ -112,12 +112,12 @@ class APIRequest implements \App\Service\Contract\APIRequest ...@@ -112,12 +112,12 @@ class APIRequest implements \App\Service\Contract\APIRequest
function slice($count): ?\App\Service\Contract\APIRequest function slice($count): ?\App\Service\Contract\APIRequest
{ {
throw new Exception('Я не знаю формата запрсов, чтобы его разбить'); throw new \Exception('Я не знаю формата запрсов, чтобы его разбить');
} }
function next($count) function next($count)
{ {
throw new Exception('Я не знаю формата запрсов, чтобы его разбить'); throw new \Exception('Я не знаю формата запрсов, чтобы его разбить');
} }
function call($params = null) function call($params = null)
...@@ -132,11 +132,11 @@ class APIRequest implements \App\Service\Contract\APIRequest ...@@ -132,11 +132,11 @@ class APIRequest implements \App\Service\Contract\APIRequest
function getObjectsCount() function getObjectsCount()
{ {
throw new Exception('Не задано сколько объектов обрабатывается'); throw new \Exception('Не задано сколько объектов обрабатывается');
} }
function getMaxCount() function getMaxCount()
{ {
throw new Exception('Не задано сколько максимум объектов необходимо обработатывать'); throw new \Exception('Не задано сколько максимум объектов необходимо обработатывать');
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!