Completed
Push — master ( caff4d...1ebe54 )
by Michal
04:00
created
src/Controller/Component/GithubApiComponent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,12 +32,12 @@
 block discarded – undo
32 32
      * or not to return a status.
33 33
      *
34 34
      * @param string $path         the api path to preform the request to
35
-     * @param array  $data         the data to send in the request. This works with both GET
35
+     * @param string  $data         the data to send in the request. This works with both GET
36 36
      *                             and Post requests
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 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * @param object $response the response returned by Github api
201 201
      * @param int    $status   status returned by Github API
202 202
      *
203
-     * @return error string
203
+     * @return string string
204 204
      */
205 205
     protected function _getErrors($response, $status)
206 206
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
 use Cake\Core\Configure;
23 23
 use Cake\Event\Event;
24
-use Cake\Log\Log;
25 24
 use Cake\Network\Exception\NotFoundException;
26 25
 use Cake\ORM\TableRegistry;
27 26
 use Cake\Routing\Router;
Please login to merge, or discard this patch.
src/Controller/ReportsController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -320,6 +320,9 @@
 block discarded – undo
320 320
         $this->set('related_entries', $relatedEntries);
321 321
     }
322 322
 
323
+    /**
324
+     * @param string $key
325
+     */
323 326
     protected function _findArrayList($results, $key)
324 327
     {
325 328
         $output = array();
Please login to merge, or discard this patch.
src/Model/Table/IncidentsTable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      *
229 229
      * @param array $bugReport the bug report being checked
230 230
      *                         Integer $index: for php exception type
231
-     * @param mixed $index
231
+     * @param integer $index
232 232
      *
233 233
      * @return array the first similar report or null
234 234
      */
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
      *
255 255
      * @param array $bugReport the bug report the report record is being created for
256 256
      *                         Integer $index: for php exception type
257
-     * @param mixed $index
257
+     * @param integer $index
258 258
      *
259 259
      * @return array an array with the report fields can be used with Report->save
260 260
      */
Please login to merge, or discard this patch.
src/Model/Table/ReportsTable.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Retrieves the incident records that are related to the current report.
97 97
      *
98
-     * @return array the list of incidents ordered by creation date desc
98
+     * @return \Cake\ORM\Query the list of incidents ordered by creation date desc
99 99
      */
100 100
     public function getIncidents()
101 101
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Retrieves the report records that are related to the current report.
113 113
      *
114
-     * @return array the list of related reports
114
+     * @return \Cake\ORM\Query the list of related reports
115 115
      */
116 116
     public function getRelatedReports()
117 117
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * Retrieves the incident records that are related to the current report that
125 125
      * also have a description.
126 126
      *
127
-     * @return array the list of incidents ordered by description lenght desc
127
+     * @return \Cake\ORM\Query the list of incidents ordered by description lenght desc
128 128
      */
129 129
     public function getIncidentsWithDescription()
130 130
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      * Retrieves the incident records that are related to the current report that
144 144
      * that have a different stacktrace.
145 145
      *
146
-     * @return array the list of incidents
146
+     * @return \Cake\ORM\Query the list of incidents
147 147
      */
148 148
     public function getIncidentsWithDifferentStacktrace()
149 149
     {
Please login to merge, or discard this patch.