@@ -145,7 +145,7 @@ |
||
| 145 | 145 | * we will try to run a framework-specific loader, if the user provided |
| 146 | 146 | * one in __construct(); |
| 147 | 147 | * |
| 148 | - * @param $library |
|
| 148 | + * @param string $library |
|
| 149 | 149 | * @return array |
| 150 | 150 | */ |
| 151 | 151 | public function determineClass($library) |
@@ -83,8 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | $output = $instance->{$method}(); |
| 86 | - } |
|
| 87 | - elseif ( |
|
| 86 | + } elseif ( |
|
| 88 | 87 | ($num_of_params === 1) |
| 89 | 88 | && ( |
| 90 | 89 | (! array_key_exists($ref_params[0]->name, $params_array)) |
@@ -96,8 +95,7 @@ discard block |
||
| 96 | 95 | ) |
| 97 | 96 | { |
| 98 | 97 | $output = $instance->{$method}($params_array); |
| 99 | - } |
|
| 100 | - else |
|
| 98 | + } else |
|
| 101 | 99 | { |
| 102 | 100 | $fire_args = []; |
| 103 | 101 | $method_params = []; |
@@ -173,8 +171,7 @@ discard block |
||
| 173 | 171 | $found = true; |
| 174 | 172 | } |
| 175 | 173 | } |
| 176 | - } |
|
| 177 | - else |
|
| 174 | + } else |
|
| 178 | 175 | { |
| 179 | 176 | $found = true; |
| 180 | 177 | } |