Completed
Push — master ( ec0c1c...619b0d )
by Nicolaas
01:56
created
code/reports/PaymentsReport.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
         return $table;
73 73
     }
74 74
 
75
+    /**
76
+     * @return SQLQuery
77
+     */
75 78
     public function getCustomQuery()
76 79
     {
77 80
         if ("PaymentsReport" == $this->class) {
@@ -93,6 +96,9 @@  discard block
 block discarded – undo
93 96
         }
94 97
     }
95 98
 
99
+    /**
100
+     * @return SQLQuery
101
+     */
96 102
     public function getExportQuery()
97 103
     {
98 104
         if ("PaymentsReport" == $this->class) {
@@ -104,6 +110,9 @@  discard block
 block discarded – undo
104 110
         }
105 111
     }
106 112
 
113
+    /**
114
+     * @param string $type
115
+     */
107 116
     protected function statistic($type)
108 117
     {
109 118
         if (!count(self::$payment_array)) {
Please login to merge, or discard this patch.
code/reports/SalesReport.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         return $table;
147 147
     }
148 148
 
149
+    /**
150
+     * @return SQLQuery
151
+     */
149 152
     public function getCustomQuery()
150 153
     {
151 154
         if ("SalesReport" == $this->class) {
@@ -166,6 +169,9 @@  discard block
 block discarded – undo
166 169
         }
167 170
     }
168 171
 
172
+    /**
173
+     * @return SQLQuery
174
+     */
169 175
     public function getExportQuery()
170 176
     {
171 177
         if ("SalesReport" == $this->class) {
@@ -177,6 +183,9 @@  discard block
 block discarded – undo
177 183
         }
178 184
     }
179 185
 
186
+    /**
187
+     * @param string $type
188
+     */
180 189
     protected function statistic($type)
181 190
     {
182 191
         if (!count(self::$sales_array)) {
Please login to merge, or discard this patch.
code/reports/SearchableOrderReport.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -206,6 +206,9 @@
 block discarded – undo
206 206
         );
207 207
     }
208 208
 
209
+    /**
210
+     * @return SQLQuery
211
+     */
209 212
     public function getExportQuery()
210 213
     {
211 214
         $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`";
Please login to merge, or discard this patch.
code/reports/SearchablePaymentReport.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
         );
178 178
     }
179 179
 
180
+    /**
181
+     * @return SQLQuery
182
+     */
180 183
     public function getExportQuery()
181 184
     {
182 185
         $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`";
Please login to merge, or discard this patch.
code/reports/SearchableProductSalesReport.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
         return $fields;
19 19
     }
20 20
 
21
+    /**
22
+     * @return SQLQuery
23
+     */
21 24
     public function getCustomQuery()
22 25
     {
23 26
         $bt = defined('DB::USE_ANSI_SQL') ? "\"" : "`";
@@ -112,6 +115,9 @@  discard block
 block discarded – undo
112 115
         return $fields;
113 116
     }
114 117
 
118
+    /**
119
+     * @return SQLQuery
120
+     */
115 121
     public function getExportQuery()
116 122
     {
117 123
         if ("SalesReport" == $this->class) {
Please login to merge, or discard this patch.