Failed Conditions
Pull Request — experimental/3.1 (#2525)
by Kiyotaka
54:52 queued 29:13
created
src/Eccube/Controller/Admin/Setting/System/LogController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -108,6 +108,9 @@
 block discarded – undo
108 108
         ];
109 109
     }
110 110
 
111
+    /**
112
+     * @param string $logFile
113
+     */
111 114
     private function parseLogFile($logFile, $formData)
112 115
     {
113 116
         $log = array();
Please login to merge, or discard this patch.
src/Eccube/Controller/NonMemberShoppingController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -474,7 +474,7 @@
 block discarded – undo
474 474
      *
475 475
      * @param Application $app
476 476
      * @param array $data リクエストパラメータ
477
-     * @return array
477
+     * @return \Symfony\Component\Validator\ConstraintViolationListInterface[]
478 478
      */
479 479
     protected function customerValidation(Application $app, array $data)
480 480
     {
Please login to merge, or discard this patch.
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.