@@ -109,7 +109,7 @@ |
||
109 | 109 | /** |
110 | 110 | * Validate HTTP Request recieved. |
111 | 111 | * |
112 | - * @param Request $request Request object |
|
112 | + * @param \Cake\Http\ServerRequest $request Request object |
|
113 | 113 | * |
114 | 114 | * @return int status code based on if this is a valid request |
115 | 115 | */ |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | * @param object $response the response returned by Github api |
232 | 232 | * @param int $status status returned by Github API |
233 | 233 | * |
234 | - * @return error string |
|
234 | + * @return string string |
|
235 | 235 | */ |
236 | 236 | protected function _getErrors($response, $status) |
237 | 237 | { |
@@ -370,7 +370,7 @@ discard block |
||
370 | 370 | * Get Incident counts for a report and |
371 | 371 | * all its related reports. |
372 | 372 | * |
373 | - * @param $reportId Report ID |
|
373 | + * @param integer $reportId Report ID |
|
374 | 374 | * |
375 | 375 | * @return $total_incident_count Total Incident count for a report |
376 | 376 | */ |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | * |
407 | 407 | * @param $issueState Linked Github issue's state |
408 | 408 | * |
409 | - * @return Corresponding status to which the linked report should be updated to |
|
409 | + * @return string status to which the linked report should be updated to |
|
410 | 410 | */ |
411 | 411 | protected function _getReportStatusFromIssueState($issueState) |
412 | 412 | { |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use Cake\Core\Configure; |
16 | 16 | use Cake\Core\Exception\MissingPluginException; |
17 | 17 | use Cake\Core\Plugin; |
18 | -use Symfony\Component\Console\Application; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * Additional bootstrapping and configuration for CLI environments should |