Completed
Pull Request — master (#6397)
by Vytautas
09:41
created
tests/Doctrine/Tests/ORM/Functional/OneToOneEagerLoadingTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -286,6 +286,9 @@  discard block
 block discarded – undo
286 286
      */
287 287
     public $train;
288 288
 
289
+    /**
290
+     * @param string $name
291
+     */
289 292
     public function __construct($name)
290 293
     {
291 294
         $this->name = $name;
@@ -312,6 +315,9 @@  discard block
 block discarded – undo
312 315
      */
313 316
     public $train;
314 317
 
318
+    /**
319
+     * @param string $name
320
+     */
315 321
     public function __construct($name)
316 322
     {
317 323
         $this->name = $name;
@@ -336,6 +342,9 @@  discard block
 block discarded – undo
336 342
      */
337 343
     public $train;
338 344
 
345
+    /**
346
+     * @param Train $train
347
+     */
339 348
     public function setTrain($train)
340 349
     {
341 350
         $this->train = $train;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/PaginationTest.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -118,6 +118,10 @@  discard block
 block discarded – undo
118 118
         $this->assertCount(3, $paginator->getIterator());
119 119
     }
120 120
 
121
+    /**
122
+     * @param string $baseDql
123
+     * @param string $checkField
124
+     */
121 125
     private function iterateWithOrderAsc($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField)
122 126
     {
123 127
         // Ascending
@@ -132,6 +136,10 @@  discard block
 block discarded – undo
132 136
         $this->assertEquals($checkField . "0", $result[0]->$checkField);
133 137
     }
134 138
 
139
+    /**
140
+     * @param string $baseDql
141
+     * @param string $checkField
142
+     */
135 143
     private function iterateWithOrderAscWithLimit($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField)
136 144
     {
137 145
         // Ascending
@@ -148,6 +156,10 @@  discard block
 block discarded – undo
148 156
         $this->assertEquals($checkField . "0", $result[0]->$checkField);
149 157
     }
150 158
 
159
+    /**
160
+     * @param string $baseDql
161
+     * @param string $checkField
162
+     */
151 163
     private function iterateWithOrderAscWithLimitAndOffset($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField)
152 164
     {
153 165
         // Ascending
@@ -164,6 +176,10 @@  discard block
 block discarded – undo
164 176
         $this->assertEquals($checkField . "3", $result[0]->$checkField);
165 177
     }
166 178
 
179
+    /**
180
+     * @param string $baseDql
181
+     * @param string $checkField
182
+     */
167 183
     private function iterateWithOrderDesc($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField)
168 184
     {
169 185
         $dql = "$baseDql DESC";
@@ -177,6 +193,10 @@  discard block
 block discarded – undo
177 193
         $this->assertEquals($checkField . "8", $result[0]->$checkField);
178 194
     }
179 195
 
196
+    /**
197
+     * @param string $baseDql
198
+     * @param string $checkField
199
+     */
180 200
     private function iterateWithOrderDescWithLimit($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField)
181 201
     {
182 202
         $dql = "$baseDql DESC";
@@ -192,6 +212,10 @@  discard block
 block discarded – undo
192 212
         $this->assertEquals($checkField . "8", $result[0]->$checkField);
193 213
     }
194 214
 
215
+    /**
216
+     * @param string $baseDql
217
+     * @param string $checkField
218
+     */
195 219
     private function iterateWithOrderDescWithLimitAndOffset($useOutputWalkers, $fetchJoinCollection, $baseDql, $checkField)
196 220
     {
197 221
         $dql = "$baseDql DESC";
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/ReadOnlyTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -84,6 +84,10 @@
 block discarded – undo
84 84
     /** @Column(type="integer") */
85 85
     public $numericValue;
86 86
 
87
+    /**
88
+     * @param string $name
89
+     * @param integer $number
90
+     */
87 91
     public function __construct($name, $number)
88 92
     {
89 93
         $this->name = $name;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/SecondLevelCacheTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -329,6 +329,9 @@
 block discarded – undo
329 329
         $this->callbacks = $callbacks;
330 330
     }
331 331
 
332
+    /**
333
+     * @param string $eventName
334
+     */
332 335
     private function dispatch($eventName, $args)
333 336
     {
334 337
         if (isset($this->callbacks[$eventName])) {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1163Test.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
     }
204 204
 
205 205
     /**
206
-     * @param Product $product
206
+     * @param DDC1163Product $product
207 207
      */
208 208
     public function setProduct(DDC1163Product $product)
209 209
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1238Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         return $this->name;
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $name
95
+     */
93 96
     public function setName($name)
94 97
     {
95 98
         $this->name = $name;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1392Test.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -89,6 +89,7 @@
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * Set file
92
+     * @param DDC1392File $value
92 93
      */
93 94
     public function setFile($value = null)
94 95
     {
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1430Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@
 block discarded – undo
170 170
         return $this->id;
171 171
     }
172 172
 
173
+    /**
174
+     * @param string $status
175
+     */
173 176
     public function __construct($status)
174 177
     {
175 178
         $this->status   = $status;
Please login to merge, or discard this patch.
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1436Test.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         return $this->parent;
82 82
     }
83 83
 
84
+    /**
85
+     * @param null|DDC1436Page $parent
86
+     */
84 87
     public function setParent($parent)
85 88
     {
86 89
         $this->parent = $parent;
Please login to merge, or discard this patch.