Completed
Push — master ( 026dc6...7a734f )
by Samuel
02:12
created
src/Selection.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     /**
274 274
      * Returns minimum value from a column
275 275
      * @param string $column
276
-     * @return int
276
+     * @return string
277 277
      */
278 278
     public function min($column)
279 279
     {
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
     /**
284 284
      * Returns maximum value from a column
285 285
      * @param string $column
286
-     * @return int
286
+     * @return string
287 287
      */
288 288
     public function max($column)
289 289
     {
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
     /**
294 294
      * Returns sum of values in a column
295 295
      * @param string $column
296
-     * @return int
296
+     * @return string
297 297
      */
298 298
     public function sum($column)
299 299
     {
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
 
443 443
     /**
444 444
      * Prepare records array
445
-     * @param array $rows
445
+     * @param \Nette\Database\IRow[] $rows
446 446
      * @return array
447 447
      */
448 448
     private function prepareRecords(array $rows)
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace SimpleMapper;
4 4
 
5
+use ArrayAccess;
6
+use Countable;
7
+use Iterator;
8
+use LogicException;
5 9
 use Nette\Database\Table\ActiveRow;
6 10
 use Nette\Database\Table\IRow;
7 11
 use Nette\Database\Table\Selection as NetteDatabaseSelection;
8 12
 use Nette\InvalidArgumentException;
9
-use LogicException;
10
-use ArrayAccess;
11
-use Iterator;
12
-use Countable;
13 13
 use Traversable;
14 14
 
15 15
 class Selection implements Iterator, Countable, ArrayAccess
Please login to merge, or discard this patch.