Completed
Branch master (260b19)
by smiley
02:54
created
src/Traits/ClassLoaderTrait.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,12 +31,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.