Completed
Push — master ( 60c7ac...899775 )
by Kunal
11s
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/Authentication/OAuth2Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
             'state' => $state,
116 116
             ], $params);
117 117
 
118
-        if(!is_null($redirectUri)) {
118
+        if (!is_null($redirectUri)) {
119 119
             $params['redirect_uri'] = $redirectUri;
120 120
         }
121 121
 
Please login to merge, or discard this patch.
src/Dropbox/DropboxRequest.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -112,10 +112,10 @@  discard block
 block discarded – undo
112 112
     }
113 113
 
114 114
      /**
115
-     * Get the Request Params
116
-     *
117
-     * @return array
118
-     */
115
+      * Get the Request Params
116
+      *
117
+      * @return array
118
+      */
119 119
     public function getParams()
120 120
     {
121 121
         return $this->params;
@@ -196,12 +196,12 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
      /**
199
-     * Set the Request Params
200
-     *
201
-     * @param array
202
-     *
203
-     * @return \Kunnu\Dropbox\DropboxRequest
204
-     */
199
+      * Set the Request Params
200
+      *
201
+      * @param array
202
+      *
203
+      * @return \Kunnu\Dropbox\DropboxRequest
204
+      */
205 205
      public function setParams(array $params = [])
206 206
      {
207 207
          //Process Params
Please login to merge, or discard this patch.
src/Dropbox/Dropbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1147,7 +1147,7 @@
 block discarded – undo
1147 1147
 
1148 1148
             //Since the metadata is returned as a json string
1149 1149
             //it needs to be decoded into an associative array
1150
-            $metadata = json_decode((string)$data, true);
1150
+            $metadata = json_decode((string) $data, true);
1151 1151
         }
1152 1152
 
1153 1153
         //Return the metadata
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.