@@ -194,7 +194,7 @@ |
||
194 | 194 | /** |
195 | 195 | * 指定された複数ディレクトリのうち、いずれかのディレクトリ以下にファイルが存在するかを確認。 |
196 | 196 | * |
197 | - * @param $form FormInterface |
|
197 | + * @param FormInterface $form FormInterface |
|
198 | 198 | * @param $dirs array |
199 | 199 | */ |
200 | 200 | private function validateFilePath($form, $dirs) |
@@ -24,8 +24,8 @@ |
||
24 | 24 | use Symfony\Component\Form\Extension\Core\Type\CollectionType; |
25 | 25 | use Symfony\Component\Form\Extension\Core\Type\FileType; |
26 | 26 | use Symfony\Component\Form\Extension\Core\Type\HiddenType; |
27 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
28 | 27 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
28 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
29 | 29 | use Symfony\Component\Form\FormBuilderInterface; |
30 | 30 | use Symfony\Component\Form\FormError; |
31 | 31 | use Symfony\Component\Form\FormEvent; |
@@ -15,8 +15,8 @@ |
||
15 | 15 | |
16 | 16 | use Eccube\Validator\EmailValidator\NoRFCEmailValidator; |
17 | 17 | use Symfony\Component\Validator\Constraint; |
18 | -use Symfony\Component\Validator\Constraints\EmailValidator as BaseEmailValidator; |
|
19 | 18 | use Symfony\Component\Validator\ConstraintValidator; |
19 | +use Symfony\Component\Validator\Constraints\EmailValidator as BaseEmailValidator; |
|
20 | 20 | use Symfony\Component\Validator\Exception\UnexpectedTypeException; |
21 | 21 | |
22 | 22 | /** |
@@ -14,8 +14,8 @@ |
||
14 | 14 | namespace Eccube\Plugin; |
15 | 15 | |
16 | 16 | use Doctrine\DBAL\Connection; |
17 | -use Doctrine\DBAL\Migrations\Migration; |
|
18 | 17 | use Doctrine\DBAL\Migrations\Configuration\Configuration; |
18 | +use Doctrine\DBAL\Migrations\Migration; |
|
19 | 19 | use Symfony\Component\DependencyInjection\ContainerInterface; |
20 | 20 | |
21 | 21 | abstract class AbstractPluginManager |
@@ -132,7 +132,7 @@ |
||
132 | 132 | * @param string $where 追加の検索条件 |
133 | 133 | * @param string[] $parameters 追加の検索パラメーター |
134 | 134 | * |
135 | - * @return array ページ属性の配列 |
|
135 | + * @return null|\Symfony\Component\HttpFoundation\Request ページ属性の配列 |
|
136 | 136 | */ |
137 | 137 | public function getPageList($where = null, $parameters = []) |
138 | 138 | { |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | $logger->error($message, $context); |
38 | 38 | } |
39 | 39 | |
40 | +/** |
|
41 | + * @param string $message |
|
42 | + */ |
|
40 | 43 | function log_warning($message, array $context = []) |
41 | 44 | { |
42 | 45 | $logger = LoggerFacade::create(); |
@@ -55,6 +58,9 @@ discard block |
||
55 | 58 | $logger->info($message, $context); |
56 | 59 | } |
57 | 60 | |
61 | +/** |
|
62 | + * @param string $message |
|
63 | + */ |
|
58 | 64 | function log_debug($message, array $context = []) |
59 | 65 | { |
60 | 66 | $logger = LoggerFacade::create(); |
@@ -82,7 +82,7 @@ |
||
82 | 82 | * |
83 | 83 | * @throws PluginException |
84 | 84 | * |
85 | - * @param string $command |
|
85 | + * @param string[] $commands |
|
86 | 86 | */ |
87 | 87 | public function runCommand($commands, $output = null, $init = true) |
88 | 88 | { |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use Eccube\Repository\OrderRepository; |
29 | 29 | use Eccube\Repository\ProductRepository; |
30 | 30 | use Eccube\Repository\ShippingRepository; |
31 | -use Eccube\Util\EntityUtil; |
|
32 | 31 | use Eccube\Util\FormUtil; |
33 | 32 | use Symfony\Component\Form\FormFactoryInterface; |
34 | 33 | use Symfony\Component\HttpFoundation\Request; |
@@ -240,7 +240,7 @@ |
||
240 | 240 | /** |
241 | 241 | * PDFファイルを出力する. |
242 | 242 | * |
243 | - * @return string|mixed |
|
243 | + * @return string |
|
244 | 244 | */ |
245 | 245 | public function outputPdf() |
246 | 246 | { |
@@ -559,7 +559,7 @@ |
||
559 | 559 | $arrOrder[$i][2] = ''; |
560 | 560 | $arrOrder[$i][3] = ''; |
561 | 561 | |
562 | - foreach($Order->getTaxFreeDiscountItems() as $Item) { |
|
562 | + foreach ($Order->getTaxFreeDiscountItems() as $Item) { |
|
563 | 563 | ++$i; |
564 | 564 | $arrOrder[$i][0] = ''; |
565 | 565 | $arrOrder[$i][1] = ''; |
@@ -249,6 +249,9 @@ |
||
249 | 249 | $this->updatePluginStatus('/status/uninstalled', $Plugin); |
250 | 250 | } |
251 | 251 | |
252 | + /** |
|
253 | + * @param string $url |
|
254 | + */ |
|
252 | 255 | private function updatePluginStatus($url, Plugin $Plugin) |
253 | 256 | { |
254 | 257 | if ($Plugin->getSource()) { |