style: Declare imported classes at the top of the file
This commit is contained in:
parent
33530eff4d
commit
04fe43a1ca
12 changed files with 81 additions and 63 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
namespace Alltube;
|
||||
|
||||
use Exception;
|
||||
use Symfony\Component\Yaml\Yaml;
|
||||
|
||||
/**
|
||||
|
@ -172,7 +173,7 @@ class Config
|
|||
*/
|
||||
$options = [];
|
||||
} else {
|
||||
throw new \Exception("Can't find config file at ".$yamlPath);
|
||||
throw new Exception("Can't find config file at ".$yamlPath);
|
||||
}
|
||||
self::$instance = new self($options);
|
||||
self::$instance->file = $yamlfile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue