Completed
Push — master ( bf6d57...b699ea )
by Vladimir
02:38
created
src/Objects/ApiObject.php 3 patches
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.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
      *
455 455
      * @return string The base URL to call
456 456
      */
457
-    final protected static function apiEndpoint ($apiPrefix = NULL)
457
+    final protected static function apiEndpoint ($apiPrefix = null)
458 458
     {
459 459
         $apiSection = isset($apiPrefix) ? $apiPrefix : static::API_PREFIX;
460 460
 
Please login to merge, or discard this patch.
src/PulseUser.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      *
113 113
      * @return string
114 114
      */
115
-    public function getUrl()
115
+    public function getUrl ()
116 116
     {
117 117
         return $this->url;
118 118
     }
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      *
123 123
      * @return int
124 124
      */
125
-    public function getId()
125
+    public function getId ()
126 126
     {
127 127
         return $this->id;
128 128
     }
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      *
133 133
      * @return string
134 134
      */
135
-    public function getName()
135
+    public function getName ()
136 136
     {
137 137
         return $this->name;
138 138
     }
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @return string
144 144
      */
145
-    public function getEmail()
145
+    public function getEmail ()
146 146
     {
147 147
         return $this->email;
148 148
     }
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      *
153 153
      * @return string
154 154
      */
155
-    public function getPhotoUrl()
155
+    public function getPhotoUrl ()
156 156
     {
157 157
         return $this->photo_url;
158 158
     }
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      *
163 163
      * @return string
164 164
      */
165
-    public function getTitle()
165
+    public function getTitle ()
166 166
     {
167 167
         return $this->title;
168 168
     }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      *
173 173
      * @return string
174 174
      */
175
-    public function getPosition()
175
+    public function getPosition ()
176 176
     {
177 177
         return $this->position;
178 178
     }
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      *
183 183
      * @return string
184 184
      */
185
-    public function getPhone()
185
+    public function getPhone ()
186 186
     {
187 187
         return $this->phone;
188 188
     }
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      *
193 193
      * @return string
194 194
      */
195
-    public function getLocation()
195
+    public function getLocation ()
196 196
     {
197 197
         return $this->location;
198 198
     }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      *
203 203
      * @return string
204 204
      */
205
-    public function getStatus()
205
+    public function getStatus ()
206 206
     {
207 207
         return $this->status;
208 208
     }
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @return string
214 214
      */
215
-    public function getBirthday()
215
+    public function getBirthday ()
216 216
     {
217 217
         return $this->birthday;
218 218
     }
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      *
223 223
      * @return bool
224 224
      */
225
-    public function getIsGuest()
225
+    public function getIsGuest ()
226 226
     {
227 227
         return $this->is_guest;
228 228
     }
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      *
233 233
      * @return string[]
234 234
      */
235
-    public function getSkills()
235
+    public function getSkills ()
236 236
     {
237 237
         return $this->skills;
238 238
     }
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
      *
243 243
      * @return \DateTime
244 244
      */
245
-    public function getCreatedAt()
245
+    public function getCreatedAt ()
246 246
     {
247 247
         return $this->created_at;
248 248
     }
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      *
253 253
      * @return \DateTime
254 254
      */
255
-    public function getUpdatedAt()
255
+    public function getUpdatedAt ()
256 256
     {
257 257
         return $this->updated_at;
258 258
     }
Please login to merge, or discard this patch.