@@ -82,7 +82,7 @@ |
||
82 | 82 | /** |
83 | 83 | * @param array $lists |
84 | 84 | * @param string $listName |
85 | - * @param $boardName |
|
85 | + * @param null|string $boardName |
|
86 | 86 | * |
87 | 87 | * @throws \Exception |
88 | 88 | */ |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | public function addBoard(String $boardName) |
86 | 86 | { |
87 | 87 | $board = $this->boardManager->getBoard($boardName); |
88 | - if ($board == null || !$board instanceof Board) { |
|
88 | + if ($board == null || !$board instanceof Board) { |
|
89 | 89 | throw new TrelloItemNotFoundException('board', $boardName); |
90 | 90 | } |
91 | 91 | $this->boards[] = $board; |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | if ($boardName !== null) { |
104 | 104 | $board = $this->boardManager->getBoard($boardName); |
105 | 105 | |
106 | - if ($board == null || !$board instanceof Board) { |
|
106 | + if ($board == null || !$board instanceof Board) { |
|
107 | 107 | throw new TrelloItemNotFoundException('board', $boardName); |
108 | 108 | } |
109 | 109 |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * @param array $doneLists |
144 | 144 | * @param Sprint $sprint |
145 | 145 | * |
146 | - * @return int |
|
146 | + * @return double |
|
147 | 147 | */ |
148 | 148 | public function getTotalSprintStoryPoints(array $todoLists, array $wipLists, array $doneLists, Sprint $sprint) |
149 | 149 | { |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | } |
167 | 167 | |
168 | 168 | /** |
169 | - * @param $totalOfSprint |
|
169 | + * @param double $totalOfSprint |
|
170 | 170 | * @param Sprint $sprint |
171 | 171 | * |
172 | 172 | * @return float |