Completed
Pull Request — develop (#184)
by Tony
23:35
created
app/Http/Controllers/Widgets/WidgetDataController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,6 @@
 block discarded – undo
60 60
     /**
61 61
      * Display the alerts widget.
62 62
      *
63
-     * @param AlertsDataTable $dataTable
64 63
      * @param null $action
65 64
      * @return \Illuminate\Http\JsonResponse|\Illuminate\View\View
66 65
      */
Please login to merge, or discard this patch.
app/Api/Controllers/GraphController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param Request $request
42 42
      * @param string $type
43
-     * @return \Illuminate\Pagination\LengthAwarePaginator
43
+     * @return string
44 44
      */
45 45
     public function json(Request $request, $type)
46 46
     {
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      *
55 55
      * @param Request $request
56 56
      * @param string $type
57
-     * @return \Illuminate\Pagination\LengthAwarePaginator
57
+     * @return string
58 58
      */
59 59
     public function png(Request $request, $type)
60 60
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @param Request $request
69 69
      * @param string $type
70
-     * @return \Illuminate\Pagination\LengthAwarePaginator
70
+     * @return string
71 71
      */
72 72
     public function csv(Request $request, $type)
73 73
     {
Please login to merge, or discard this patch.
app/Graphs/BaseGraph.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * Get json output.
82 82
      *
83
-     * @return array
83
+     * @return string
84 84
      * @throws UnknownDataSourceException
85 85
      */
86 86
     public function json()
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * Get csv output.
100 100
      *
101
-     * @return array
101
+     * @return string
102 102
      * @throws UnknownDataSourceException
103 103
      */
104 104
     public function csv()
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Get png output.
117 117
      *
118
-     * @return array
118
+     * @return string
119 119
      * @throws UnknownDataSourceException
120 120
      */
121 121
     public function png()
@@ -169,8 +169,8 @@  discard block
 block discarded – undo
169 169
     }
170 170
 
171 171
     /**
172
-     * @param $cmd
173
-     * @return mixed|string
172
+     * @param string $cmd
173
+     * @return string
174 174
      */
175 175
     protected function runRRDGraph($cmd)
176 176
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * Run the RRD Xport query
188 188
      *
189
-     * @param $query
189
+     * @param string $query
190 190
      * @return string
191 191
      */
192 192
     protected function runRRDXport($query)
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     /**
208 208
      * Run the RRD Xport query
209 209
      *
210
-     * @param $response
210
+     * @param string $response
211 211
      * @return string
212 212
      */
213 213
     protected function parseRRDJson($response)
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     /**
237 237
      * Parse RRD output to csv
238 238
      *
239
-     * @param $response
239
+     * @param string $response
240 240
      * @param $headers
241 241
      * @return string
242 242
      */
Please login to merge, or discard this patch.