@@ -1331,6 +1331,7 @@ |
||
1331 | 1331 | /** |
1332 | 1332 | * 非会員でのお客様情報変更時の入力チェック |
1333 | 1333 | * @param $data リクエストパラメータ |
1334 | + * @param Application $app |
|
1334 | 1335 | */ |
1335 | 1336 | private function customerValidation($app, $data) |
1336 | 1337 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @param ObjectManager $om |
45 | - * @param stging $className |
|
45 | + * @param string $className |
|
46 | 46 | */ |
47 | 47 | public function __construct(ObjectManager $om, $className) |
48 | 48 | { |
@@ -36,6 +36,9 @@ |
||
36 | 36 | { |
37 | 37 | protected $app; |
38 | 38 | |
39 | + /** |
|
40 | + * @param \Silex\Application $app |
|
41 | + */ |
|
39 | 42 | public function __construct($app) |
40 | 43 | { |
41 | 44 | $this->app = $app; |
@@ -130,7 +130,7 @@ |
||
130 | 130 | /** |
131 | 131 | * @param \Eccube\Entity\Member $Member |
132 | 132 | * |
133 | - * @return void |
|
133 | + * @return boolean |
|
134 | 134 | */ |
135 | 135 | public function up(\Eccube\Entity\Member $Member) |
136 | 136 | { |
@@ -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 | */ |
@@ -230,7 +230,7 @@ |
||
230 | 230 | } |
231 | 231 | |
232 | 232 | /** |
233 | - * @param \Eccube\Entity\ProductClass|integer $ProductClass |
|
233 | + * @param string $ProductClass |
|
234 | 234 | * @param integer $quantity |
235 | 235 | * @return \Eccube\Service\CartService |
236 | 236 | * @throws CartException |
@@ -325,7 +325,6 @@ discard block |
||
325 | 325 | |
326 | 326 | /** |
327 | 327 | * @param $row |
328 | - * @param null $callback |
|
329 | 328 | */ |
330 | 329 | public function fputcsv($row) |
331 | 330 | { |
@@ -422,7 +421,6 @@ discard block |
||
422 | 421 | * XXX self::setExportQueryBuilder() をコールする前に EntityManager を取得したいので、引数で渡している |
423 | 422 | * |
424 | 423 | * @param array $searchData セッションから取得した検索条件の配列 |
425 | - * @param EntityManager $em |
|
426 | 424 | */ |
427 | 425 | protected function findDeserializeObjects(array &$searchData) |
428 | 426 | { |
@@ -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]> |
@@ -36,6 +36,9 @@ discard block |
||
36 | 36 | const EVENT_YML = 'event.yml'; |
37 | 37 | private $app; |
38 | 38 | |
39 | + /** |
|
40 | + * @param \Silex\Application $app |
|
41 | + */ |
|
39 | 42 | public function __construct($app) |
40 | 43 | { |
41 | 44 | $this->app = $app; |
@@ -98,6 +101,9 @@ discard block |
||
98 | 101 | } |
99 | 102 | } |
100 | 103 | |
104 | + /** |
|
105 | + * @param string $dir |
|
106 | + */ |
|
101 | 107 | public function unpackPluginArchive($archive, $dir) |
102 | 108 | { |
103 | 109 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -116,6 +122,9 @@ discard block |
||
116 | 122 | } |
117 | 123 | } |
118 | 124 | |
125 | + /** |
|
126 | + * @param string $dir |
|
127 | + */ |
|
119 | 128 | public function checkPluginArchiveContent($dir) |
120 | 129 | { |
121 | 130 | try { |
@@ -153,6 +162,9 @@ discard block |
||
153 | 162 | } |
154 | 163 | } |
155 | 164 | |
165 | + /** |
|
166 | + * @param string $yml |
|
167 | + */ |
|
156 | 168 | public function readYml($yml) |
157 | 169 | { |
158 | 170 | if (file_exists($yml)) { |
@@ -170,6 +182,9 @@ discard block |
||
170 | 182 | // ディレクトリ名などに使われれるので厳しめ |
171 | 183 | } |
172 | 184 | |
185 | + /** |
|
186 | + * @param string $path |
|
187 | + */ |
|
173 | 188 | public function deleteFile($path) |
174 | 189 | { |
175 | 190 | $f = new Filesystem(); |
@@ -189,6 +204,9 @@ discard block |
||
189 | 204 | return $this->app['config']['plugin_realdir'].'/'.$name; |
190 | 205 | } |
191 | 206 | |
207 | + /** |
|
208 | + * @param string $d |
|
209 | + */ |
|
192 | 210 | public function createPluginDir($d) |
193 | 211 | { |
194 | 212 | $b = @mkdir($d); |
@@ -248,6 +266,9 @@ discard block |
||
248 | 266 | return $p; |
249 | 267 | } |
250 | 268 | |
269 | + /** |
|
270 | + * @param string $method |
|
271 | + */ |
|
251 | 272 | public function callPluginManagerMethod($meta, $method) |
252 | 273 | { |
253 | 274 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |