Completed
Push — dev/backport-4.0 ( c29f61 )
by Kiyotaka
12:10 queued 12s
created
src/Eccube/Entity/Cart.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -275,6 +275,7 @@  discard block
 block discarded – undo
275 275
 
276 276
         /**
277 277
          * Alias of setTotalPrice.
278
+         * @param integer $total
278 279
          */
279 280
         public function setTotal($total)
280 281
         {
@@ -330,6 +331,7 @@  discard block
 block discarded – undo
330 331
 
331 332
         /**
332 333
          * {@inheritdoc}
334
+         * @param integer $total
333 335
          */
334 336
         public function setDeliveryFeeTotal($total)
335 337
         {
Please login to merge, or discard this patch.
src/Eccube/Util/EntityUtil.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      * AbstractEntity::toArray() と異なり再帰処理しない.
78 78
      * プロパティの値がオブジェクトの場合は、クラス名を出力する.
79 79
      *
80
-     * @param object $entity 対象のエンティティ
80
+     * @param \Eccube\Tests\Util\TestEntity $entity 対象のエンティティ
81 81
      *
82 82
      * @return array エンティティのプロパティの配列
83 83
      */
Please login to merge, or discard this patch.
tests/Eccube/Tests/Command/PluginDevelopEntityFromDbTest.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -189,6 +189,9 @@  discard block
 block discarded – undo
189 189
         throw new \Exception('Test case not set.'.PHP_EOL.' output='.$output);
190 190
     }
191 191
 
192
+    /**
193
+     * @param string $output
194
+     */
192 195
     protected function assertInOutput($output, $msg)
193 196
     {
194 197
         if (strpos($output, $msg) !== false) {
@@ -207,6 +210,9 @@  discard block
 block discarded – undo
207 210
         $this->testCase = $testCase;
208 211
     }
209 212
 
213
+    /**
214
+     * @param string $pluginPath
215
+     */
210 216
     protected function removePluginDir($pluginPath)
211 217
     {
212 218
         if (!empty($pluginPath) && file_exists($pluginPath)) {
@@ -215,6 +221,9 @@  discard block
 block discarded – undo
215 221
         }
216 222
     }
217 223
 
224
+    /**
225
+     * @param string $codePath
226
+     */
218 227
     protected function createPluginDir($codePath)
219 228
     {
220 229
         if (!is_dir($codePath)) {
@@ -222,6 +231,9 @@  discard block
 block discarded – undo
222 231
         }
223 232
     }
224 233
 
234
+    /**
235
+     * @param string $code
236
+     */
225 237
     protected function removePluginDb($code)
226 238
     {
227 239
         /* @var $entityManager \Doctrine\ORM\EntityManager  */
@@ -237,6 +249,9 @@  discard block
 block discarded – undo
237 249
         }
238 250
     }
239 251
 
252
+    /**
253
+     * @param string[] $ff
254
+     */
240 255
     protected function checkFileAndFolder($ff)
241 256
     {
242 257
         foreach ($ff as $path) {
@@ -245,6 +260,9 @@  discard block
 block discarded – undo
245 260
         }
246 261
     }
247 262
 
263
+    /**
264
+     * @param string $code
265
+     */
248 266
     private function dropTable($code)
249 267
     {
250 268
         $tableName = 'plg_'.strtolower($code);
@@ -273,6 +291,9 @@  discard block
 block discarded – undo
273 291
         }
274 292
     }
275 293
 
294
+    /**
295
+     * @param string $code
296
+     */
276 297
     private function createTable($code)
277 298
     {
278 299
         $schema = new \Doctrine\DBAL\Schema\Schema();
Please login to merge, or discard this patch.
tests/Eccube/Tests/Command/PluginDevelopEntityFromYamlTest.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -184,6 +184,9 @@  discard block
 block discarded – undo
184 184
         throw new \Exception('Test case not set.'.PHP_EOL.' output='.$output);
185 185
     }
186 186
 
187
+    /**
188
+     * @param string $output
189
+     */
187 190
     protected function assertInOutput($output, $msg)
188 191
     {
189 192
         if (strpos($output, $msg) !== false) {
@@ -202,6 +205,9 @@  discard block
 block discarded – undo
202 205
         $this->testCase = $testCase;
203 206
     }
204 207
 
208
+    /**
209
+     * @param string $pluginPath
210
+     */
205 211
     protected function removePluginDir($pluginPath)
206 212
     {
207 213
         if (!empty($pluginPath) && file_exists($pluginPath)) {
@@ -210,6 +216,10 @@  discard block
 block discarded – undo
210 216
         }
211 217
     }
212 218
 
219
+    /**
220
+     * @param string $codePath
221
+     * @param string $code
222
+     */
213 223
     protected function createPluginDir($codePath, $code)
214 224
     {
215 225
         if (!is_dir($codePath)) {
@@ -233,6 +243,9 @@  discard block
 block discarded – undo
233 243
         }
234 244
     }
235 245
 
246
+    /**
247
+     * @param string[] $ff
248
+     */
236 249
     protected function checkFileAndFolder($ff)
237 250
     {
238 251
         foreach ($ff as $path) {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Command/PluginDevelopGenerateTest.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -301,6 +301,9 @@  discard block
 block discarded – undo
301 301
         throw new \Exception('Test case not set.'.PHP_EOL.' output='.$output);
302 302
     }
303 303
 
304
+    /**
305
+     * @param string $output
306
+     */
304 307
     protected function assertInOutput($output, $msg)
305 308
     {
306 309
         if (strpos($output, $msg) !== false) {
@@ -319,6 +322,9 @@  discard block
 block discarded – undo
319 322
         $this->testCase = $testCase;
320 323
     }
321 324
 
325
+    /**
326
+     * @param string $pluginPath
327
+     */
322 328
     protected function removePluginDir($pluginPath)
323 329
     {
324 330
         if (!empty($pluginPath) && file_exists($pluginPath)) {
@@ -327,6 +333,9 @@  discard block
 block discarded – undo
327 333
         }
328 334
     }
329 335
 
336
+    /**
337
+     * @param string $code
338
+     */
330 339
     protected function removePluginDb($code)
331 340
     {
332 341
         /* @var $entityManager \Doctrine\ORM\EntityManager  */
@@ -342,6 +351,9 @@  discard block
 block discarded – undo
342 351
         }
343 352
     }
344 353
 
354
+    /**
355
+     * @param string[] $ff
356
+     */
345 357
     protected function checkFileAndFolder($ff)
346 358
     {
347 359
         foreach ($ff as $path) {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Command/QuestionHelperMock.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param callable
35
+     * @param callable $mockHandler
35 36
      */
36 37
     public function setMockHandler($mockHandler)
37 38
     {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Doctrine/Query/JoinCustomizerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
 {
69 69
     private $callback;
70 70
 
71
+    /**
72
+     * @param \Closure $callback
73
+     */
71 74
     public function __construct($callback)
72 75
     {
73 76
         $this->callback = $callback;
Please login to merge, or discard this patch.
tests/Eccube/Tests/Doctrine/Query/OrderByCustomizerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * OrderByCustomizerTest_Customizer constructor.
91 91
      *
92
-     * @param $closure
92
+     * @param \Closure $closure
93 93
      */
94 94
     public function __construct($closure)
95 95
     {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Doctrine/Query/WhereCustomizerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
      */
71 71
     private $callback;
72 72
 
73
+    /**
74
+     * @param \Closure $callback
75
+     */
73 76
     public function __construct($callback)
74 77
     {
75 78
         $this->callback = $callback;
Please login to merge, or discard this patch.