@@ -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 | return $sprint; |
81 | 81 | } catch (JiraException $e) { |
82 | - print("Error Occured! " . $e->getMessage()); |
|
82 | + print("Error Occured! ".$e->getMessage()); |
|
83 | 83 | |
84 | 84 | return null; |
85 | 85 | } |
@@ -91,10 +91,10 @@ |
||
91 | 91 | return $boards; |
92 | 92 | } |
93 | 93 | |
94 | - public function getSprintInfoForBoard($boardId,$paramArray) |
|
94 | + public function getSprintInfoForBoard($boardId, $paramArray) |
|
95 | 95 | { |
96 | 96 | $board = $this->getBoard($boardId); |
97 | - $sprintList = $this->loopOverResults($this->uri.'/'.$boardId.'/sprint/',$paramArray); |
|
97 | + $sprintList = $this->loopOverResults($this->uri.'/'.$boardId.'/sprint/', $paramArray); |
|
98 | 98 | $sprintObjectsArray = array(); |
99 | 99 | foreach ($sprintList as $sprint) { |
100 | 100 | $sprintObjectsArray[$sprint->id] = SprintService::getSprintFromJSON($sprint); |