Completed
Pull Request — master (#228)
by
unknown
04:29
created
src/Field/FieldService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $ret = $this->exec($this->uri, null);
21 21
 
22 22
         $fields = $this->json_mapper->mapArray(
23
-             json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Field\Field'
23
+                json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Field\Field'
24 24
         );
25 25
 
26 26
         // temp array
Please login to merge, or discard this patch.
src/Issue/IssueService.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
         $this->log->debug('add comment result='.var_export($ret, true));
228 228
         $comment = $this->json_mapper->map(
229
-           json_decode($ret), new Comment()
229
+            json_decode($ret), new Comment()
230 230
         );
231 231
 
232 232
         return $comment;
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
         $data = json_encode(json_decode($ret)->transitions);
399 399
 
400 400
         $transitions = $this->json_mapper->mapArray(
401
-           json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition'
401
+            json_decode($data), new \ArrayObject(), '\JiraRestApi\Issue\Transition'
402 402
         );
403 403
 
404 404
         return $transitions;
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
         $this->log->debug("getTimeTracking res=$ret\n");
516 516
 
517 517
         $issue = $this->json_mapper->map(
518
-             json_decode($ret), new Issue()
518
+                json_decode($ret), new Issue()
519 519
         );
520 520
 
521 521
         return $issue->fields->timeTracking;
@@ -616,7 +616,7 @@  discard block
 block discarded – undo
616 616
         $ret = $this->exec($url, $data, $type);
617 617
 
618 618
         $ret_worklog = $this->json_mapper->map(
619
-           json_decode($ret), new Worklog()
619
+            json_decode($ret), new Worklog()
620 620
         );
621 621
 
622 622
         return $ret_worklog;
@@ -663,7 +663,7 @@  discard block
 block discarded – undo
663 663
         $ret = $this->exec('priority', null);
664 664
 
665 665
         $priorities = $this->json_mapper->mapArray(
666
-             json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority'
666
+                json_decode($ret, false), new \ArrayObject(), '\JiraRestApi\Issue\Priority'
667 667
         );
668 668
 
669 669
         return $priorities;
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
         $this->log->info('Result='.$ret);
688 688
 
689 689
         $prio = $this->json_mapper->map(
690
-             json_decode($ret), new Priority()
690
+                json_decode($ret), new Priority()
691 691
         );
692 692
 
693 693
         return $prio;
Please login to merge, or discard this patch.
src/Board/Location.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 class Location implements \JsonSerializable {
6 6
 
7
-      /** @var int **/
7
+        /** @var int **/
8 8
     public $projectId;
9 9
 
10 10
     /** @var string **/
@@ -29,49 +29,49 @@  discard block
 block discarded – undo
29 29
      * Get project id.
30 30
      */
31 31
     public function getProjectId() {
32
-      return $this->projectId;
32
+        return $this->projectId;
33 33
     }
34 34
 
35 35
     /**
36 36
      * Get project id.
37 37
      */
38 38
     public function getDisplayName() {
39
-      return $this->displayName;
39
+        return $this->displayName;
40 40
     }
41 41
 
42 42
     /**
43 43
      * Get project name.
44 44
      */
45 45
     public function getProjectName() {
46
-      return $this->projectName;
46
+        return $this->projectName;
47 47
     }
48 48
 
49 49
     /**
50 50
      * Get project key.
51 51
      */
52 52
     public function getProjectKey() {
53
-      return $this->projectKey;
53
+        return $this->projectKey;
54 54
     }
55 55
 
56 56
     /**
57 57
      * Get project type key.
58 58
      */
59 59
     public function getProjectTypeKey() {
60
-      return $this->projectTypeKey;
60
+        return $this->projectTypeKey;
61 61
     }
62 62
 
63 63
     /**
64 64
      * Get avatar uri.
65 65
      */
66 66
     public function getAvatarUri() {
67
-      return $this->avatarUri;
67
+        return $this->avatarUri;
68 68
     }
69 69
 
70 70
     /**
71 71
      * Get name.
72 72
      */
73 73
     public function getName() {
74
-      return $this->name;
74
+        return $this->name;
75 75
     }
76 76
 
77 77
     /**
Please login to merge, or discard this patch.
src/Board/Board.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function getId()
35 35
     {
36
-      return $this->id;
36
+        return $this->id;
37 37
     }
38 38
 
39 39
     /**
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function getSelf()
43 43
     {
44
-      return $this->self;
44
+        return $this->self;
45 45
     }
46 46
 
47 47
     /**
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function getName()
51 51
     {
52
-      return $this->name;
52
+        return $this->name;
53 53
     }
54 54
 
55 55
     /**
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function getType()
59 59
     {
60
-      return $this->type;
60
+        return $this->type;
61 61
     }
62 62
 
63 63
     /**
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     public function getLocation()
67 67
     {
68
-      return $this->location;
68
+        return $this->location;
69 69
     }
70 70
 
71 71
     public function jsonSerialize()
Please login to merge, or discard this patch.