Completed
Push — master ( 41aae3...12add3 )
by Vladimir
02:35
created
tests/utilities/AuthenticatedClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         return (isset($this->apiToken));
26 26
     }
27 27
 
28
-    public function getApiToken()
28
+    public function getApiToken ()
29 29
     {
30 30
         return $this->apiToken;
31 31
     }
Please login to merge, or discard this patch.
src/Objects/ApiObject.php 3 patches
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -387,7 +387,7 @@
 block discarded – undo
387 387
      *
388 388
      * @return string The base URL to call
389 389
      */
390
-    protected static function apiEndpoint ($apiPrefix = NULL)
390
+    protected static function apiEndpoint ($apiPrefix = null)
391 391
     {
392 392
         $apiSection = isset($apiPrefix) ? $apiPrefix : static::API_PREFIX;
393 393
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,14 +48,14 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @internal
50 50
      */
51
-    const API_VERSION  = "v1";
51
+    const API_VERSION = "v1";
52 52
 
53 53
     /**
54 54
      * The suffix that is appended to the URL to access functionality for certain objects
55 55
      *
56 56
      * @internal
57 57
      */
58
-    const API_PREFIX   = "";
58
+    const API_PREFIX = "";
59 59
 
60 60
     /**
61 61
      * The API key used to make the URL calls
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     protected function assignResults ()
139 139
     {
140
-        foreach($this->jsonResponse as $key => $val)
140
+        foreach ($this->jsonResponse as $key => $val)
141 141
         {
142 142
             if (property_exists(get_called_class(), $key))
143 143
             {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     /**
163 163
      * Overload this function if any class variables need to be initialized to a default value
164 164
      */
165
-    protected function initializeValues() {}
165
+    protected function initializeValues () {}
166 166
 
167 167
     /**
168 168
      * Inject data into the array that will be mapped into individual instance variables. This function must be called
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,9 @@
 block discarded – undo
162 162
     /**
163 163
      * Overload this function if any class variables need to be initialized to a default value
164 164
      */
165
-    protected function initializeValues() {}
165
+    protected function initializeValues()
166
+    {
167
+}
166 168
 
167 169
     /**
168 170
      * Inject data into the array that will be mapped into individual instance variables. This function must be called
Please login to merge, or discard this patch.