@@ -40,7 +40,7 @@ |
||
| 40 | 40 | public function invokeFunction($function, array $args = array()) |
| 41 | 41 | { |
| 42 | 42 | |
| 43 | - if (! $function || ! is_string($function) || '' === $function) { |
|
| 43 | + if ( ! $function || ! is_string($function) || '' === $function) { |
|
| 44 | 44 | throw new InvalidArgumentException(_('Missing valid function to invoke.')); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * MethodInvokerTrait |
|
| 4 | - * |
|
| 5 | - * @package BrightNucleus\Invoker |
|
| 6 | - * @author Alain Schlesser <[email protected]> |
|
| 7 | - * @license GPL-2.0+ |
|
| 8 | - * @link http://www.brightnucleus.com/ |
|
| 9 | - * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | - */ |
|
| 3 | + * MethodInvokerTrait |
|
| 4 | + * |
|
| 5 | + * @package BrightNucleus\Invoker |
|
| 6 | + * @author Alain Schlesser <[email protected]> |
|
| 7 | + * @license GPL-2.0+ |
|
| 8 | + * @link http://www.brightnucleus.com/ |
|
| 9 | + * @copyright 2015-2016 Alain Schlesser, Bright Nucleus |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | namespace BrightNucleus\Invoker; |
| 13 | 13 | |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | public function invokeMethod($object, $method, array $args = []) |
| 42 | 42 | { |
| 43 | 43 | |
| 44 | - if (! $method || ! is_string($method) || '' === $method) { |
|
| 44 | + if ( ! $method || ! is_string($method) || '' === $method) { |
|
| 45 | 45 | throw new InvalidArgumentException(_('Missing valid method to invoke.')); |
| 46 | 46 | } |
| 47 | 47 | |