Completed
Push — master ( dbac1a...90c739 )
by Michal
11s
created
src/Controller/Component/GithubApiComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @param string $method       the method type of the request
38 38
      * @param bool   $returnStatus whether to return the status code with the
39 39
      *                             request
40
-     * @param mixed  $access_token
40
+     * @param string  $access_token
41 41
      *
42 42
      * @return array the returned response decoded and optionally the status code,
43 43
      *               see GithubApiComponent::sendRequest()
Please login to merge, or discard this patch.
src/Controller/GithubController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * @param object $response the response returned by Github api
229 229
      * @param int    $status   status returned by Github API
230 230
      *
231
-     * @return error string
231
+     * @return string string
232 232
      */
233 233
     protected function _getErrors($response, $status)
234 234
     {
@@ -367,7 +367,7 @@  discard block
 block discarded – undo
367 367
      * Get Incident counts for a report and
368 368
      * all its related reports
369 369
      *
370
-     * @param $reportId Report ID
370
+     * @param integer $reportId Report ID
371 371
      *
372 372
      * @return $total_incident_count Total Incident count for a report
373 373
      */
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
      *
404 404
      * @param $issueState Linked Github issue's state
405 405
      *
406
-     * @return Corresponding status to which the linked report should be updated to
406
+     * @return string status to which the linked report should be updated to
407 407
      */
408 408
     protected function _getReportStatusFromIssueState($issueState)
409 409
     {
Please login to merge, or discard this patch.