@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace spec\Sylius\Component\Payment\Resolver; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Prophecy\Argument; |
|
| 16 | 15 | use Sylius\Component\Payment\Model\PaymentInterface; |
| 17 | 16 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
| 18 | 17 | use Sylius\Component\Payment\Resolver\MethodsResolverInterface; |
@@ -87,7 +87,8 @@ |
||
| 87 | 87 | * |
| 88 | 88 | * @return \Generator |
| 89 | 89 | */ |
| 90 | - private function createGenerator(Collaborator ...$collaborators) { |
|
| 90 | + private function createGenerator(Collaborator ...$collaborators) |
|
| 91 | + { |
|
| 91 | 92 | foreach ($collaborators as $collaborator) { |
| 92 | 93 | yield $collaborator->getWrappedObject() => []; |
| 93 | 94 | } |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace spec\Sylius\Component\Payment\Resolver; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Prophecy\Argument; |
|
| 16 | 15 | use Sylius\Component\Payment\Model\PaymentInterface; |
| 17 | 16 | use Sylius\Component\Payment\Model\PaymentMethodInterface; |
| 18 | 17 | use Sylius\Component\Payment\Resolver\MethodsResolverInterface; |
@@ -84,6 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | 86 | * @param Collaborator[] ...$collaborators |
| 87 | + * @param FixtureInterface $collaborators |
|
| 87 | 88 | * |
| 88 | 89 | * @return \Generator |
| 89 | 90 | */ |
@@ -87,7 +87,8 @@ |
||
| 87 | 87 | * |
| 88 | 88 | * @return \Generator |
| 89 | 89 | */ |
| 90 | - private function createGenerator(Collaborator ...$collaborators) { |
|
| 90 | + private function createGenerator(Collaborator ...$collaborators) |
|
| 91 | + { |
|
| 91 | 92 | foreach ($collaborators as $collaborator) { |
| 92 | 93 | yield $collaborator->getWrappedObject() => []; |
| 93 | 94 | } |
@@ -39,6 +39,7 @@ discard block |
||
| 39 | 39 | * Sets all option values. |
| 40 | 40 | * |
| 41 | 41 | * @param Collection $optionValues |
| 42 | + * @return void |
|
| 42 | 43 | */ |
| 43 | 44 | public function setValues(Collection $optionValues); |
| 44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
| 46 | 47 | * Adds option value. |
| 47 | 48 | * |
| 48 | 49 | * @param OptionValueInterface $optionValue |
| 50 | + * @return void |
|
| 49 | 51 | */ |
| 50 | 52 | public function addValue(OptionValueInterface $optionValue); |
| 51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
| 53 | 55 | * Removes option value. |
| 54 | 56 | * |
| 55 | 57 | * @param OptionValueInterface $optionValue |
| 58 | + * @return void |
|
| 56 | 59 | */ |
| 57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
| 58 | 61 | |