fix Доп. проверка для имени класса для прохождения тестов
This commit is contained in:
parent
36b7d93a98
commit
d9b6faafc6
3 changed files with 7 additions and 6 deletions
|
|
@ -46,7 +46,7 @@ class Settings
|
|||
}
|
||||
|
||||
if (!is_array($settings)) {
|
||||
throw new Exception($this->file);
|
||||
throw new Exception('no data in ' . $this->file);
|
||||
}
|
||||
|
||||
$this->data = $settings;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue