Completed
Push — master ( 667317...f33c3d )
by William
09:54
created
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.
config/Migrations/20170515135017_fix_long_pma_versions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
         // but the migration itself is idempotent
30 30
     }
31 31
 
32
+    /**
33
+     * @param string $table
34
+     */
32 35
     private function _sanitizeVersionsInTable($table)
33 36
     {
34 37
         $sql = 'SELECT `id`, `pma_version` FROM `' . $table . '`';
Please login to merge, or discard this patch.
src/Controller/Component/MailerComponent.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 namespace App\Controller\Component;
21 21
 
22 22
 use Cake\Controller\Component;
23
-use Cake\ORM\TableRegistry;
24 23
 use Cake\Mailer\Email;
25 24
 use Cake\Core\Configure;
26 25
 
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
@@ -375,6 +375,9 @@
 block discarded – undo
375 375
         $this->set('related_entries', $relatedEntries);
376 376
     }
377 377
 
378
+    /**
379
+     * @param string $key
380
+     */
378 381
     protected function _findArrayList($results, $key)
379 382
     {
380 383
         $output = [];
Please login to merge, or discard this patch.
tests/TestCase/Controller/IncidentsControllerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Cake\Core\Configure;
6 6
 use Cake\ORM\TableRegistry;
7 7
 use Cake\TestSuite\IntegrationTestCase;
8
-use Cake\Mailer\Transport\DebugTransport;
9 8
 
10 9
 class IncidentsControllerTest extends IntegrationTestCase
11 10
 {
Please login to merge, or discard this patch.