@@ -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 | } |
@@ -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 | ); |