\InvalidArgumentException is in root namespace.
This commit is contained in:
parent
5dbbe6d08b
commit
e67cf99cef
|
@ -153,7 +153,7 @@ class ConvertType extends Command {
|
||||||
$password = $input->getOption('password');
|
$password = $input->getOption('password');
|
||||||
|
|
||||||
if (!isset(self::$type2driver[$type])) {
|
if (!isset(self::$type2driver[$type])) {
|
||||||
throw new InvalidArgumentException('Unknown type: '.$type);
|
throw new \InvalidArgumentException('Unknown type: '.$type);
|
||||||
}
|
}
|
||||||
$connectionParams = array(
|
$connectionParams = array(
|
||||||
'driver' => self::$type2driver[$type],
|
'driver' => self::$type2driver[$type],
|
||||||
|
|
Loading…
Reference in New Issue