Completed
Push — master ( ec4169...46bda9 )
by Michal
12s
created
src/Controller/AppController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
  */
21 21
 namespace App\Controller;
22 22
 
23
-use App\Utility\Sanitize;
24 23
 use Cake\Controller\Controller;
25 24
 use Cake\Event\Event;
26 25
 use Cake\ORM\TableRegistry;
Please login to merge, or discard this patch.
src/Controller/Component/GithubApiComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 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 Boolean $returnStatus whether to return the status code with the
Please login to merge, or discard this patch.
src/Controller/Component/OrderSearchComponent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 namespace App\Controller\Component;
20 20
 
21 21
 use Cake\Controller\Component;
22
-use Cake\Routing\Router;
23 22
 
24 23
 /**
25 24
  * Github api component handling comunication with github
Please login to merge, or discard this patch.
src/Controller/GithubController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
      * @param Object  $response the response returned by Github api
194 194
      * @param Integer $status   status returned by Github API
195 195
      *
196
-     * @return error string
196
+     * @return string string
197 197
      */
198 198
     protected function _getErrors($response, $status) {
199 199
         $errorString = "There were some problems with the issue submission."
Please login to merge, or discard this patch.
src/Controller/IncidentsController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 use App\Controller\AppController;
21 21
 use Cake\Network\Exception\NotFoundException;
22
-use App\Utility\Sanitize;
23 22
 
24 23
 /**
25 24
  * Incidents controller handling incident creation and rendering
Please login to merge, or discard this patch.
src/Controller/PagesController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * Displays a view
53 53
      *
54 54
      * @param mixed What page to display
55
-     * @return void
55
+     * @return \Cake\Http\Response|null
56 56
      * @throws NotFoundException When the view file could not be found
57 57
      *    or MissingViewException in debug mode.
58 58
      */
Please login to merge, or discard this patch.
src/Controller/ReportsController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -323,6 +323,9 @@
 block discarded – undo
323 323
         $this->set("related_entries", $relatedEntries);
324 324
     }
325 325
 
326
+    /**
327
+     * @param string $key
328
+     */
326 329
     protected function _findArrayList($results, $key)
327 330
     {
328 331
         $output = array();
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
 use App\Utility\Sanitize;
22 22
 use Cake\Core\Configure;
23 23
 use Cake\Log\Log;
24
-use Cake\ORM\Table;
25 24
 use Cake\ORM\TableRegistry;
26 25
 use Cake\Network\Exception\NotFoundException;
27 26
 
Please login to merge, or discard this patch.
src/Model/Table/IncidentsTable.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
  */
18 18
 namespace App\Model\Table;
19 19
 
20
-use App\Model\AppModel;
21 20
 use Cake\ORM\Table;
22 21
 use Cake\ORM\TableRegistry;
23 22
 use Cake\Log\Log;
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
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Retrieves the incident records that are related to the current report
95 95
      *
96
-     * @return Array the list of incidents ordered by creation date desc
96
+     * @return \Cake\ORM\Query the list of incidents ordered by creation date desc
97 97
      */
98 98
     public function getIncidents()
99 99
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Retrieves the report records that are related to the current report
110 110
      *
111
-     * @return Array the list of related reports
111
+     * @return \Cake\ORM\Query the list of related reports
112 112
      */
113 113
     public function getRelatedReports()
114 114
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * Retrieves the incident records that are related to the current report that
122 122
      * also have a description
123 123
      *
124
-     * @return Array the list of incidents ordered by description lenght desc
124
+     * @return \Cake\ORM\Query the list of incidents ordered by description lenght desc
125 125
      */
126 126
     public function getIncidentsWithDescription()
127 127
     {
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      * Retrieves the incident records that are related to the current report that
141 141
      * that have a different stacktrace
142 142
      *
143
-     * @return Array the list of incidents
143
+     * @return \Cake\ORM\Query the list of incidents
144 144
      */
145 145
     public function getIncidentsWithDifferentStacktrace()
146 146
     {
Please login to merge, or discard this patch.