Completed
Pull Request — master (#35)
by
unknown
01:47
created
src/QueryBuilder.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@  discard block
 block discarded – undo
65 65
         $this->select(explode(',', $field));
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $relation
70
+     */
68 71
     protected function getFieldsForRelation($relation)
69 72
     {
70 73
         $fields = $this->fields->get($relation);
@@ -142,6 +145,9 @@  discard block
 block discarded – undo
142 145
         return $this;
143 146
     }
144 147
 
148
+    /**
149
+     * @param string $sorts
150
+     */
145 151
     public function allowedSorts($sorts): self
146 152
     {
147 153
         $sorts = is_array($sorts) ? $sorts : func_get_args();
Please login to merge, or discard this patch.