@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * @param $class |
|
37 | - * @param $method |
|
36 | + * @param \Clubdeuce\WPLib\Components\GoogleMaps\Marker_Model $class |
|
37 | + * @param string $method |
|
38 | 38 | * @return mixed |
39 | 39 | */ |
40 | 40 | public function reflectionMethodInvoke( $class, $method ) |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | |
50 | 50 | /** |
51 | 51 | * @param $class |
52 | - * @param $method |
|
52 | + * @param string $method |
|
53 | 53 | * @param $args |
54 | 54 | * @return mixed |
55 | 55 | */ |
@@ -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 ); |