Completed
Push — master ( b7ef6a...58a002 )
by Kirill
03:12
created
src/Criteria/Common/Field.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
     /**
80 80
      * @param Lexer $lexer
81
-     * @return \Generator|string[]
81
+     * @return \Generator
82 82
      */
83 83
     private function analyse(Lexer $lexer): \Generator
84 84
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     }
183 183
 
184 184
     /**
185
-     * @return iterable|Field[]
185
+     * @return \Generator
186 186
      */
187 187
     public function getIterator(): iterable
188 188
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,6 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * @param Query $query
130 130
      * @param string ...$fields
131
+     * @param string[] $fields
131 132
      * @return iterable
132 133
      */
133 134
     public function getResult(Query $query, string ...$fields): iterable
@@ -151,7 +152,7 @@  discard block
 block discarded – undo
151 152
 
152 153
     /**
153 154
      * @param QueryBuilder $builder
154
-     * @param array $fields
155
+     * @param string[] $fields
155 156
      * @return array
156 157
      */
157 158
     private function executeFetchFields(QueryBuilder $builder, array $fields): array
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/GroupBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * @param QueryBuilder $builder
36 36
      * @param CriterionInterface|WhereGroup $group
37
-     * @return iterable|null
37
+     * @return \Generator
38 38
      */
39 39
     public function apply($builder, CriterionInterface $group): ?iterable
40 40
     {
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
     /**
82 82
      * @param WhereGroup $group
83
-     * @return iterable|callable[]
83
+     * @return \Generator
84 84
      */
85 85
     protected function getInnerSelections(WhereGroup $group): iterable
86 86
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/HavingBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param QueryBuilder $builder
24 24
      * @param CriterionInterface|Having $having
25
-     * @return iterable|null
25
+     * @return \Generator
26 26
      */
27 27
     public function apply($builder, CriterionInterface $having): ?iterable
28 28
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/HavingGroupBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     /**
36 36
      * @param QueryBuilder $builder
37 37
      * @param CriterionInterface|WhereGroup $group
38
-     * @return iterable|null
38
+     * @return \Generator
39 39
      */
40 40
     public function apply($builder, CriterionInterface $group): ?iterable
41 41
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/JoinBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     /**
28 28
      * @param QueryBuilder $builder
29 29
      * @param CriterionInterface|Join $join
30
-     * @return iterable|null
30
+     * @return \Generator
31 31
      */
32 32
     public function apply($builder, CriterionInterface $join): ?iterable
33 33
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/OrderByBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param QueryBuilder $builder
23 23
      * @param CriterionInterface|OrderBy $orderBy
24
-     * @return iterable|null
24
+     * @return \Generator
25 25
      */
26 26
     public function apply($builder, CriterionInterface $orderBy): ?iterable
27 27
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/SelectBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param QueryBuilder $builder
23 23
      * @param CriterionInterface|Selection $select
24
-     * @return iterable|null
24
+     * @return \Generator
25 25
      */
26 26
     public function apply($builder, CriterionInterface $select): ?iterable
27 27
     {
Please login to merge, or discard this patch.
src/Processor/DatabaseProcessor/WhereBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @param QueryBuilder $builder
26 26
      * @param CriterionInterface|Where $where
27
-     * @return iterable|null
27
+     * @return \Generator
28 28
      */
29 29
     public function apply($builder, CriterionInterface $where): ?iterable
30 30
     {
Please login to merge, or discard this patch.