@@ -57,7 +57,7 @@ |
||
57 | 57 | protected static function defaultRandomStringGenerator() |
58 | 58 | { |
59 | 59 | //Mcrypt |
60 | - if (function_exists('mcrypt_create_iv') && version_compare( PHP_VERSION, '7.1', '<' )) { |
|
60 | + if (function_exists('mcrypt_create_iv') && version_compare(PHP_VERSION, '7.1', '<')) { |
|
61 | 61 | return new McryptRandomStringGenerator(); |
62 | 62 | } |
63 | 63 |
@@ -506,7 +506,7 @@ discard block |
||
506 | 506 | //Set the path and query |
507 | 507 | $params['query'] = $query; |
508 | 508 | |
509 | - if( !array_key_exists( 'include_highlights', $params ) ){ |
|
509 | + if (!array_key_exists('include_highlights', $params)) { |
|
510 | 510 | $params['include_highlights'] = false; |
511 | 511 | } |
512 | 512 | |
@@ -1239,7 +1239,7 @@ discard block |
||
1239 | 1239 | |
1240 | 1240 | //Since the metadata is returned as a json string |
1241 | 1241 | //it needs to be decoded into an associative array |
1242 | - $metadata = json_decode((string)$data, true); |
|
1242 | + $metadata = json_decode((string) $data, true); |
|
1243 | 1243 | } |
1244 | 1244 | |
1245 | 1245 | //Return the metadata |