@@ -725,7 +725,7 @@ |
||
| 725 | 725 | * 成功 : trueを返却 |
| 726 | 726 | * 失敗 : \Doctrine\DBAL\DBALExceptionエラーが発生( 接続に失敗した場合 )、エラー画面を表示しdie() |
| 727 | 727 | * 備考 : app['debug']がtrueの際は処理を行わない |
| 728 | - * @return boolean true |
|
| 728 | + * @return null|boolean true |
|
| 729 | 729 | * |
| 730 | 730 | */ |
| 731 | 731 | protected function checkDatabaseConnection() |
@@ -428,6 +428,9 @@ discard block |
||
| 428 | 428 | /** |
| 429 | 429 | * 登録、更新時のエラー画面表示 |
| 430 | 430 | * |
| 431 | + * @param Application $app |
|
| 432 | + * @param boolean $not_product_class |
|
| 433 | + * @param \Symfony\Component\Form\Form $classForm |
|
| 431 | 434 | */ |
| 432 | 435 | protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null) |
| 433 | 436 | { |
@@ -477,6 +480,7 @@ discard block |
||
| 477 | 480 | |
| 478 | 481 | /** |
| 479 | 482 | * 規格1と規格2を組み合わせた商品規格を作成 |
| 483 | + * @param Application $app |
|
| 480 | 484 | */ |
| 481 | 485 | private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null) |
| 482 | 486 | { |
@@ -564,6 +568,7 @@ discard block |
||
| 564 | 568 | * |
| 565 | 569 | * @param $productClassDest コピー先となる商品規格 |
| 566 | 570 | * @param $productClassOrig コピー元となる商品規格 |
| 571 | + * @param Application $app |
|
| 567 | 572 | */ |
| 568 | 573 | private function setDefualtProductClass($app, $productClassDest, $productClassOrig) { |
| 569 | 574 | $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate()); |
@@ -605,6 +610,7 @@ discard block |
||
| 605 | 610 | * 商品規格を登録 |
| 606 | 611 | * |
| 607 | 612 | * @param $ProductClasses 登録される商品規格 |
| 613 | + * @param Application $app |
|
| 608 | 614 | */ |
| 609 | 615 | private function insertProductClass($app, $Product, $ProductClasses) { |
| 610 | 616 | |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * Complete |
| 137 | 137 | * |
| 138 | 138 | * @param Application $app |
| 139 | - * @return mixed |
|
| 139 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 140 | 140 | */ |
| 141 | 141 | public function complete(Application $app) |
| 142 | 142 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * 会員のアクティベート(本会員化)を行う |
| 149 | 149 | * |
| 150 | 150 | * @param Application $app |
| 151 | - * @return mixed |
|
| 151 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 152 | 152 | */ |
| 153 | 153 | public function activate(Application $app, Request $request, $secret_key) |
| 154 | 154 | { |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
| 30 | 30 | use Symfony\Component\Finder\Finder; |
| 31 | 31 | use Symfony\Component\Yaml\Yaml; |
| 32 | -use Monolog\Logger; |
|
| 33 | 32 | |
| 34 | 33 | class FormEventSubscriber implements EventSubscriberInterface |
| 35 | 34 | { |