@@ -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 | |
@@ -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 | |