|
@@ -32,7 +32,8 @@ |
|
|
block discarded – undo |
|
32
|
32
|
* @return object of type $interface |
|
33
|
33
|
* @throws \chillerlan\bbcode\BBCodeException |
|
34
|
34
|
*/ |
|
35
|
|
- protected function __loadClass(string $class, string $interface, ...$params){ // phpDocumentor stumbles across the ... syntax |
|
|
35
|
+ protected function __loadClass(string $class, string $interface, ...$params){ |
|
|
36
|
+// phpDocumentor stumbles across the ... syntax |
|
36
|
37
|
if(class_exists($class)){ |
|
37
|
38
|
$reflectionClass = new ReflectionClass($class); |
|
38
|
39
|
|
Please login to merge, or discard this patch.