Completed
Push — master ( dd8d0e...82f2f8 )
by Milroy
01:28
created
src/Query/Fields.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
         $this->fields = $request->get('fields', []);
17 17
     }
18 18
 
19
+    /**
20
+     * @param string $resourceName
21
+     */
19 22
     public function has($resourceName)
20 23
     {
21 24
         return array_key_exists($resourceName, $this->fields);
Please login to merge, or discard this patch.
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.