@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * @Security("has_role('ROLE_ADMIN')") |
| 17 | 17 | * |
| 18 | 18 | * @param Application $app |
| 19 | - * @return \Symfony\Component\HttpFoundation\Response |
|
| 19 | + * @return string |
|
| 20 | 20 | */ |
| 21 | 21 | public function testAdmin(Application $app) |
| 22 | 22 | { |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | * This method should only be used to configure services and parameters. |
| 17 | 17 | * It should not get services. |
| 18 | 18 | * |
| 19 | - * @param Container $pimple A container instance |
|
| 20 | 19 | */ |
| 21 | 20 | public function register(Container $container) |
| 22 | 21 | { |
@@ -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; |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * JoinClause constructor. |
| 59 | - * @param $leftJoin |
|
| 59 | + * @param boolean $leftJoin |
|
| 60 | 60 | * @param $join |
| 61 | 61 | * @param $alias |
| 62 | 62 | * @param $conditionType |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | /** |
| 39 | 39 | * OrderByClause constructor. |
| 40 | - * @param $sort |
|
| 40 | + * @param string $sort |
|
| 41 | 41 | * @param string $order |
| 42 | 42 | */ |
| 43 | 43 | function __construct($sort, $order = 'asc') |
@@ -53,6 +53,9 @@ |
||
| 53 | 53 | $this->params = $params; |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | + /** |
|
| 57 | + * @param Expr\Comparison $expr |
|
| 58 | + */ |
|
| 56 | 59 | private static function newWhereClause($expr, $x, $y) |
| 57 | 60 | { |
| 58 | 61 | if ($y) { |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * |
| 39 | 39 | * @param array $searchData |
| 40 | - * @return QueryBuilder |
|
| 40 | + * @return \Doctrine\ORM\QueryBuilder |
|
| 41 | 41 | */ |
| 42 | 42 | public function getQueryBuilderBySearchDataForAdmin($searchData) |
| 43 | 43 | { |
@@ -16,6 +16,7 @@ discard block |
||
| 16 | 16 | { |
| 17 | 17 | /** |
| 18 | 18 | * Application Shortcut Methods |
| 19 | + * @param string $message |
|
| 19 | 20 | */ |
| 20 | 21 | public function addSuccess($message, $namespace = 'front') |
| 21 | 22 | { |
@@ -58,6 +59,9 @@ discard block |
||
| 58 | 59 | $this->addWarning('admin.delete.warning', 'admin'); |
| 59 | 60 | } |
| 60 | 61 | |
| 62 | + /** |
|
| 63 | + * @param string $targetPath |
|
| 64 | + */ |
|
| 61 | 65 | public function setLoginTargetPath($targetPath, $namespace = null) |
| 62 | 66 | { |
| 63 | 67 | if (is_null($namespace)) { |
@@ -109,7 +113,7 @@ discard block |
||
| 109 | 113 | * @param string $path フォワード先のパス |
| 110 | 114 | * @param array $requestParameters |
| 111 | 115 | * @param Response $response |
| 112 | - * @return Application |
|
| 116 | + * @return ApplicationTrait |
|
| 113 | 117 | */ |
| 114 | 118 | public function forwardChain($path, array $requestParameters = [], Response &$response = null) |
| 115 | 119 | { |
@@ -59,11 +59,17 @@ |
||
| 59 | 59 | */ |
| 60 | 60 | protected $formFactory; |
| 61 | 61 | |
| 62 | + /** |
|
| 63 | + * @param \Eccube\Application $app |
|
| 64 | + */ |
|
| 62 | 65 | protected function getSecurity($app) |
| 63 | 66 | { |
| 64 | 67 | return $this->tokenStorage; |
| 65 | 68 | } |
| 66 | 69 | |
| 70 | + /** |
|
| 71 | + * @param \Eccube\Application $app |
|
| 72 | + */ |
|
| 67 | 73 | protected function isTokenValid($app) |
| 68 | 74 | { |
| 69 | 75 | $csrf = $this->csrfTokenManager; |