@@ -73,8 +73,7 @@ discard block |
||
| 73 | 73 | if ($this->isStaticMethod($instance, $method)) |
| 74 | 74 | { |
| 75 | 75 | $output = $instance::{$method}( $this->prepareParams($params) ); |
| 76 | - } |
|
| 77 | - else |
|
| 76 | + } else |
|
| 78 | 77 | { |
| 79 | 78 | $output = $instance->{$method}($this->prepareParams($params)); |
| 80 | 79 | } |
@@ -130,8 +129,7 @@ discard block |
||
| 130 | 129 | $found = true; |
| 131 | 130 | } |
| 132 | 131 | } |
| 133 | - } |
|
| 134 | - else |
|
| 132 | + } else |
|
| 135 | 133 | { |
| 136 | 134 | $found = true; |
| 137 | 135 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function find($class) |
| 16 | 16 | { |
| 17 | - $ci =& get_instance(); |
|
| 17 | + $ci =& get_instance(); |
|
| 18 | 18 | |
| 19 | 19 | $ci->load->library($class); |
| 20 | 20 | |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | public function __construct() |
| 10 | 10 | { |
| 11 | - $this->ci =& get_instance(); |
|
| 11 | + $this->ci =& get_instance(); |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | //-------------------------------------------------------------------- |