@@ -131,7 +131,7 @@ |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * @param $rowArray |
| 134 | - * @param $key |
|
| 134 | + * @param string $key |
|
| 135 | 135 | * |
| 136 | 136 | * @return array |
| 137 | 137 | */ |
@@ -204,7 +204,7 @@ |
||
| 204 | 204 | /** |
| 205 | 205 | * EntityからTraitを削除. |
| 206 | 206 | * |
| 207 | - * @param $entityTokens Tokens Entityのトークン |
|
| 207 | + * @param Tokens $entityTokens Tokens Entityのトークン |
|
| 208 | 208 | * @param $trait string 削除するTraitのFQCN |
| 209 | 209 | */ |
| 210 | 210 | private function removeTrait($entityTokens, $trait) |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | * Send customer confirm mail. |
| 109 | 109 | * |
| 110 | 110 | * @param $Customer 会員情報 |
| 111 | - * @param $activateUrl アクティベート用url |
|
| 111 | + * @param string $activateUrl アクティベート用url |
|
| 112 | 112 | */ |
| 113 | 113 | public function sendCustomerConfirmMail(\Eccube\Entity\Customer $Customer, $activateUrl) |
| 114 | 114 | { |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | * |
| 306 | 306 | * @param \Eccube\Entity\Order $Order 受注情報 |
| 307 | 307 | * |
| 308 | - * @return string |
|
| 308 | + * @return \Swift_Message |
|
| 309 | 309 | */ |
| 310 | 310 | public function sendOrderMail(\Eccube\Entity\Order $Order) |
| 311 | 311 | { |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | * Send admin customer confirm mail. |
| 351 | 351 | * |
| 352 | 352 | * @param $Customer 会員情報 |
| 353 | - * @param $activateUrl アクティベート用url |
|
| 353 | + * @param string $activateUrl アクティベート用url |
|
| 354 | 354 | */ |
| 355 | 355 | public function sendAdminCustomerConfirmMail(\Eccube\Entity\Customer $Customer, $activateUrl) |
| 356 | 356 | { |
@@ -441,6 +441,7 @@ discard block |
||
| 441 | 441 | * Send password reset notification mail. |
| 442 | 442 | * |
| 443 | 443 | * @param $Customer 会員情報 |
| 444 | + * @param string $reset_url |
|
| 444 | 445 | */ |
| 445 | 446 | public function sendPasswordResetNotificationMail(\Eccube\Entity\Customer $Customer, $reset_url) |
| 446 | 447 | { |
@@ -487,6 +488,7 @@ discard block |
||
| 487 | 488 | * Send password reset notification mail. |
| 488 | 489 | * |
| 489 | 490 | * @param $Customer 会員情報 |
| 491 | + * @param string $password |
|
| 490 | 492 | */ |
| 491 | 493 | public function sendPasswordResetCompleteMail(\Eccube\Entity\Customer $Customer, $password) |
| 492 | 494 | { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | * @param string $path path to tar.gz/zip plugin file |
| 151 | 151 | * @param int $source |
| 152 | 152 | * |
| 153 | - * @return mixed |
|
| 153 | + * @return boolean |
|
| 154 | 154 | * |
| 155 | 155 | * @throws PluginException |
| 156 | 156 | * @throws \Exception |
@@ -274,6 +274,10 @@ discard block |
||
| 274 | 274 | } |
| 275 | 275 | } |
| 276 | 276 | |
| 277 | + /** |
|
| 278 | + * @param string $archive |
|
| 279 | + * @param string $dir |
|
| 280 | + */ |
|
| 277 | 281 | public function unpackPluginArchive($archive, $dir) |
| 278 | 282 | { |
| 279 | 283 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -333,6 +337,9 @@ discard block |
||
| 333 | 337 | } |
| 334 | 338 | } |
| 335 | 339 | |
| 340 | + /** |
|
| 341 | + * @param string $yml |
|
| 342 | + */ |
|
| 336 | 343 | public function readYml($yml) |
| 337 | 344 | { |
| 338 | 345 | if (file_exists($yml)) { |
@@ -350,6 +357,9 @@ discard block |
||
| 350 | 357 | // ディレクトリ名などに使われれるので厳しめ |
| 351 | 358 | } |
| 352 | 359 | |
| 360 | + /** |
|
| 361 | + * @param string $path |
|
| 362 | + */ |
|
| 353 | 363 | public function deleteFile($path) |
| 354 | 364 | { |
| 355 | 365 | $f = new Filesystem(); |
@@ -369,6 +379,9 @@ discard block |
||
| 369 | 379 | return $this->projectRoot.'/app/Plugin/'.$name; |
| 370 | 380 | } |
| 371 | 381 | |
| 382 | + /** |
|
| 383 | + * @param string $d |
|
| 384 | + */ |
|
| 372 | 385 | public function createPluginDir($d) |
| 373 | 386 | { |
| 374 | 387 | $b = @mkdir($d); |
@@ -429,6 +442,9 @@ discard block |
||
| 429 | 442 | return $p; |
| 430 | 443 | } |
| 431 | 444 | |
| 445 | + /** |
|
| 446 | + * @param string $method |
|
| 447 | + */ |
|
| 432 | 448 | public function callPluginManagerMethod($meta, $method) |
| 433 | 449 | { |
| 434 | 450 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |
@@ -962,7 +978,7 @@ discard block |
||
| 962 | 978 | * [プラグインコード]/Resource/assets |
| 963 | 979 | * 配下に置かれているファイルが所定の位置へコピーされる |
| 964 | 980 | * |
| 965 | - * @param $pluginBaseDir |
|
| 981 | + * @param string $pluginBaseDir |
|
| 966 | 982 | * @param $pluginCode |
| 967 | 983 | */ |
| 968 | 984 | public function copyAssets($pluginBaseDir, $pluginCode) |
@@ -998,7 +1014,7 @@ discard block |
||
| 998 | 1014 | * @param string $pluginVersion |
| 999 | 1015 | * @param string $remoteVersion |
| 1000 | 1016 | * |
| 1001 | - * @return mixed |
|
| 1017 | + * @return boolean |
|
| 1002 | 1018 | */ |
| 1003 | 1019 | public function isUpdate($pluginVersion, $remoteVersion) |
| 1004 | 1020 | { |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | /** |
| 280 | 280 | * 非会員情報を取得 |
| 281 | 281 | * |
| 282 | - * @param $sesisonKey |
|
| 282 | + * @param string $sesisonKey |
|
| 283 | 283 | * |
| 284 | 284 | * @return $Customer|null |
| 285 | 285 | */ |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | /** |
| 311 | 311 | * 受注情報を作成 |
| 312 | 312 | * |
| 313 | - * @param $Customer |
|
| 313 | + * @param null|Customer $Customer |
|
| 314 | 314 | * |
| 315 | 315 | * @return \Eccube\Entity\Order |
| 316 | 316 | */ |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | * 仮受注情報作成 |
| 341 | 341 | * |
| 342 | 342 | * @param $Customer |
| 343 | - * @param $preOrderId |
|
| 343 | + * @param string $preOrderId |
|
| 344 | 344 | * |
| 345 | 345 | * @return mixed |
| 346 | 346 | * |
@@ -1257,7 +1257,7 @@ discard block |
||
| 1257 | 1257 | * |
| 1258 | 1258 | * @param Order $Order |
| 1259 | 1259 | * |
| 1260 | - * @return MailHistory |
|
| 1260 | + * @return null|\Symfony\Component\HttpFoundation\Request |
|
| 1261 | 1261 | */ |
| 1262 | 1262 | public function sendOrderMail(Order $Order) |
| 1263 | 1263 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | * @param int|null|\Eccube\Entity\Master\Pref $pref 都道府県 |
| 70 | 70 | * @param int|null|\Eccube\Entity\Master\Country $country 国 |
| 71 | 71 | * |
| 72 | - * @return int |
|
| 72 | + * @return double |
|
| 73 | 73 | */ |
| 74 | 74 | public function getPriceIncTax($price, $product = null, $productClass = null, $pref = null, $country = null) |
| 75 | 75 | { |
@@ -97,8 +97,8 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * 課税規則に応じて端数処理を行う |
| 99 | 99 | * |
| 100 | - * @param float|integer $value 端数処理を行う数値 |
|
| 101 | - * @param integer $calcRule 課税規則 |
|
| 100 | + * @param integer $value 端数処理を行う数値 |
|
| 101 | + * @param integer $RoundingType |
|
| 102 | 102 | * |
| 103 | 103 | * @return double 端数処理後の数値 |
| 104 | 104 | */ |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | * This method should only be used to configure services and parameters. |
| 14 | 14 | * It should not get services. |
| 15 | 15 | * |
| 16 | - * @param Container $pimple A container instance |
|
| 17 | 16 | */ |
| 18 | 17 | public function register(Container $app) |
| 19 | 18 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Returns a list of functions to add to the existing list. |
| 55 | 55 | * |
| 56 | - * @return array An array of functions |
|
| 56 | + * @return TwigFunction[] An array of functions |
|
| 57 | 57 | */ |
| 58 | 58 | public function getFunctions() |
| 59 | 59 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * Returns a list of filters. |
| 79 | 79 | * |
| 80 | - * @return array |
|
| 80 | + * @return TwigFilter[] |
|
| 81 | 81 | */ |
| 82 | 82 | public function getFilters() |
| 83 | 83 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * Name of this extension |
| 105 | 105 | * |
| 106 | - * @return string |
|
| 106 | + * @return double |
|
| 107 | 107 | */ |
| 108 | 108 | public function getCalcIncTax($price, $tax_rate, $tax_rule) |
| 109 | 109 | { |
@@ -51,6 +51,9 @@ |
||
| 51 | 51 | $this->kernel = $kernel; |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | + /** |
|
| 55 | + * @param string $env |
|
| 56 | + */ |
|
| 54 | 57 | public function clearCache($env = null) |
| 55 | 58 | { |
| 56 | 59 | $console = new Application($this->kernel); |