@@ -84,7 +84,7 @@ |
||
84 | 84 | * @param string $name the desired attributes name |
85 | 85 | * @param mixed $default [optional] a default value in case the attribute isn't set, defaults to false |
86 | 86 | * |
87 | - * @return mixed the attribute's value in case it exists, otherwise $default |
|
87 | + * @return string the attribute's value in case it exists, otherwise $default |
|
88 | 88 | */ |
89 | 89 | public function getAttribute(string $name, $default = false); |
90 | 90 |
@@ -32,7 +32,8 @@ |
||
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 |