@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public function checkIntegrity($response) |
49 | 49 | { |
50 | - return isset( json_decode($response)->{$this->jsonPrefix} ); |
|
50 | + return isset( json_decode($response)->{$this->jsonPrefix} ); |
|
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
@@ -88,12 +88,12 @@ discard block |
||
88 | 88 | { |
89 | 89 | $result[$key] = $this->objectToArray($value); |
90 | 90 | } else{ |
91 | - if (gettype($value) != 'object') |
|
92 | - { |
|
93 | - $result[$key] = $value; |
|
94 | - } |
|
95 | - // TODO not smog to find a similar case |
|
96 | - /* else{ |
|
91 | + if (gettype($value) != 'object') |
|
92 | + { |
|
93 | + $result[$key] = $value; |
|
94 | + } |
|
95 | + // TODO not smog to find a similar case |
|
96 | + /* else{ |
|
97 | 97 | $result[$key] = get_object_vars($value); |
98 | 98 | }*/ |
99 | 99 |