@@ -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 | { |
@@ -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'; |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * 仮受注情報作成 |
143 | 143 | * |
144 | 144 | * @param $Customer |
145 | - * @param $preOrderId |
|
145 | + * @param string $preOrderId |
|
146 | 146 | * @return mixed |
147 | 147 | * @throws \Doctrine\ORM\NoResultException |
148 | 148 | * @throws \Doctrine\ORM\NonUniqueResultException |
@@ -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; |