@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | { |
42 | 42 | $reflection = new \ReflectionMethod( $class, $method ); |
43 | 43 | $reflection->setAccessible( true ); |
44 | - if (is_string($class)) { |
|
44 | + if ( is_string( $class ) ) { |
|
45 | 45 | $class = null; |
46 | 46 | } |
47 | 47 | return $reflection->invoke( $class ); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | { |
58 | 58 | $reflection = new \ReflectionMethod( $class, $method ); |
59 | 59 | $reflection->setAccessible( true ); |
60 | - if (is_string($class)) { |
|
60 | + if ( is_string( $class ) ) { |
|
61 | 61 | $class = null; |
62 | 62 | } |
63 | 63 | return $reflection->invoke( $class, $args ); |