@@ -347,7 +347,7 @@ |
||
| 347 | 347 | * |
| 348 | 348 | * @param null $currency |
| 349 | 349 | * |
| 350 | - * @return bool|string |
|
| 350 | + * @return string|null |
|
| 351 | 351 | */ |
| 352 | 352 | public function getCurrencySymbol($currency = null) |
| 353 | 353 | { |
@@ -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 | { |
@@ -194,7 +194,7 @@ |
||
| 194 | 194 | /** |
| 195 | 195 | * 指定された複数ディレクトリのうち、いずれかのディレクトリ以下にファイルが存在するかを確認。 |
| 196 | 196 | * |
| 197 | - * @param $form FormInterface |
|
| 197 | + * @param FormInterface $form FormInterface |
|
| 198 | 198 | * @param $dirs array |
| 199 | 199 | */ |
| 200 | 200 | private function validateFilePath($form, $dirs) |
@@ -456,6 +456,9 @@ discard block |
||
| 456 | 456 | $I->see('[1]'); |
| 457 | 457 | } |
| 458 | 458 | |
| 459 | + /** |
|
| 460 | + * @param string $fileName |
|
| 461 | + */ |
|
| 459 | 462 | private function publishPlugin($fileName) |
| 460 | 463 | { |
| 461 | 464 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -602,6 +605,9 @@ discard block |
||
| 602 | 605 | /** @var Store_Plugin */ |
| 603 | 606 | protected $dependency; |
| 604 | 607 | |
| 608 | + /** |
|
| 609 | + * @param string $code |
|
| 610 | + */ |
|
| 605 | 611 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
| 606 | 612 | { |
| 607 | 613 | parent::__construct($I); |
@@ -734,6 +740,9 @@ discard block |
||
| 734 | 740 | return $this; |
| 735 | 741 | } |
| 736 | 742 | |
| 743 | + /** |
|
| 744 | + * @param string $fileName |
|
| 745 | + */ |
|
| 737 | 746 | protected function publishPlugin($fileName) |
| 738 | 747 | { |
| 739 | 748 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -752,6 +761,9 @@ discard block |
||
| 752 | 761 | /** @var string */ |
| 753 | 762 | private $code; |
| 754 | 763 | |
| 764 | + /** |
|
| 765 | + * @param string $code |
|
| 766 | + */ |
|
| 755 | 767 | public function __construct(AcceptanceTester $I, $code) |
| 756 | 768 | { |
| 757 | 769 | parent::__construct($I); |