Completed
Push — fix/double_slash_in_ogimage ( 075eff )
by Kiyotaka
13:49
created
tests/Eccube/Tests/Web/Admin/Content/FileControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -182,6 +182,9 @@
 block discarded – undo
182 182
         return $this->container->getParameter('kernel.project_dir').'/html/user_data';
183 183
     }
184 184
 
185
+    /**
186
+     * @param string $path
187
+     */
185 188
     private function getJailDir($path)
186 189
     {
187 190
         $realpath = realpath($path);
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/Admin/Content/NewsControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
         $this->assertTrue($this->client->getResponse()->isRedirect($redirectUrl));
74 74
     }
75 75
 
76
+    /**
77
+     * @param \Eccube\Entity\Member $TestCreator
78
+     */
76 79
     private function createNews($TestCreator, $sortNo = 1)
77 80
     {
78 81
         $TestNews = new \Eccube\Entity\News();
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/Admin/Order/CsvImportControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -197,6 +197,9 @@
 block discarded – undo
197 197
         self::assertEquals($this->parseDate('2018-03-22'), $Shipping3->getShippingDate());
198 198
     }
199 199
 
200
+    /**
201
+     * @param string $value
202
+     */
200 203
     private function parseDate($value)
201 204
     {
202 205
         $result = \DateTime::createFromFormat('Y-m-d', $value);
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/Admin/Product/ClassCategoryContorllerTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@  discard block
 block discarded – undo
243 243
         $this->assertContains($this->expected, $this->actual);
244 244
     }
245 245
 
246
+    /**
247
+     * @param \Eccube\Entity\Member $TestCreator
248
+     */
246 249
     private function newTestClassName($TestCreator)
247 250
     {
248 251
         $TestClassName = new \Eccube\Entity\ClassName();
@@ -253,6 +256,10 @@  discard block
 block discarded – undo
253 256
         return $TestClassName;
254 257
     }
255 258
 
259
+    /**
260
+     * @param \Eccube\Entity\Member $TestCreator
261
+     * @param \Eccube\Entity\ClassName $TestClassName
262
+     */
256 263
     private function newTestClassCategory($TestCreator, $TestClassName)
257 264
     {
258 265
         $TestClassCategory = new \Eccube\Entity\ClassCategory();
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/Admin/Setting/System/AuthorityControllerTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -198,9 +198,9 @@
 block discarded – undo
198 198
     }
199 199
 
200 200
     /**
201
-     * @param null $AuthorityRole
201
+     * @param \Eccube\Entity\AuthorityRole $AuthorityRole
202 202
      *
203
-     * @return array
203
+     * @return string
204 204
      */
205 205
     protected function createFormData($AuthorityRole = null)
206 206
     {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/Admin/Setting/System/MasterdataControllerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@
 block discarded – undo
423 423
     /**
424 424
      * @param string $entity
425 425
      *
426
-     * @return array
426
+     * @return string
427 427
      */
428 428
     protected function createFormDataEdit($entity = 'Eccube-Entity-Master-Sex')
429 429
     {
Please login to merge, or discard this patch.
tests/Eccube/Tests/Web/CartValidationTest.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2575,7 +2575,7 @@  discard block
 block discarded – undo
2575 2575
      * @param ProductClass $ProductClass
2576 2576
      * @param int $num
2577 2577
      *
2578
-     * @return mixed
2578
+     * @return \Symfony\Component\DomCrawler\Crawler|null
2579 2579
      */
2580 2580
     protected function scenarioCartIn(Customer $Customer, ProductClass $ProductClass, $num = 1)
2581 2581
     {
@@ -2596,7 +2596,7 @@  discard block
 block discarded – undo
2596 2596
     /**
2597 2597
      * @param $client
2598 2598
      *
2599
-     * @return mixed
2599
+     * @return \Symfony\Component\DomCrawler\Crawler|null
2600 2600
      */
2601 2601
     protected function scenarioConfirm(Customer $Customer, ProductClass $ProductClass)
2602 2602
     {
@@ -2612,7 +2612,7 @@  discard block
 block discarded – undo
2612 2612
      * @param string $confirmUrl
2613 2613
      * @param array $arrShopping
2614 2614
      *
2615
-     * @return mixed
2615
+     * @return \Symfony\Component\DomCrawler\Crawler|null
2616 2616
      */
2617 2617
     protected function scenarioComplete(Customer $Customer, $confirmUrl = '', $arrShopping = [])
2618 2618
     {
@@ -2648,7 +2648,7 @@  discard block
 block discarded – undo
2648 2648
      * @param $client
2649 2649
      * @param $productClassId
2650 2650
      *
2651
-     * @return mixed
2651
+     * @return \Symfony\Component\DomCrawler\Crawler|null
2652 2652
      */
2653 2653
     protected function scenarioCartUp(Customer $Customer, ProductClass $ProductClass)
2654 2654
     {
@@ -2733,7 +2733,7 @@  discard block
 block discarded – undo
2733 2733
     }
2734 2734
 
2735 2735
     /**
2736
-     * @param null $productName
2736
+     * @param string $productName
2737 2737
      * @param int  $productClassNum
2738 2738
      * @param int  $stock
2739 2739
      *
Please login to merge, or discard this patch.