Completed
Push — master ( 14e52c...c7c88d )
by Mike
02:36
created
src/Request/Abstracts/AbstractRequest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -133,6 +133,7 @@
 block discarded – undo
133 133
 
134 134
     /**
135 135
      * @inheritdoc
136
+     * @param string $body
136 137
      */
137 138
     public function setBody($body) {
138 139
         $this->body = $body;
Please login to merge, or discard this patch.
src/SugarAPI.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
      * Register an EntryPoint method on the SugarAPI object.
121 121
      * Allows for loading custom EntryPoints, so long as custom EntryPoints are autoloaded accordingly
122 122
      * @param $funcName - name of Method to be called on SugarAPI Object
123
-     * @param $className - full name of EntryPoint Class that will be utilized
123
+     * @param string $className - full name of EntryPoint Class that will be utilized
124 124
      * @throws SDKException
125 125
      */
126 126
     public function registerEntryPoint($funcName, $className){
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
 
191 191
     /**
192 192
      * Get the configured Rest v10 URL
193
-     * @return mixed
193
+     * @return string
194 194
      */
195 195
     public function getURL(){
196 196
         return $this->url;
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -219,13 +219,13 @@
 block discarded – undo
219 219
      * Force Logout of SugarAPI Object
220 220
      */
221 221
     public function logout(){
222
-       if (!empty($this->authToken)){
223
-           $response = $this->oauth2Logout()->execute()->getResponse();
224
-           if ($response->getStatus()=='200'){
225
-               unset($this->authToken);
226
-               unset($this->authExpiration);
227
-           }
228
-       }
222
+        if (!empty($this->authToken)){
223
+            $response = $this->oauth2Logout()->execute()->getResponse();
224
+            if ($response->getStatus()=='200'){
225
+                unset($this->authToken);
226
+                unset($this->authExpiration);
227
+            }
228
+        }
229 229
     }
230 230
 
231 231
     /**
Please login to merge, or discard this patch.