Completed
Pull Request — master (#131)
by Deven
08:29
created
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/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/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 1 patch
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.
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.