@@ -55,7 +55,7 @@ |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
58 | - * @param string|array $path |
|
58 | + * @param string $path |
|
59 | 59 | * @param string|array $exclude |
60 | 60 | * |
61 | 61 | * @return array |
@@ -45,8 +45,7 @@ |
||
45 | 45 | if (null == $name) { |
46 | 46 | if (null != $input) { |
47 | 47 | $name = $input->getOption('connection', 'default'); |
48 | - } |
|
49 | - else { |
|
48 | + } else { |
|
50 | 49 | $name = 'default'; |
51 | 50 | } |
52 | 51 | } |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * @param string $name The connection name |
50 | 50 | * @param string $mode The connection mode, a Rocket class constant |
51 | 51 | * |
52 | - * @return ConnectionInterface|\PDO |
|
52 | + * @return \PDO |
|
53 | 53 | * |
54 | 54 | * @throws Connection\Exception\ConnectionNotFoundException |
55 | 55 | */ |
@@ -45,8 +45,7 @@ |
||
45 | 45 | if (null == $name) { |
46 | 46 | if (null != $input) { |
47 | 47 | $name = $input->getOption('connection', 'default'); |
48 | - } |
|
49 | - else { |
|
48 | + } else { |
|
50 | 49 | $name = 'default'; |
51 | 50 | } |
52 | 51 | } |