@@ -109,7 +109,7 @@ |
||
| 109 | 109 | * Create TaxRule entity |
| 110 | 110 | * |
| 111 | 111 | * @param int $tax_rate |
| 112 | - * @param null $apply_date |
|
| 112 | + * @param \DateTime $apply_date |
|
| 113 | 113 | * |
| 114 | 114 | * @return TaxRule |
| 115 | 115 | */ |
@@ -484,6 +484,10 @@ |
||
| 484 | 484 | $this->assertEquals(1, count($Message->getChildren())); |
| 485 | 485 | } |
| 486 | 486 | |
| 487 | + /** |
|
| 488 | + * @param \Swift_Message $Message |
|
| 489 | + * @param string $errorMessage |
|
| 490 | + */ |
|
| 487 | 491 | protected function verifyRegExp($Message, $errorMessage = null) |
| 488 | 492 | { |
| 489 | 493 | $this->assertRegExp('/'.preg_quote($this->expected, '/').'/', $Message->getBody(), $errorMessage); |
@@ -252,6 +252,9 @@ discard block |
||
| 252 | 252 | '有効状態のプラグインは利用されるはず'); |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | + /** |
|
| 256 | + * @param string $file |
|
| 257 | + */ |
|
| 255 | 258 | private static function assertContainsTrait($file, $trait, $message = 'Traitが有効になっているはず') |
| 256 | 259 | { |
| 257 | 260 | $tokens = Tokens::fromCode(file_get_contents($file)); |
@@ -262,6 +265,9 @@ discard block |
||
| 262 | 265 | self::assertContains($trait, $useStatement, $message); |
| 263 | 266 | } |
| 264 | 267 | |
| 268 | + /** |
|
| 269 | + * @param string $file |
|
| 270 | + */ |
|
| 265 | 271 | private static function assertNotContainsTrait($file, $trait, $message = 'Traitが有効になっているはず') |
| 266 | 272 | { |
| 267 | 273 | $tokens = Tokens::fromCode(file_get_contents($file)); |
@@ -195,6 +195,10 @@ discard block |
||
| 195 | 195 | self::assertEquals(0, $Shipping2DeliveryFee->getTotalPrice()); |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | + /** |
|
| 199 | + * @param integer $deliveryFeeAmount |
|
| 200 | + * @param integer $deliveryFeeQuantity |
|
| 201 | + */ |
|
| 198 | 202 | private function newBaseInfo($deliveryFeeAmount, $deliveryFeeQuantity) |
| 199 | 203 | { |
| 200 | 204 | $BaseInfo = $this->entityManager->find(BaseInfo::class, 1); |
@@ -205,6 +209,9 @@ discard block |
||
| 205 | 209 | return $BaseInfo; |
| 206 | 210 | } |
| 207 | 211 | |
| 212 | + /** |
|
| 213 | + * @param integer $id |
|
| 214 | + */ |
|
| 208 | 215 | private function newShipping($id) |
| 209 | 216 | { |
| 210 | 217 | $Shipping = new Shipping(); |
@@ -229,6 +236,9 @@ discard block |
||
| 229 | 236 | return $OrderItem; |
| 230 | 237 | } |
| 231 | 238 | |
| 239 | + /** |
|
| 240 | + * @param integer $fee |
|
| 241 | + */ |
|
| 232 | 242 | private function newDeliveryFeeItem($fee, Shipping $Shipping) |
| 233 | 243 | { |
| 234 | 244 | $OrderItem = new OrderItem(); |
@@ -286,6 +286,10 @@ |
||
| 286 | 286 | ]; |
| 287 | 287 | } |
| 288 | 288 | |
| 289 | + /** |
|
| 290 | + * @param integer $price |
|
| 291 | + * @param integer $quantity |
|
| 292 | + */ |
|
| 289 | 293 | private function newOrderItem($ProductClass, $price, $quantity) |
| 290 | 294 | { |
| 291 | 295 | $OrderItem = new OrderItem(); |
@@ -410,6 +410,9 @@ |
||
| 410 | 410 | ]; |
| 411 | 411 | } |
| 412 | 412 | |
| 413 | + /** |
|
| 414 | + * @param integer $quantity |
|
| 415 | + */ |
|
| 413 | 416 | private function newOrderItem($ProductClass, $price, $quantity) |
| 414 | 417 | { |
| 415 | 418 | $OrderItem = new OrderItem(); |
@@ -227,6 +227,10 @@ |
||
| 227 | 227 | ]; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | + /** |
|
| 231 | + * @param ProductClass $ProductClass |
|
| 232 | + * @param integer $price |
|
| 233 | + */ |
|
| 230 | 234 | private function newOrderItem($ProductClass, $price, $quantity) |
| 231 | 235 | { |
| 232 | 236 | $OrderItem = new OrderItem(); |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | /** |
| 173 | 173 | * PurchaseFlowTest_FailProcessor constructor. |
| 174 | 174 | * |
| 175 | - * @param $errorMessage |
|
| 175 | + * @param string $errorMessage |
|
| 176 | 176 | */ |
| 177 | 177 | public function __construct($errorMessage) |
| 178 | 178 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | /** |
| 193 | 193 | * PurchaseFlowTest_FailProcessor constructor. |
| 194 | 194 | * |
| 195 | - * @param $errorMessage |
|
| 195 | + * @param string $errorMessage |
|
| 196 | 196 | */ |
| 197 | 197 | public function __construct($errorMessage) |
| 198 | 198 | { |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @deprecated \Eccube\Tests\Web\AbstractWebTestCase::loginTo() を使用してください. |
| 28 | + * @param \Eccube\Entity\Member $user |
|
| 28 | 29 | */ |
| 29 | 30 | public function logIn($user = null) |
| 30 | 31 | { |