Completed
Push — experimental/3.1 ( fc1bb3...d982bc )
by chihiro
23s
created
src/Eccube/Form/Type/Front/CustomerAddressType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,6 @@
 block discarded – undo
59 59
     protected $app;
60 60
 
61 61
     /**
62
-     * @param array $config
63 62
      */
64 63
     public function __construct()
65 64
     {
Please login to merge, or discard this patch.
src/Eccube/Form/Type/SearchProductBlockType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@
 block discarded – undo
48 48
     /**
49 49
      * SearchProductType constructor.
50 50
      *
51
-     * @param Application $app
52 51
      */
53 52
     public function __construct()
54 53
     {
Please login to merge, or discard this patch.
src/Eccube/Repository/BlockRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @deprecated 呼び出し元で制御する
50 50
      * @param $block_id
51 51
      * @param $DeviceType
52
-     * @return array|\Eccube\Entity\Block
52
+     * @return Block|null
53 53
      */
54 54
     public function findOrCreate($block_id, $DeviceType)
55 55
     {
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      * ブロック一覧の取得.
112 112
      *
113 113
      * @param  \Eccube\Entity\Master\DeviceType $DeviceType
114
-     * @return array
114
+     * @return null|\Symfony\Component\HttpFoundation\Request
115 115
      */
116 116
     public function getList($DeviceType)
117 117
     {
Please login to merge, or discard this patch.
src/Eccube/Repository/DeliveryRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * @deprecated 呼び出し元で制御する
43
-     * @param $id
43
+     * @param integer $id
44 44
      * @return \Eccube\Entity\Delivery|null|object
45 45
      */
46 46
     public function findOrCreate($id)
Please login to merge, or discard this patch.
src/Eccube/Service/PluginService.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -77,6 +77,9 @@  discard block
 block discarded – undo
77 77
     const CONFIG_YML = 'config.yml';
78 78
     const EVENT_YML = 'event.yml';
79 79
 
80
+    /**
81
+     * @param string $path
82
+     */
80 83
     public function install($path, $source = 0)
81 84
     {
82 85
         $pluginBaseDir = null;
@@ -137,6 +140,9 @@  discard block
 block discarded – undo
137 140
         }
138 141
     }
139 142
 
143
+    /**
144
+     * @param string $dir
145
+     */
140 146
     public function unpackPluginArchive($archive, $dir)
141 147
     {
142 148
         $extension = pathinfo($archive, PATHINFO_EXTENSION);
@@ -196,6 +202,9 @@  discard block
 block discarded – undo
196 202
         }
197 203
     }
198 204
 
205
+    /**
206
+     * @param string $yml
207
+     */
199 208
     public function readYml($yml)
200 209
     {
201 210
         if (file_exists($yml)) {
@@ -213,6 +222,9 @@  discard block
 block discarded – undo
213 222
         // ディレクトリ名などに使われれるので厳しめ
214 223
     }
215 224
 
225
+    /**
226
+     * @param string $path
227
+     */
216 228
     public function deleteFile($path)
217 229
     {
218 230
         $f = new Filesystem();
@@ -232,6 +244,9 @@  discard block
 block discarded – undo
232 244
         return $this->appConfig['plugin_realdir'].'/'.$name;
233 245
     }
234 246
 
247
+    /**
248
+     * @param string $d
249
+     */
235 250
     public function createPluginDir($d)
236 251
     {
237 252
         $b = @mkdir($d);
@@ -291,6 +306,9 @@  discard block
 block discarded – undo
291 306
         return $p;
292 307
     }
293 308
 
309
+    /**
310
+     * @param string $method
311
+     */
294 312
     public function callPluginManagerMethod($meta, $method)
295 313
     {
296 314
         $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager';
@@ -363,6 +381,9 @@  discard block
 block discarded – undo
363 381
         return true;
364 382
     }
365 383
 
384
+    /**
385
+     * @param string $path
386
+     */
366 387
     public function update(\Eccube\Entity\Plugin $plugin, $path)
367 388
     {
368 389
         $pluginBaseDir = null;
Please login to merge, or discard this patch.
src/Eccube/Service/ShoppingService.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     /**
221 221
      * 非会員情報を取得
222 222
      *
223
-     * @param $sesisonKey
223
+     * @param string $sesisonKey
224 224
      * @return $Customer|null
225 225
      */
226 226
     public function getNonMember($sesisonKey)
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
     /**
253 253
      * 受注情報を作成
254 254
      *
255
-     * @param $Customer
255
+     * @param null|Customer $Customer
256 256
      * @return \Eccube\Entity\Order
257 257
      */
258 258
     public function createOrder($Customer)
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      * 仮受注情報作成
282 282
      *
283 283
      * @param $Customer
284
-     * @param $preOrderId
284
+     * @param string $preOrderId
285 285
      * @return mixed
286 286
      * @throws \Doctrine\ORM\NoResultException
287 287
      * @throws \Doctrine\ORM\NonUniqueResultException
@@ -1403,7 +1403,7 @@  discard block
 block discarded – undo
1403 1403
      * 受注メール送信を行う
1404 1404
      *
1405 1405
      * @param Order $Order
1406
-     * @return MailHistory
1406
+     * @return null|\Symfony\Component\HttpFoundation\Request
1407 1407
      */
1408 1408
     public function sendOrderMail(Order $Order)
1409 1409
     {
Please login to merge, or discard this patch.
src/Eccube/Form/Type/SearchProductType.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,6 @@
 block discarded – undo
48 48
     /**
49 49
      * SearchProductType constructor.
50 50
      *
51
-     * @param Application $app
52 51
      */
53 52
     public function __construct()
54 53
     {
Please login to merge, or discard this patch.
src/Eccube/Controller/Admin/Product/ProductClassController.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -603,6 +603,9 @@  discard block
 block discarded – undo
603 603
     /**
604 604
      * 登録、更新時のエラー画面表示
605 605
      *
606
+     * @param Application $app
607
+     * @param boolean $not_product_class
608
+     * @param \Symfony\Component\Form\FormInterface $classForm
606 609
      */
607 610
     protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null)
608 611
     {
@@ -654,6 +657,7 @@  discard block
 block discarded – undo
654 657
 
655 658
     /**
656 659
      * 規格1と規格2を組み合わせた商品規格を作成
660
+     * @param Application $app
657 661
      */
658 662
     private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null)
659 663
     {
@@ -741,6 +745,7 @@  discard block
 block discarded – undo
741 745
      *
742 746
      * @param $productClassDest ProductClass コピー先となる商品規格
743 747
      * @param $productClassOrig ProductClass コピー元となる商品規格
748
+     * @param Application $app
744 749
      */
745 750
     private function setDefaultProductClass($app, $productClassDest, $productClassOrig) {
746 751
         $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate());
Please login to merge, or discard this patch.
src/Eccube/Repository/CustomerRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,7 +392,7 @@
 block discarded – undo
392 392
     /**
393 393
      * 会員の初回購入時間、購入時間、購入回数、購入金額を更新する
394 394
      *
395
-     * @param $app
395
+     * @param \Eccube\Application $app
396 396
      * @param  Customer $Customer
397 397
      * @param  $orderStatusId
398 398
      */
Please login to merge, or discard this patch.