@@ -108,6 +108,9 @@ |
||
| 108 | 108 | ]; |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | + /** |
|
| 112 | + * @param string $logFile |
|
| 113 | + */ |
|
| 111 | 114 | private function parseLogFile($logFile, $formData) |
| 112 | 115 | { |
| 113 | 116 | $log = array(); |
@@ -474,7 +474,7 @@ |
||
| 474 | 474 | * |
| 475 | 475 | * @param Application $app |
| 476 | 476 | * @param array $data リクエストパラメータ |
| 477 | - * @return array |
|
| 477 | + * @return \Symfony\Component\Validator\ConstraintViolationListInterface[] |
|
| 478 | 478 | */ |
| 479 | 479 | protected function customerValidation(Application $app, array $data) |
| 480 | 480 | { |
@@ -59,7 +59,6 @@ |
||
| 59 | 59 | protected $app; |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @param array $config |
|
| 63 | 62 | */ |
| 64 | 63 | public function __construct() |
| 65 | 64 | { |
@@ -48,7 +48,6 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * SearchProductType constructor. |
| 50 | 50 | * |
| 51 | - * @param Application $app |
|
| 52 | 51 | */ |
| 53 | 52 | public function __construct() |
| 54 | 53 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @deprecated 呼び出し元で制御する |
| 50 | 50 | * @param $block_id |
| 51 | 51 | * @param $DeviceType |
| 52 | - * @return array|\Eccube\Entity\Block |
|
| 52 | + * @return Block|null |
|
| 53 | 53 | */ |
| 54 | 54 | public function findOrCreate($block_id, $DeviceType) |
| 55 | 55 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * ブロック一覧の取得. |
| 112 | 112 | * |
| 113 | 113 | * @param \Eccube\Entity\Master\DeviceType $DeviceType |
| 114 | - * @return array |
|
| 114 | + * @return null|\Symfony\Component\HttpFoundation\Request |
|
| 115 | 115 | */ |
| 116 | 116 | public function getList($DeviceType) |
| 117 | 117 | { |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | |
| 323 | 323 | /** |
| 324 | 324 | * ユニークなシークレットキーを返す |
| 325 | - * @param $app |
|
| 325 | + * @param \Eccube\Application $app |
|
| 326 | 326 | * @return string |
| 327 | 327 | */ |
| 328 | 328 | public function getUniqueSecretKey($app) |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | |
| 341 | 341 | /** |
| 342 | 342 | * ユニークなパスワードリセットキーを返す |
| 343 | - * @param $app |
|
| 343 | + * @param \Eccube\Application $app |
|
| 344 | 344 | * @return string |
| 345 | 345 | */ |
| 346 | 346 | public function getUniqueResetKey($app) |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | /** |
| 360 | 360 | * saltを生成する |
| 361 | 361 | * |
| 362 | - * @param $byte |
|
| 362 | + * @param integer $byte |
|
| 363 | 363 | * @return string |
| 364 | 364 | */ |
| 365 | 365 | public function createSalt($byte) |
@@ -370,7 +370,7 @@ discard block |
||
| 370 | 370 | /** |
| 371 | 371 | * 入力されたパスワードをSaltと暗号化する |
| 372 | 372 | * |
| 373 | - * @param $app |
|
| 373 | + * @param \Eccube\Application $app |
|
| 374 | 374 | * @param Customer $Customer |
| 375 | 375 | * @return mixed |
| 376 | 376 | */ |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | /** |
| 431 | 431 | * 会員の初回購入時間、購入時間、購入回数、購入金額を更新する |
| 432 | 432 | * |
| 433 | - * @param $app |
|
| 433 | + * @param \Eccube\Application $app |
|
| 434 | 434 | * @param Customer $Customer |
| 435 | 435 | * @param $orderStatusId |
| 436 | 436 | */ |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @deprecated 呼び出し元で制御する |
| 43 | - * @param $id |
|
| 43 | + * @param integer $id |
|
| 44 | 44 | * @return \Eccube\Entity\Delivery|null|object |
| 45 | 45 | */ |
| 46 | 46 | public function findOrCreate($id) |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | /** |
| 135 | 135 | * @param \Eccube\Entity\Member $Member |
| 136 | 136 | * |
| 137 | - * @return void |
|
| 137 | + * @return boolean |
|
| 138 | 138 | */ |
| 139 | 139 | public function up(\Eccube\Entity\Member $Member) |
| 140 | 140 | { |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | /** |
| 274 | 274 | * saltを生成する |
| 275 | 275 | * |
| 276 | - * @param $byte |
|
| 276 | + * @param integer $byte |
|
| 277 | 277 | * @return string |
| 278 | 278 | */ |
| 279 | 279 | public function createSalt($byte) |
@@ -77,6 +77,9 @@ discard block |
||
| 77 | 77 | const CONFIG_YML = 'config.yml'; |
| 78 | 78 | const EVENT_YML = 'event.yml'; |
| 79 | 79 | |
| 80 | + /** |
|
| 81 | + * @param string $path |
|
| 82 | + */ |
|
| 80 | 83 | public function install($path, $source = 0) |
| 81 | 84 | { |
| 82 | 85 | $pluginBaseDir = null; |
@@ -137,6 +140,9 @@ discard block |
||
| 137 | 140 | } |
| 138 | 141 | } |
| 139 | 142 | |
| 143 | + /** |
|
| 144 | + * @param string $dir |
|
| 145 | + */ |
|
| 140 | 146 | public function unpackPluginArchive($archive, $dir) |
| 141 | 147 | { |
| 142 | 148 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -196,6 +202,9 @@ discard block |
||
| 196 | 202 | } |
| 197 | 203 | } |
| 198 | 204 | |
| 205 | + /** |
|
| 206 | + * @param string $yml |
|
| 207 | + */ |
|
| 199 | 208 | public function readYml($yml) |
| 200 | 209 | { |
| 201 | 210 | if (file_exists($yml)) { |
@@ -213,6 +222,9 @@ discard block |
||
| 213 | 222 | // ディレクトリ名などに使われれるので厳しめ |
| 214 | 223 | } |
| 215 | 224 | |
| 225 | + /** |
|
| 226 | + * @param string $path |
|
| 227 | + */ |
|
| 216 | 228 | public function deleteFile($path) |
| 217 | 229 | { |
| 218 | 230 | $f = new Filesystem(); |
@@ -232,6 +244,9 @@ discard block |
||
| 232 | 244 | return $this->appConfig['plugin_realdir'].'/'.$name; |
| 233 | 245 | } |
| 234 | 246 | |
| 247 | + /** |
|
| 248 | + * @param string $d |
|
| 249 | + */ |
|
| 235 | 250 | public function createPluginDir($d) |
| 236 | 251 | { |
| 237 | 252 | $b = @mkdir($d); |
@@ -291,6 +306,9 @@ discard block |
||
| 291 | 306 | return $p; |
| 292 | 307 | } |
| 293 | 308 | |
| 309 | + /** |
|
| 310 | + * @param string $method |
|
| 311 | + */ |
|
| 294 | 312 | public function callPluginManagerMethod($meta, $method) |
| 295 | 313 | { |
| 296 | 314 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |
@@ -363,6 +381,9 @@ discard block |
||
| 363 | 381 | return true; |
| 364 | 382 | } |
| 365 | 383 | |
| 384 | + /** |
|
| 385 | + * @param string $path |
|
| 386 | + */ |
|
| 366 | 387 | public function update(\Eccube\Entity\Plugin $plugin, $path) |
| 367 | 388 | { |
| 368 | 389 | $pluginBaseDir = null; |