@@ -131,7 +131,7 @@ |
||
| 131 | 131 | /** |
| 132 | 132 | * @param \Eccube\Entity\Member $Member |
| 133 | 133 | * |
| 134 | - * @return void |
|
| 134 | + * @return boolean |
|
| 135 | 135 | */ |
| 136 | 136 | public function up(\Eccube\Entity\Member $Member) |
| 137 | 137 | { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * @param int|null|\Eccube\Entity\ProductClass $ProductClass 商品規格 |
| 66 | 66 | * @param int|null|\Eccube\Entity\Master\Pref $Pref 都道府県 |
| 67 | 67 | * @param int|null|\Eccube\Entity\Master\Country $Country 国 |
| 68 | - * @return \Eccube\Entity\TaxRule 税設定情報 |
|
| 68 | + * @return integer 税設定情報 |
|
| 69 | 69 | * |
| 70 | 70 | * @throws NoResultException |
| 71 | 71 | */ |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | /** |
| 234 | - * @param \Eccube\Entity\ProductClass|integer $ProductClass |
|
| 234 | + * @param string $ProductClass |
|
| 235 | 235 | * @param integer $quantity |
| 236 | 236 | * @return \Eccube\Service\CartService |
| 237 | 237 | * @throws CartException |
@@ -658,7 +658,7 @@ discard block |
||
| 658 | 658 | * 在庫数と販売制限数ともに個数が超えていれば、少ない方を適用させてメッセージを表示する |
| 659 | 659 | * |
| 660 | 660 | * @param ProductClass $ProductClass |
| 661 | - * @param $productName |
|
| 661 | + * @param string $productName |
|
| 662 | 662 | * @param $quantity |
| 663 | 663 | * @return int チェック後に更新した個数 |
| 664 | 664 | */ |
@@ -327,7 +327,6 @@ discard block |
||
| 327 | 327 | |
| 328 | 328 | /** |
| 329 | 329 | * @param $row |
| 330 | - * @param null $callback |
|
| 331 | 330 | */ |
| 332 | 331 | public function fputcsv($row) |
| 333 | 332 | { |
@@ -431,7 +430,6 @@ discard block |
||
| 431 | 430 | * XXX self::setExportQueryBuilder() をコールする前に EntityManager を取得したいので、引数で渡している |
| 432 | 431 | * |
| 433 | 432 | * @param array $searchData セッションから取得した検索条件の配列 |
| 434 | - * @param EntityManager $em |
|
| 435 | 433 | */ |
| 436 | 434 | protected function findDeserializeObjects(array &$searchData) |
| 437 | 435 | { |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | use Eccube\Common\Constant; |
| 28 | 28 | use Eccube\Util\EntityUtil; |
| 29 | -use Symfony\Component\Form\FormFactory; |
|
| 30 | 29 | use Symfony\Component\HttpFoundation\Request; |
| 31 | 30 | use Doctrine\Common\Collections\ArrayCollection; |
| 32 | 31 | |
@@ -23,8 +23,6 @@ |
||
| 23 | 23 | |
| 24 | 24 | namespace Eccube\Service; |
| 25 | 25 | |
| 26 | -use Eccube\Application; |
|
| 27 | - |
|
| 28 | 26 | |
| 29 | 27 | /** |
| 30 | 28 | * Copyright (C) 2012-2014 David de Boer <[email protected]> |
@@ -37,6 +37,9 @@ discard block |
||
| 37 | 37 | const EVENT_YML = 'event.yml'; |
| 38 | 38 | private $app; |
| 39 | 39 | |
| 40 | + /** |
|
| 41 | + * @param \Silex\Application $app |
|
| 42 | + */ |
|
| 40 | 43 | public function __construct($app) |
| 41 | 44 | { |
| 42 | 45 | $this->app = $app; |
@@ -102,6 +105,9 @@ discard block |
||
| 102 | 105 | } |
| 103 | 106 | } |
| 104 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $dir |
|
| 110 | + */ |
|
| 105 | 111 | public function unpackPluginArchive($archive, $dir) |
| 106 | 112 | { |
| 107 | 113 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -120,6 +126,9 @@ discard block |
||
| 120 | 126 | } |
| 121 | 127 | } |
| 122 | 128 | |
| 129 | + /** |
|
| 130 | + * @param string $dir |
|
| 131 | + */ |
|
| 123 | 132 | public function checkPluginArchiveContent($dir, array $config_cache = array()) |
| 124 | 133 | { |
| 125 | 134 | try { |
@@ -161,6 +170,9 @@ discard block |
||
| 161 | 170 | } |
| 162 | 171 | } |
| 163 | 172 | |
| 173 | + /** |
|
| 174 | + * @param string $yml |
|
| 175 | + */ |
|
| 164 | 176 | public function readYml($yml) |
| 165 | 177 | { |
| 166 | 178 | if (file_exists($yml)) { |
@@ -178,6 +190,9 @@ discard block |
||
| 178 | 190 | // ディレクトリ名などに使われれるので厳しめ |
| 179 | 191 | } |
| 180 | 192 | |
| 193 | + /** |
|
| 194 | + * @param string $path |
|
| 195 | + */ |
|
| 181 | 196 | public function deleteFile($path) |
| 182 | 197 | { |
| 183 | 198 | $f = new Filesystem(); |
@@ -197,6 +212,9 @@ discard block |
||
| 197 | 212 | return $this->app['config']['plugin_realdir'].'/'.$name; |
| 198 | 213 | } |
| 199 | 214 | |
| 215 | + /** |
|
| 216 | + * @param string $d |
|
| 217 | + */ |
|
| 200 | 218 | public function createPluginDir($d) |
| 201 | 219 | { |
| 202 | 220 | $b = @mkdir($d); |
@@ -256,6 +274,9 @@ discard block |
||
| 256 | 274 | return $p; |
| 257 | 275 | } |
| 258 | 276 | |
| 277 | + /** |
|
| 278 | + * @param string $method |
|
| 279 | + */ |
|
| 259 | 280 | public function callPluginManagerMethod($meta, $method) |
| 260 | 281 | { |
| 261 | 282 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | * 仮受注情報作成 |
| 173 | 173 | * |
| 174 | 174 | * @param $Customer |
| 175 | - * @param $preOrderId |
|
| 175 | + * @param string $preOrderId |
|
| 176 | 176 | * @return mixed |
| 177 | 177 | * @throws \Doctrine\ORM\NoResultException |
| 178 | 178 | * @throws \Doctrine\ORM\NonUniqueResultException |