@@ -92,7 +92,7 @@ |
||
92 | 92 | |
93 | 93 | public function jsonSerialize() |
94 | 94 | { |
95 | - return array_filter(get_object_vars($this), function ($var) { |
|
95 | + return array_filter(get_object_vars($this), function($var) { |
|
96 | 96 | return !is_null($var); |
97 | 97 | }); |
98 | 98 | } |
@@ -33,7 +33,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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() |
@@ -4,7 +4,7 @@ discard block |
||
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 |
||
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 | /** |
@@ -79,7 +79,7 @@ |
||
79 | 79 | */ |
80 | 80 | public function jsonSerialize() |
81 | 81 | { |
82 | - return array_filter(get_object_vars($this), function ($var) { |
|
82 | + return array_filter(get_object_vars($this), function($var) { |
|
83 | 83 | return !is_null($var); |
84 | 84 | }); |
85 | 85 | } |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function getBoardList($paramArray = []) |
28 | 28 | { |
29 | - $json = $this->exec($this->uri. $this->toHttpQueryParameter($paramArray), null); |
|
29 | + $json = $this->exec($this->uri.$this->toHttpQueryParameter($paramArray), null); |
|
30 | 30 | $boards = $this->json_mapper->mapArray( |
31 | 31 | json_decode($json)->values, new \ArrayObject(), Board::class |
32 | 32 | ); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | public function getBoard($id, $paramArray = []) { |
37 | - $json = $this->exec($this->uri . '/' . $id . $this->toHttpQueryParameter($paramArray), null); |
|
37 | + $json = $this->exec($this->uri.'/'.$id.$this->toHttpQueryParameter($paramArray), null); |
|
38 | 38 | $board = $this->json_mapper->map( |
39 | 39 | json_decode($json), new Board() |
40 | 40 | ); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | public function getBoardIssues($id, $paramArray = []) { |
45 | - $json = $this->exec($this->uri . '/' . $id . $this->toHttpQueryParameter($paramArray), null); |
|
45 | + $json = $this->exec($this->uri.'/'.$id.$this->toHttpQueryParameter($paramArray), null); |
|
46 | 46 | $board = $this->json_mapper->mapArray( |
47 | 47 | json_decode($json), new \ArrayObject(), Issue::class |
48 | 48 | ); |