Completed
Push — master ( be821e...418a4d )
by James Ekow Abaka
03:23
created
src/QueryParameters.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     /**
24 24
      *
25
-     * @param \ $model
25
+     * @param string $table
26 26
      */
27 27
     public function __construct($table) {
28 28
         $this->table = $table;
@@ -104,6 +104,9 @@  discard block
 block discarded – undo
104 104
         $this->boundData += $values;
105 105
     }
106 106
 
107
+    /**
108
+     * @param boolean $firstOnly
109
+     */
107 110
     public function setFirstOnly($firstOnly) {
108 111
         $this->firstOnly = $firstOnly;
109 112
         return $this;
@@ -121,6 +124,9 @@  discard block
 block discarded – undo
121 124
         $this->offset = $offset;
122 125
     }
123 126
 
127
+    /**
128
+     * @param string $field
129
+     */
124 130
     public function addSort($field, $direction = 'ASC') {
125 131
         $this->sorts[] = "$field $direction";
126 132
     }
Please login to merge, or discard this patch.