@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | * |
27 | 27 | * @throws ExistingServiceException |
28 | 28 | * @throws \InvalidArgumentException |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function register($service, int $priority = 0): void; |
31 | 32 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | * @param object $service |
34 | 35 | * |
35 | 36 | * @throws NonExistingServiceException |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function unregister($service): void; |
38 | 40 |
@@ -31,11 +31,13 @@ |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @param ResourceInterface $resource |
34 | + * @return void |
|
34 | 35 | */ |
35 | 36 | public function add(ResourceInterface $resource): void; |
36 | 37 | |
37 | 38 | /** |
38 | 39 | * @param ResourceInterface $resource |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function remove(ResourceInterface $resource): void; |
41 | 43 | } |
@@ -15,11 +15,11 @@ |
||
15 | 15 | |
16 | 16 | use Pagerfanta\Pagerfanta; |
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | -use spec\Sylius\Component\Resource\Fixtures\SampleBookResourceInterface; |
|
19 | 18 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
20 | 19 | use Sylius\Component\Resource\Model\ResourceInterface; |
21 | 20 | use Sylius\Component\Resource\Repository\Exception\ExistingResourceException; |
22 | 21 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
22 | +use spec\Sylius\Component\Resource\Fixtures\SampleBookResourceInterface; |
|
23 | 23 | |
24 | 24 | require_once __DIR__ . '/../Fixtures/SampleBookResourceInterface.php'; |
25 | 25 |
@@ -16,8 +16,8 @@ |
||
16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
17 | 17 | use PhpSpec\ObjectBehavior; |
18 | 18 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
19 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
20 | 19 | use Sylius\Component\Review\Model\ReviewInterface; |
20 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 21 | |
22 | 22 | final class AverageRatingCalculatorSpec extends ObjectBehavior |
23 | 23 | { |
@@ -15,9 +15,9 @@ |
||
15 | 15 | |
16 | 16 | use PhpSpec\ObjectBehavior; |
17 | 17 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
18 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 18 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
20 | 19 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
20 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
21 | 21 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
22 | 22 | |
23 | 23 | final class TaxRateResolverSpec extends ObjectBehavior |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface CanonicalizerInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return string |
|
20 | + */ |
|
18 | 21 | public function canonicalize(?string $string): ?string; |
19 | 22 | } |
@@ -428,6 +428,7 @@ discard block |
||
428 | 428 | |
429 | 429 | /** |
430 | 430 | * {@inheritdoc} |
431 | + * @param string $name |
|
431 | 432 | */ |
432 | 433 | protected function getElement($name, array $parameters = []) |
433 | 434 | { |
@@ -507,7 +508,7 @@ discard block |
||
507 | 508 | /** |
508 | 509 | * @param string $type |
509 | 510 | * |
510 | - * @return NodeElement |
|
511 | + * @return string |
|
511 | 512 | */ |
512 | 513 | private function getImageElementByType($type) |
513 | 514 | { |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @throws NotificationExpectationMismatchException |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function checkNotification(string $message, NotificationType $type): void; |
25 | 26 | } |
@@ -19,31 +19,37 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @param string $dateTime |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function specifyFilterDateFrom(string $dateTime); |
24 | 25 | |
25 | 26 | /** |
26 | 27 | * @param string $dateTime |
28 | + * @return void |
|
27 | 29 | */ |
28 | 30 | public function specifyFilterDateTo(string $dateTime); |
29 | 31 | |
30 | 32 | /** |
31 | 33 | * @param string $channelName |
34 | + * @return void |
|
32 | 35 | */ |
33 | 36 | public function chooseChannelFilter($channelName); |
34 | 37 | |
35 | 38 | /** |
36 | 39 | * @param string $currencyName |
40 | + * @return void |
|
37 | 41 | */ |
38 | 42 | public function chooseCurrencyFilter($currencyName); |
39 | 43 | |
40 | 44 | /** |
41 | 45 | * @param string $total |
46 | + * @return void |
|
42 | 47 | */ |
43 | 48 | public function specifyFilterTotalGreaterThan($total); |
44 | 49 | |
45 | 50 | /** |
46 | 51 | * @param string $total |
52 | + * @return void |
|
47 | 53 | */ |
48 | 54 | public function specifyFilterTotalLessThan($total); |
49 | 55 | } |