Completed
Pull Request — master (#16)
by samirnijenhuis
01:09
created
src/Query/QueryHelper.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -30,6 +30,9 @@  discard block
 block discarded – undo
30 30
         return $this->appendExact($fields, 'appendCountQuery');
31 31
     }
32 32
 
33
+    /**
34
+     * @param string $method
35
+     */
33 36
     private function appendExact($fields, $method)
34 37
     {
35 38
         if (is_string($fields)) {
@@ -61,6 +64,9 @@  discard block
 block discarded – undo
61 64
         return $this->appendAlias($fields, $value, 'appendCountQuery');
62 65
     }
63 66
 
67
+    /**
68
+     * @param string $method
69
+     */
64 70
     private function appendAlias($fields, $value, $method): self
65 71
     {
66 72
         if (is_array($fields) && is_null($value)) {
@@ -93,6 +99,9 @@  discard block
 block discarded – undo
93 99
         );
94 100
     }
95 101
 
102
+    /**
103
+     * @param \Closure $value
104
+     */
96 105
     private function appendQuery($name, $value)
97 106
     {
98 107
         if (is_callable($value)) {
Please login to merge, or discard this patch.
src/Query/QueryParamBag.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         }
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $value
56
+     */
54 57
     private function prepareStringBasedParams($value): void
55 58
     {
56 59
         collect(explode(',', $value))->each(function ($param) {
Please login to merge, or discard this patch.