@@ -229,7 +229,7 @@ |
||
229 | 229 | * Send order mail. |
230 | 230 | * |
231 | 231 | * @param \Eccube\Entity\Order $Order 受注情報 |
232 | - * @return string |
|
232 | + * @return \Swift_Mime_MimePart |
|
233 | 233 | */ |
234 | 234 | public function sendOrderMail(\Eccube\Entity\Order $Order) |
235 | 235 | { |
@@ -1360,7 +1360,6 @@ |
||
1360 | 1360 | /** |
1361 | 1361 | * フォームの情報からお届け先のインデックスを返す |
1362 | 1362 | * |
1363 | - * @param Application $app |
|
1364 | 1363 | * @param mixed $CustomerAddressData |
1365 | 1364 | * @return int |
1366 | 1365 | */ |
@@ -964,7 +964,7 @@ |
||
964 | 964 | * 失敗 : \Doctrine\DBAL\DBALExceptionエラーが発生( 接続に失敗した場合 )、エラー画面を表示しdie() |
965 | 965 | * 備考 : app['debug']がtrueの際は処理を行わない |
966 | 966 | * |
967 | - * @return boolean true |
|
967 | + * @return null|boolean true |
|
968 | 968 | * |
969 | 969 | */ |
970 | 970 | protected function checkDatabaseConnection() |
@@ -329,6 +329,9 @@ |
||
329 | 329 | flush(); |
330 | 330 | } |
331 | 331 | |
332 | + /** |
|
333 | + * @param InstallApplication $app |
|
334 | + */ |
|
332 | 335 | private function checkModules($app) |
333 | 336 | { |
334 | 337 | foreach ($this->required_modules as $module) { |
@@ -348,7 +348,7 @@ discard block |
||
348 | 348 | * @param array $metadatas |
349 | 349 | * @param array $fsList |
350 | 350 | * @param $pluginCode |
351 | - * @param $codePath |
|
351 | + * @param string $codePath |
|
352 | 352 | */ |
353 | 353 | protected function generateMigration(array $metadatas, array &$fsList = array(), $pluginCode, $codePath) |
354 | 354 | { |
@@ -373,7 +373,7 @@ discard block |
||
373 | 373 | * |
374 | 374 | * @param $pluginCode |
375 | 375 | * @param array $metadatas |
376 | - * @return mixed|string |
|
376 | + * @return string |
|
377 | 377 | */ |
378 | 378 | protected function makeMigration($pluginCode, array $metadatas) |
379 | 379 | { |
@@ -52,11 +52,17 @@ |
||
52 | 52 | return $form; |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param Application $app |
|
57 | + */ |
|
55 | 58 | protected function getSecurity($app) |
56 | 59 | { |
57 | 60 | return $app['security.token_storage']; |
58 | 61 | } |
59 | 62 | |
63 | + /** |
|
64 | + * @param Application $app |
|
65 | + */ |
|
60 | 66 | protected function isTokenValid($app) |
61 | 67 | { |
62 | 68 | $csrf = $app['csrf.token_manager']; |
@@ -37,6 +37,9 @@ |
||
37 | 37 | { |
38 | 38 | private $app; |
39 | 39 | |
40 | + /** |
|
41 | + * @param \Pimple\Container $app |
|
42 | + */ |
|
40 | 43 | public function __construct($app) |
41 | 44 | { |
42 | 45 | $this->app = $app; |
@@ -38,6 +38,9 @@ discard block |
||
38 | 38 | const EVENT_YML = 'event.yml'; |
39 | 39 | private $app; |
40 | 40 | |
41 | + /** |
|
42 | + * @param \Pimple\Container $app |
|
43 | + */ |
|
41 | 44 | public function __construct($app) |
42 | 45 | { |
43 | 46 | $this->app = $app; |
@@ -103,6 +106,9 @@ discard block |
||
103 | 106 | } |
104 | 107 | } |
105 | 108 | |
109 | + /** |
|
110 | + * @param string $dir |
|
111 | + */ |
|
106 | 112 | public function unpackPluginArchive($archive, $dir) |
107 | 113 | { |
108 | 114 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -121,6 +127,9 @@ discard block |
||
121 | 127 | } |
122 | 128 | } |
123 | 129 | |
130 | + /** |
|
131 | + * @param string $dir |
|
132 | + */ |
|
124 | 133 | public function checkPluginArchiveContent($dir, array $config_cache = array()) |
125 | 134 | { |
126 | 135 | try { |
@@ -162,6 +171,9 @@ discard block |
||
162 | 171 | } |
163 | 172 | } |
164 | 173 | |
174 | + /** |
|
175 | + * @param string $yml |
|
176 | + */ |
|
165 | 177 | public function readYml($yml) |
166 | 178 | { |
167 | 179 | if (file_exists($yml)) { |
@@ -179,6 +191,9 @@ discard block |
||
179 | 191 | // ディレクトリ名などに使われれるので厳しめ |
180 | 192 | } |
181 | 193 | |
194 | + /** |
|
195 | + * @param string $path |
|
196 | + */ |
|
182 | 197 | public function deleteFile($path) |
183 | 198 | { |
184 | 199 | $f = new Filesystem(); |
@@ -198,6 +213,9 @@ discard block |
||
198 | 213 | return $this->app['config']['plugin_realdir'].'/'.$name; |
199 | 214 | } |
200 | 215 | |
216 | + /** |
|
217 | + * @param string $d |
|
218 | + */ |
|
201 | 219 | public function createPluginDir($d) |
202 | 220 | { |
203 | 221 | $b = @mkdir($d); |
@@ -257,6 +275,9 @@ discard block |
||
257 | 275 | return $p; |
258 | 276 | } |
259 | 277 | |
278 | + /** |
|
279 | + * @param string $method |
|
280 | + */ |
|
260 | 281 | public function callPluginManagerMethod($meta, $method) |
261 | 282 | { |
262 | 283 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |
@@ -39,7 +39,7 @@ |
||
39 | 39 | * This method should only be used to configure services and parameters. |
40 | 40 | * It should not get services. |
41 | 41 | * |
42 | - * @param BaseApplication $app An Application instance |
|
42 | + * @param Container $app An Application instance |
|
43 | 43 | */ |
44 | 44 | public function register(Container $app) |
45 | 45 | { |