@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -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; |
@@ -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; |
@@ -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; |
@@ -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 | } |