Completed
Pull Request — master (#153)
by
unknown
03:58
created
src/Dropbox/Models/SearchResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Indicates what type of match was found for the result
51 51
      *
52
-     * @return bool
52
+     * @return string
53 53
      */
54 54
     public function getMatchType()
55 55
     {
Please login to merge, or discard this patch.
src/Dropbox/DropboxClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     protected function buildAuthHeader($accessToken = "")
95 95
     {
96
-        return ['Authorization' => 'Bearer '. $accessToken];
96
+        return ['Authorization' => 'Bearer ' . $accessToken];
97 97
     }
98 98
 
99 99
     /**
Please login to merge, or discard this patch.
src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         } catch (RequestException $e) {
61 61
             $rawResponse = $e->getResponse();
62 62
 
63
-            if (! $rawResponse instanceof ResponseInterface) {
63
+            if (!$rawResponse instanceof ResponseInterface) {
64 64
                 throw new DropboxClientException($e->getMessage(), $e->getCode());
65 65
             }
66 66
         }
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
@@ -819,7 +819,7 @@  discard block
 block discarded – undo
819 819
             throw new DropboxClientUnableToWriteToTempException("Cannot write to {$tmpfname}");
820 820
         }
821 821
 
822
-        $handle = fopen( $tmpfname, DropboxFile::MODE_WRITE);
822
+        $handle = fopen($tmpfname, DropboxFile::MODE_WRITE);
823 823
 
824 824
         if (!is_resource($handle))
825 825
         { // Test if PHP could open the file
@@ -1199,7 +1199,7 @@  discard block
 block discarded – undo
1199 1199
 
1200 1200
             //Since the metadata is returned as a json string
1201 1201
             //it needs to be decoded into an associative array
1202
-            $metadata = json_decode((string)$data, true);
1202
+            $metadata = json_decode((string) $data, true);
1203 1203
         }
1204 1204
 
1205 1205
         //Return the metadata
Please login to merge, or discard this patch.