@@ -404,6 +404,9 @@ discard block |
||
404 | 404 | $Horizon->インストール(); |
405 | 405 | } |
406 | 406 | |
407 | + /** |
|
408 | + * @param string $fileName |
|
409 | + */ |
|
407 | 410 | private function publishPlugin($fileName) |
408 | 411 | { |
409 | 412 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -547,6 +550,9 @@ discard block |
||
547 | 550 | /** @var Store_Plugin */ |
548 | 551 | protected $dependency; |
549 | 552 | |
553 | + /** |
|
554 | + * @param string $code |
|
555 | + */ |
|
550 | 556 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
551 | 557 | { |
552 | 558 | parent::__construct($I); |
@@ -679,6 +685,9 @@ discard block |
||
679 | 685 | return $this; |
680 | 686 | } |
681 | 687 | |
688 | + /** |
|
689 | + * @param string $fileName |
|
690 | + */ |
|
682 | 691 | protected function publishPlugin($fileName) |
683 | 692 | { |
684 | 693 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -697,6 +706,9 @@ discard block |
||
697 | 706 | /** @var string */ |
698 | 707 | private $code; |
699 | 708 | |
709 | + /** |
|
710 | + * @param string $code |
|
711 | + */ |
|
700 | 712 | public function __construct(AcceptanceTester $I, $code) |
701 | 713 | { |
702 | 714 | parent::__construct($I); |
@@ -112,6 +112,9 @@ |
||
112 | 112 | } |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param string $outputDir |
|
117 | + */ |
|
115 | 118 | protected function removeOutputDir($outputDir) |
116 | 119 | { |
117 | 120 | if (file_exists($outputDir)) { |
@@ -45,7 +45,6 @@ discard block |
||
45 | 45 | * @param callable $callback Metadata を生成した後に実行されるコールバック関数 |
46 | 46 | * @param array $generatedFiles Proxy ファイルパスの配列 |
47 | 47 | * @param string $proxiesDirectory Proxy ファイルを格納したディレクトリ |
48 | - * @param bool $saveMode UpdateSchema を即時実行する場合 true |
|
49 | 48 | * @param string $outputDir Metadata の出力先ディレクトリ |
50 | 49 | */ |
51 | 50 | public function executeCallback(callable $callback, $generatedFiles, $proxiesDirectory, $outputDir = null) |
@@ -107,7 +106,7 @@ discard block |
||
107 | 106 | /** |
108 | 107 | * ネームスペースに含まれるEntityのテーブルを削除する |
109 | 108 | * |
110 | - * @param $targetNamespace string 削除対象のネームスペース |
|
109 | + * @param string $targetNamespace string 削除対象のネームスペース |
|
111 | 110 | */ |
112 | 111 | public function dropTable($targetNamespace) |
113 | 112 | { |
@@ -111,7 +111,6 @@ |
||
111 | 111 | /** |
112 | 112 | * Doctrineのキャッシュを削除します. |
113 | 113 | * |
114 | - * @param null $env |
|
115 | 114 | * |
116 | 115 | * @return string |
117 | 116 | * |
@@ -132,7 +132,7 @@ |
||
132 | 132 | * @param string $where 追加の検索条件 |
133 | 133 | * @param string[] $parameters 追加の検索パラメーター |
134 | 134 | * |
135 | - * @return array ページ属性の配列 |
|
135 | + * @return null|\Symfony\Component\HttpFoundation\Request ページ属性の配列 |
|
136 | 136 | */ |
137 | 137 | public function getPageList($where = null, $parameters = []) |
138 | 138 | { |
@@ -245,6 +245,9 @@ |
||
245 | 245 | $this->io->success('EC-CUBE installation successful.'); |
246 | 246 | } |
247 | 247 | |
248 | + /** |
|
249 | + * @param string $databaseUrl |
|
250 | + */ |
|
248 | 251 | protected function getDatabaseName($databaseUrl) |
249 | 252 | { |
250 | 253 | if (0 === strpos($databaseUrl, 'sqlite')) { |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | $logger->error($message, $context); |
38 | 38 | } |
39 | 39 | |
40 | +/** |
|
41 | + * @param string $message |
|
42 | + */ |
|
40 | 43 | function log_warning($message, array $context = []) |
41 | 44 | { |
42 | 45 | $logger = LoggerFacade::create(); |
@@ -55,6 +58,9 @@ discard block |
||
55 | 58 | $logger->info($message, $context); |
56 | 59 | } |
57 | 60 | |
61 | +/** |
|
62 | + * @param string $message |
|
63 | + */ |
|
58 | 64 | function log_debug($message, array $context = []) |
59 | 65 | { |
60 | 66 | $logger = LoggerFacade::create(); |
@@ -240,7 +240,7 @@ |
||
240 | 240 | /** |
241 | 241 | * PDFファイルを出力する. |
242 | 242 | * |
243 | - * @return string|mixed |
|
243 | + * @return string |
|
244 | 244 | */ |
245 | 245 | public function outputPdf() |
246 | 246 | { |
@@ -275,7 +275,7 @@ |
||
275 | 275 | * |
276 | 276 | * @param Request $request |
277 | 277 | * @param $secret_key |
278 | - * @return \Eccube\Entity\Cart|mixed |
|
278 | + * @return integer |
|
279 | 279 | */ |
280 | 280 | private function entryActivate(Request $request, $secret_key) |
281 | 281 | { |