@@ -740,7 +740,7 @@ |
||
| 740 | 740 | * 成功 : trueを返却 |
| 741 | 741 | * 失敗 : \Doctrine\DBAL\DBALExceptionエラーが発生( 接続に失敗した場合 )、エラー画面を表示しdie() |
| 742 | 742 | * 備考 : app['debug']がtrueの際は処理を行わない |
| 743 | - * @return boolean true |
|
| 743 | + * @return null|boolean true |
|
| 744 | 744 | * |
| 745 | 745 | */ |
| 746 | 746 | protected function checkDatabaseConnection() |
@@ -52,11 +52,17 @@ |
||
| 52 | 52 | return $form; |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param Application $app |
|
| 57 | + */ |
|
| 55 | 58 | protected function getSecurity($app) |
| 56 | 59 | { |
| 57 | 60 | return $app['security.token_storage']; |
| 58 | 61 | } |
| 59 | 62 | |
| 63 | + /** |
|
| 64 | + * @param Application $app |
|
| 65 | + */ |
|
| 60 | 66 | protected function isTokenValid($app) |
| 61 | 67 | { |
| 62 | 68 | $csrf = $app['form.csrf_provider']; |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | { |
| 37 | 37 | protected $app; |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param \Silex\Application $app |
|
| 41 | + */ |
|
| 39 | 42 | public function __construct($app) |
| 40 | 43 | { |
| 41 | 44 | $this->app = $app; |
@@ -529,6 +529,9 @@ discard block |
||
| 529 | 529 | /** |
| 530 | 530 | * 登録、更新時のエラー画面表示 |
| 531 | 531 | * |
| 532 | + * @param Application $app |
|
| 533 | + * @param boolean $not_product_class |
|
| 534 | + * @param \Symfony\Component\Form\FormInterface $classForm |
|
| 532 | 535 | */ |
| 533 | 536 | protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null) |
| 534 | 537 | { |
@@ -580,6 +583,7 @@ discard block |
||
| 580 | 583 | |
| 581 | 584 | /** |
| 582 | 585 | * 規格1と規格2を組み合わせた商品規格を作成 |
| 586 | + * @param Application $app |
|
| 583 | 587 | */ |
| 584 | 588 | private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null) |
| 585 | 589 | { |
@@ -667,6 +671,7 @@ discard block |
||
| 667 | 671 | * |
| 668 | 672 | * @param $productClassDest コピー先となる商品規格 |
| 669 | 673 | * @param $productClassOrig コピー元となる商品規格 |
| 674 | + * @param Application $app |
|
| 670 | 675 | */ |
| 671 | 676 | private function setDefualtProductClass($app, $productClassDest, $productClassOrig) { |
| 672 | 677 | $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate()); |
@@ -301,7 +301,6 @@ |
||
| 301 | 301 | * 対象プラグインの README を返却します。 |
| 302 | 302 | * |
| 303 | 303 | * @param Application $app |
| 304 | - * @param unknown $code |
|
| 305 | 304 | */ |
| 306 | 305 | public function readme(Application $app, Request $request, $id) |
| 307 | 306 | { |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | /** |
| 58 | 58 | * Constructor. |
| 59 | 59 | * |
| 60 | - * @param Query|QueryBuilder $query A Doctrine ORM query or query builder. |
|
| 60 | + * @param Query $query A Doctrine ORM query or query builder. |
|
| 61 | 61 | * @param boolean $fetchJoinCollection Whether the query joins a collection (true by default). |
| 62 | 62 | */ |
| 63 | 63 | public function __construct($query, $fetchJoinCollection = true) |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | { |
| 37 | 37 | protected $app; |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param \Silex\Application $app |
|
| 41 | + */ |
|
| 39 | 42 | public function __construct($app) |
| 40 | 43 | { |
| 41 | 44 | $this->app = $app; |