Completed
Pull Request — master (#160)
by Lito
02:33
created
src/Dropbox/Security/RandomStringGeneratorFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Dropbox/Dropbox.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.