@@ -84,6 +84,9 @@ discard block |
||
| 84 | 84 | $this->configureTranslations($container, $enabled, $pluginDir); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | + /** |
|
| 88 | + * @param string $pluginDir |
|
| 89 | + */ |
|
| 87 | 90 | protected function configureTwigPaths(ContainerBuilder $container, $enabled, $pluginDir) |
| 88 | 91 | { |
| 89 | 92 | $paths = []; |
@@ -103,6 +106,9 @@ discard block |
||
| 103 | 106 | } |
| 104 | 107 | } |
| 105 | 108 | |
| 109 | + /** |
|
| 110 | + * @param string $pluginDir |
|
| 111 | + */ |
|
| 106 | 112 | protected function configureTranslations(ContainerBuilder $container, $enabled, $pluginDir) |
| 107 | 113 | { |
| 108 | 114 | $paths = []; |
@@ -22,8 +22,6 @@ |
||
| 22 | 22 | use Doctrine\ORM\Query\AST\PartialObjectExpression; |
| 23 | 23 | use Doctrine\ORM\Query\AST\SelectExpression; |
| 24 | 24 | use Doctrine\ORM\Query\AST\SelectStatement; |
| 25 | -use Doctrine\ORM\Query\Expr\OrderBy; |
|
| 26 | -use Doctrine\ORM\Query\Expr\Select; |
|
| 27 | 25 | use Doctrine\ORM\Query\SqlWalker; |
| 28 | 26 | |
| 29 | 27 | /** |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * JoinClause constructor. |
| 47 | 47 | * |
| 48 | - * @param $leftJoin |
|
| 48 | + * @param boolean $leftJoin |
|
| 49 | 49 | * @param $join |
| 50 | 50 | * @param $alias |
| 51 | 51 | * @param $conditionType |
@@ -260,6 +260,9 @@ |
||
| 260 | 260 | }); |
| 261 | 261 | } |
| 262 | 262 | |
| 263 | + /** |
|
| 264 | + * @param string $key |
|
| 265 | + */ |
|
| 263 | 266 | protected function addErrors($key, FormInterface $form, ConstraintViolationListInterface $errors) |
| 264 | 267 | { |
| 265 | 268 | foreach ($errors as $error) { |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | use Symfony\Component\Form\FormEvents; |
| 33 | 33 | use Symfony\Component\Form\FormInterface; |
| 34 | 34 | use Symfony\Component\OptionsResolver\OptionsResolver; |
| 35 | -use Symfony\Component\Validator\Constraints as Assert; |
|
| 36 | 35 | use Symfony\Component\Validator\ConstraintViolationListInterface; |
| 36 | +use Symfony\Component\Validator\Constraints as Assert; |
|
| 37 | 37 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 38 | 38 | |
| 39 | 39 | class ProductClassEditType extends AbstractType |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | protected $eccubeConfig; |
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | - * @param array $config |
|
| 40 | 39 | */ |
| 41 | 40 | public function __construct(EccubeConfig $eccubeConfig) |
| 42 | 41 | { |
@@ -34,7 +34,6 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * SearchProductType constructor. |
| 36 | 36 | * |
| 37 | - * @param Application $app |
|
| 38 | 37 | */ |
| 39 | 38 | public function __construct(CategoryRepository $categoryRepository) |
| 40 | 39 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * ShippingMultipleItemType constructor. |
| 54 | 54 | * |
| 55 | - * @param array $eccubeConfig |
|
| 55 | + * @param EccubeConfig $eccubeConfig |
|
| 56 | 56 | * @param Session $session |
| 57 | 57 | * @param AuthorizationCheckerInterface $authorizationChecker |
| 58 | 58 | * @param TokenStorageInterface $tokenStorage |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * @param $block_id |
| 52 | 52 | * @param $DeviceType |
| 53 | 53 | * |
| 54 | - * @return array|\Eccube\Entity\Block |
|
| 54 | + * @return Block|null |
|
| 55 | 55 | */ |
| 56 | 56 | public function findOrCreate($block_id, $DeviceType) |
| 57 | 57 | { |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * |
| 113 | 113 | * @param \Eccube\Entity\Master\DeviceType $DeviceType |
| 114 | 114 | * |
| 115 | - * @return array |
|
| 115 | + * @return null|\Symfony\Component\HttpFoundation\Request |
|
| 116 | 116 | */ |
| 117 | 117 | public function getList($DeviceType) |
| 118 | 118 | { |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | * @param int|null|\Eccube\Entity\Master\Pref $Pref 都道府県 |
| 91 | 91 | * @param int|null|\Eccube\Entity\Master\Country $Country 国 |
| 92 | 92 | * |
| 93 | - * @return \Eccube\Entity\TaxRule 税設定情報 |
|
| 93 | + * @return integer 税設定情報 |
|
| 94 | 94 | * |
| 95 | 95 | * @throws NoResultException |
| 96 | 96 | */ |
@@ -15,12 +15,12 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\ORM\NoResultException; |
| 17 | 17 | use Eccube\Common\EccubeConfig; |
| 18 | +use Eccube\Entity\BaseInfo; |
|
| 18 | 19 | use Eccube\Entity\Customer; |
| 19 | 20 | use Eccube\Entity\TaxRule; |
| 20 | 21 | use Symfony\Bridge\Doctrine\RegistryInterface; |
| 21 | 22 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
| 22 | 23 | use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; |
| 23 | -use Eccube\Entity\BaseInfo; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * TaxRuleRepository |