Passed
Pull Request — master (#1976)
by
unknown
05:13
created
classes/Member.php 1 patch
Indentation   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -213,12 +213,12 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-    * Image
217
-    *
218
-    * Return a URL for the member's image.
219
-    *
220
-    * @return string The URL of the member's image.
221
-    */
216
+     * Image
217
+     *
218
+     * Return a URL for the member's image.
219
+     *
220
+     * @return string The URL of the member's image.
221
+     */
222 222
 
223 223
     public function image() {
224 224
 
@@ -271,12 +271,12 @@  discard block
 block discarded – undo
271 271
     }
272 272
 
273 273
     /**
274
-    * Get Whip Removal Information
275
-    *
276
-    * Check if the current membership has 'whip_removed' as entered_reason and return info.
277
-    *
278
-    * @return array|null Information about whip removal including previous party and source URL.
279
-    */
274
+     * Get Whip Removal Information
275
+     *
276
+     * Check if the current membership has 'whip_removed' as entered_reason and return info.
277
+     *
278
+     * @return array|null Information about whip removal including previous party and source URL.
279
+     */
280 280
     public function getWhipRemovalInfo() {
281 281
         // Check if there are any memberships
282 282
         if (empty($this->memberships)) {
@@ -310,16 +310,16 @@  discard block
 block discarded – undo
310 310
     }
311 311
 
312 312
     /**
313
-    * Offices
314
-    *
315
-    * Return an array of Office objects held (or previously held) by the member.
316
-    *
317
-    * @param string $include_only  Restrict the list to include only "previous" or "current" offices.
318
-    * @param bool   $ignore_committees Ignore offices that appear to be committee memberships.
319
-    * @param bool   $committees_only Only return committee memberships.
320
-    *
321
-    * @return array An array of Office objects.
322
-    */
313
+     * Offices
314
+     *
315
+     * Return an array of Office objects held (or previously held) by the member.
316
+     *
317
+     * @param string $include_only  Restrict the list to include only "previous" or "current" offices.
318
+     * @param bool   $ignore_committees Ignore offices that appear to be committee memberships.
319
+     * @param bool   $committees_only Only return committee memberships.
320
+     *
321
+     * @return array An array of Office objects.
322
+     */
323 323
 
324 324
     public function offices($include_only = null, $ignore_committees = false, $committees_only = false) {
325 325
 
@@ -379,12 +379,12 @@  discard block
 block discarded – undo
379 379
     }
380 380
 
381 381
     /**
382
-    * Get Other Parties String
383
-    *
384
-    * Return a readable list of party changes for this member.
385
-    *
386
-    * @return string|null A readable list of the party changes for this member.
387
-    */
382
+     * Get Other Parties String
383
+     *
384
+     * Return a readable list of party changes for this member.
385
+     *
386
+     * @return string|null A readable list of the party changes for this member.
387
+     */
388 388
 
389 389
     public function getOtherPartiesString() {
390 390
 
@@ -403,12 +403,12 @@  discard block
 block discarded – undo
403 403
     }
404 404
 
405 405
     /**
406
-    * Get Other Constituencies String
407
-    *
408
-    * Return a readable list of other constituencies for this member.
409
-    *
410
-    * @return string|null A readable list of the other constituencies for this member.
411
-    */
406
+     * Get Other Constituencies String
407
+     *
408
+     * Return a readable list of other constituencies for this member.
409
+     *
410
+     * @return string|null A readable list of the other constituencies for this member.
411
+     */
412 412
 
413 413
     public function getOtherConstituenciesString() {
414 414
 
@@ -421,14 +421,14 @@  discard block
 block discarded – undo
421 421
     }
422 422
 
423 423
     /**
424
-    * Get Entered/Left Strings
425
-    *
426
-    * Return an array of readable strings covering when people entered or left
427
-    * various houses. Returns an array since it's possible for a member to have
428
-    * done several of these things.
429
-    *
430
-    * @return array An array of strings of when this member entered or left houses.
431
-    */
424
+     * Get Entered/Left Strings
425
+     *
426
+     * Return an array of readable strings covering when people entered or left
427
+     * various houses. Returns an array since it's possible for a member to have
428
+     * done several of these things.
429
+     *
430
+     * @return array An array of strings of when this member entered or left houses.
431
+     */
432 432
     public function getEnterLeaveStrings() {
433 433
         $output = [];
434 434
 
Please login to merge, or discard this patch.