Completed
Pull Request — master (#35)
by
unknown
01:44
created
src/QueryBuilder.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Saves selects as a collection
51 51
      *
52
-     * @param array|string $select
53 52
      * @return void
54 53
      */
55 54
     protected function addSelectedColumns($columns)
@@ -63,6 +62,9 @@  discard block
 block discarded – undo
63 62
         }
64 63
     }
65 64
 
65
+    /**
66
+     * @param string $relation
67
+     */
66 68
     protected function getSelectForRelation($relation)
67 69
     {
68 70
         return $this->columns
@@ -140,6 +142,9 @@  discard block
 block discarded – undo
140 142
         return $this;
141 143
     }
142 144
 
145
+    /**
146
+     * @param string $sorts
147
+     */
143 148
     public function allowedSorts($sorts): self
144 149
     {
145 150
         $sorts = is_array($sorts) ? $sorts : func_get_args();
Please login to merge, or discard this patch.