@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | if (! function_exists('array_get')) |
27 | 27 | { |
28 | - /* |
|
28 | + /* |
|
29 | 29 | * |
30 | 30 | * @param array $data |
31 | 31 | * @param string $key |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | * |
34 | 34 | * @return mixed |
35 | 35 | */ |
36 | - function array_get($data, $key, $default = false) { |
|
37 | - if (!is_array($data)) { |
|
38 | - return $default; |
|
39 | - } |
|
40 | - return isset($data[$key]) ? $data[$key]: $default; |
|
41 | - } |
|
36 | + function array_get($data, $key, $default = false) { |
|
37 | + if (!is_array($data)) { |
|
38 | + return $default; |
|
39 | + } |
|
40 | + return isset($data[$key]) ? $data[$key]: $default; |
|
41 | + } |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | if(!function_exists('array_keys_exist')){ |
@@ -67,6 +67,6 @@ discard block |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | function cleanResponse($response){ |
70 | - $result = $response->getBody(); |
|
71 | - return $result; |
|
70 | + $result = $response->getBody(); |
|
71 | + return $result; |
|
72 | 72 | } |
73 | 73 | \ No newline at end of file |