Test Setup Failed
Branch master (581880)
by Alain
05:34
created
src/FunctionInvokerTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/MethodInvokerTrait.php 2 patches
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.