squelch notice

This commit is contained in:
Joby Elliott 2018-08-23 16:28:20 -06:00
parent 77c54501ce
commit d7ee949a6a

View file

@ -12,7 +12,7 @@ class DriverFactory
public static function factory(string $dsn, string $username=null, string $password=null, array $options=null, string $type = null) : ?Drivers\DSODriverInterface public static function factory(string $dsn, string $username=null, string $password=null, array $options=null, string $type = null) : ?Drivers\DSODriverInterface
{ {
if (!$type) { if (!$type) {
$type = array_shift(explode(':', $dsn, 2)); $type = @array_shift(explode(':', $dsn, 2));
} }
$type = strtolower($type); $type = strtolower($type);
if ($class = @static::$map[$type]) { if ($class = @static::$map[$type]) {