@@ -32,6 +32,9 @@ |
||
| 32 | 32 | { |
| 33 | 33 | protected $trait_proxies_directory; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $dir |
|
| 37 | + */ |
|
| 35 | 38 | public function setTraitProxiesDirectory($dir) |
| 36 | 39 | { |
| 37 | 40 | $this->trait_proxies_directory = $dir; |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\Doctrine\Query; |
| 15 | 15 | |
| 16 | -use Doctrine\ORM\Query\Expr; |
|
| 17 | 16 | use Doctrine\ORM\QueryBuilder; |
| 17 | +use Doctrine\ORM\Query\Expr; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * WHERE句を組み立てるクラス。 |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | use Symfony\Component\Form\Extension\Core\Type\EmailType; |
| 35 | 35 | use Symfony\Component\Form\Extension\Core\Type\HiddenType; |
| 36 | 36 | use Symfony\Component\Form\Extension\Core\Type\NumberType; |
| 37 | -use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 38 | 37 | use Symfony\Component\Form\Extension\Core\Type\TextType; |
| 38 | +use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
| 39 | 39 | use Symfony\Component\Form\FormBuilderInterface; |
| 40 | 40 | use Symfony\Component\Form\FormError; |
| 41 | 41 | use Symfony\Component\Form\FormEvent; |
@@ -126,7 +126,7 @@ |
||
| 126 | 126 | } |
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | - * @param $Carts |
|
| 129 | + * @param \Eccube\Entity\Cart[] $Carts |
|
| 130 | 130 | * |
| 131 | 131 | * @return \Symfony\Component\HttpFoundation\RedirectResponse |
| 132 | 132 | */ |
@@ -59,6 +59,9 @@ discard block |
||
| 59 | 59 | return $this; |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param integer $value |
|
| 64 | + */ |
|
| 62 | 65 | public function 詳細検索_ステータス($value) |
| 63 | 66 | { |
| 64 | 67 | $this->tester->click(self::$詳細検索ボタン); |
@@ -155,6 +158,9 @@ discard block |
||
| 155 | 158 | return $this; |
| 156 | 159 | } |
| 157 | 160 | |
| 161 | + /** |
|
| 162 | + * @param integer $rowNum |
|
| 163 | + */ |
|
| 158 | 164 | public function Accept_複製する($rowNum) |
| 159 | 165 | { |
| 160 | 166 | $modalCssSelector = "#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(2) div.modal"; |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | /** |
| 97 | 97 | * 金額をポイントに変換する. |
| 98 | 98 | * |
| 99 | - * @param $price |
|
| 99 | + * @param double $price |
|
| 100 | 100 | * |
| 101 | 101 | * @return float ポイント |
| 102 | 102 | * |
@@ -153,6 +153,9 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | + /** |
|
| 157 | + * @param integer $point |
|
| 158 | + */ |
|
| 156 | 159 | public function prepare(ItemHolderInterface $itemHolder, $point) |
| 157 | 160 | { |
| 158 | 161 | // ユーザの保有ポイントを減算 |
@@ -160,6 +163,9 @@ discard block |
||
| 160 | 163 | $Customer->setPoint($Customer->getPoint() - $point); |
| 161 | 164 | } |
| 162 | 165 | |
| 166 | + /** |
|
| 167 | + * @param integer $point |
|
| 168 | + */ |
|
| 163 | 169 | public function rollback(ItemHolderInterface $itemHolder, $point) |
| 164 | 170 | { |
| 165 | 171 | // 利用したポイントをユーザに戻す. |
@@ -250,6 +250,9 @@ |
||
| 250 | 250 | $this->updatePluginStatus('/status/uninstalled', $Plugin); |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | + /** |
|
| 254 | + * @param string $url |
|
| 255 | + */ |
|
| 253 | 256 | private function updatePluginStatus($url, Plugin $Plugin) |
| 254 | 257 | { |
| 255 | 258 | if ($Plugin->getSource()) { |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | * |
| 82 | 82 | * @throws PluginException |
| 83 | 83 | * |
| 84 | - * @param string $command |
|
| 84 | + * @param string[] $commands |
|
| 85 | 85 | */ |
| 86 | 86 | public function runCommand($commands, $output = null, $init = true) |
| 87 | 87 | { |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Eccube\EventListener; |
| 15 | 15 | |
| 16 | -use Doctrine\Dbal\Connection; |
|
| 17 | 16 | use Doctrine\DBAL\TransactionIsolationLevel; |
| 17 | +use Doctrine\Dbal\Connection; |
|
| 18 | 18 | use Doctrine\ORM\EntityManager; |
| 19 | 19 | use Doctrine\ORM\EntityManagerInterface; |
| 20 | 20 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |