@@ -31,12 +31,13 @@ |
||
31 | 31 | * @return object of type $interface |
32 | 32 | * @throws \chillerlan\Database\DBException |
33 | 33 | */ |
34 | - protected function __loadClass($class, $interface, ...$params){ // phpDocumentor stumbles across the ... syntax |
|
34 | + protected function __loadClass($class, $interface, ...$params){ |
|
35 | +// phpDocumentor stumbles across the ... syntax |
|
35 | 36 | |
36 | 37 | if(class_exists($class)){ |
37 | 38 | $reflectionClass = new ReflectionClass($class); |
38 | 39 | |
39 | - if(!$reflectionClass->implementsInterface($interface)) { |
|
40 | + if(!$reflectionClass->implementsInterface($interface)){ |
|
40 | 41 | throw new DBException($class.' does not implement '.$interface); |
41 | 42 | } |
42 | 43 |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Class MySQLiDriver |
|
4 | - * |
|
5 | - * @filesource MySQLiDriver.php |
|
6 | - * @created 04.11.2015 |
|
7 | - * @package chillerlan\Database\Drivers\MySQLi |
|
8 | - * @author Smiley <[email protected]> |
|
9 | - * @copyright 2015 Smiley |
|
10 | - * @license MIT |
|
11 | - */ |
|
3 | + * Class MySQLiDriver |
|
4 | + * |
|
5 | + * @filesource MySQLiDriver.php |
|
6 | + * @created 04.11.2015 |
|
7 | + * @package chillerlan\Database\Drivers\MySQLi |
|
8 | + * @author Smiley <[email protected]> |
|
9 | + * @copyright 2015 Smiley |
|
10 | + * @license MIT |
|
11 | + */ |
|
12 | 12 | |
13 | 13 | namespace chillerlan\Database\Drivers\MySQLi; |
14 | 14 |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @filesource DBInstanceTest.php |
|
4 | - * @created 21.02.2016 |
|
5 | - * @author Smiley <[email protected]> |
|
6 | - * @copyright 2016 Smiley |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * @filesource DBInstanceTest.php |
|
4 | + * @created 21.02.2016 |
|
5 | + * @author Smiley <[email protected]> |
|
6 | + * @copyright 2016 Smiley |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace chillerlan\DatabaseTest; |
11 | 11 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * @filesource PDOMSSQLDriver.php |
|
4 | - * @created 05.01.2016 |
|
5 | - * @package chillerlan\Database\Drivers\PDO |
|
6 | - * @author Smiley <[email protected]> |
|
7 | - * @copyright 2016 Smiley |
|
8 | - * @license MIT |
|
9 | - */ |
|
3 | + * @filesource PDOMSSQLDriver.php |
|
4 | + * @created 05.01.2016 |
|
5 | + * @package chillerlan\Database\Drivers\PDO |
|
6 | + * @author Smiley <[email protected]> |
|
7 | + * @copyright 2016 Smiley |
|
8 | + * @license MIT |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace chillerlan\Database\Drivers\PDO; |
12 | 12 |