@@ -14,9 +14,8 @@ |
||
14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
15 | 15 | use Doctrine\Common\Collections\Collection; |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | -use Prophecy\Argument; |
|
18 | -use Sylius\Component\Core\Distributor\IntegerDistributorInterface; |
|
19 | 17 | use Sylius\Component\Addressing\Model\ZoneInterface; |
18 | +use Sylius\Component\Core\Distributor\IntegerDistributorInterface; |
|
20 | 19 | use Sylius\Component\Core\Model\AdjustmentInterface; |
21 | 20 | use Sylius\Component\Core\Model\OrderInterface; |
22 | 21 | use Sylius\Component\Core\Model\OrderItemInterface; |
@@ -17,11 +17,13 @@ |
||
17 | 17 | { |
18 | 18 | /** |
19 | 19 | * @param ImageInterface $image |
20 | + * @return void |
|
20 | 21 | */ |
21 | 22 | public function upload(ImageInterface $image); |
22 | 23 | |
23 | 24 | /** |
24 | 25 | * @param string $path |
26 | + * @return boolean |
|
25 | 27 | */ |
26 | 28 | public function remove($path); |
27 | 29 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param Grid $grid |
24 | - * @param array $parameters |
|
24 | + * @param Parameters $parameters |
|
25 | 25 | * |
26 | 26 | * @return mixed |
27 | 27 | */ |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Grid\DataExtractor\DataExtractorInterface; |
15 | 15 | use Sylius\Component\Grid\Definition\Field; |
16 | -use Webmozart\Assert\Assert; |
|
17 | 16 | use Symfony\Component\OptionsResolver\OptionsResolver; |
17 | +use Webmozart\Assert\Assert; |
|
18 | 18 | |
19 | 19 | /** |
20 | 20 | * @author Mateusz Zalewski <[email protected]> |
@@ -21,8 +21,9 @@ |
||
21 | 21 | /** |
22 | 22 | * @param DataSourceInterface $dataSource |
23 | 23 | * @param string $name |
24 | - * @param mixed $data |
|
24 | + * @param string $data |
|
25 | 25 | * @param array $options |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function apply(DataSourceInterface $dataSource, $name, $data, array $options); |
28 | 29 | } |
@@ -12,7 +12,6 @@ discard block |
||
12 | 12 | namespace spec\Sylius\Component\Grid\Data; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | 15 | use Sylius\Component\Grid\Data\DataProvider; |
17 | 16 | use Sylius\Component\Grid\Data\DataProviderInterface; |
18 | 17 | use Sylius\Component\Grid\Data\DataSourceInterface; |
@@ -21,7 +20,6 @@ discard block |
||
21 | 20 | use Sylius\Component\Grid\Filtering\FiltersApplicatorInterface; |
22 | 21 | use Sylius\Component\Grid\Parameters; |
23 | 22 | use Sylius\Component\Grid\Sorting\SorterInterface; |
24 | -use Sylius\Component\Registry\ServiceRegistryInterface; |
|
25 | 23 | |
26 | 24 | /** |
27 | 25 | * @mixin DataProvider |
@@ -12,9 +12,8 @@ |
||
12 | 12 | namespace spec\Sylius\Component\Grid\Definition; |
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | -use Prophecy\Argument; |
|
16 | -use Sylius\Component\Grid\Definition\ActionGroup; |
|
17 | 15 | use Sylius\Component\Grid\Definition\Action; |
16 | +use Sylius\Component\Grid\Definition\ActionGroup; |
|
18 | 17 | |
19 | 18 | /** |
20 | 19 | * @mixin ActionGroup |
@@ -11,9 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Grid\Definition; |
13 | 13 | |
14 | -use Sylius\Component\Grid\Definition\Action; |
|
15 | 14 | use PhpSpec\ObjectBehavior; |
16 | -use Prophecy\Argument; |
|
15 | +use Sylius\Component\Grid\Definition\Action; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @mixin Action |
@@ -11,9 +11,8 @@ |
||
11 | 11 | |
12 | 12 | namespace spec\Sylius\Component\Grid\Definition; |
13 | 13 | |
14 | -use Sylius\Component\Grid\Definition\Field; |
|
15 | 14 | use PhpSpec\ObjectBehavior; |
16 | -use Prophecy\Argument; |
|
15 | +use Sylius\Component\Grid\Definition\Field; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * @mixin Field |