@@ -91,6 +91,7 @@ |
||
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | 93 | * {@inheritdoc} |
| 94 | + * @param string $class |
|
| 94 | 95 | */ |
| 95 | 96 | public function supportsClass($class): bool |
| 96 | 97 | { |
@@ -116,6 +116,9 @@ |
||
| 116 | 116 | return $this->zoneRepository->findBy(['scope' => [$scope, Scope::ALL]]); |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | + /** |
|
| 120 | + * @return AddressInterface |
|
| 121 | + */ |
|
| 119 | 122 | private function getZoneByCode(string $code): ?ZoneInterface |
| 120 | 123 | { |
| 121 | 124 | return $this->zoneRepository->findOneBy(['code' => $code]); |
@@ -29,8 +29,14 @@ |
||
| 29 | 29 | |
| 30 | 30 | public function hasProvinces(): bool; |
| 31 | 31 | |
| 32 | + /** |
|
| 33 | + * @return void |
|
| 34 | + */ |
|
| 32 | 35 | public function addProvince(ProvinceInterface $province): void; |
| 33 | 36 | |
| 37 | + /** |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 34 | 40 | public function removeProvince(ProvinceInterface $province): void; |
| 35 | 41 | |
| 36 | 42 | public function hasProvince(ProvinceInterface $province): bool; |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | interface PaymentMethodInterface extends BasePaymentMethodInterface, ChannelsAwareInterface |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 22 | 25 | public function setGatewayConfig(?GatewayConfigInterface $gateway): void; |
| 23 | 26 | |
| 24 | 27 | public function getGatewayConfig(): ?GatewayConfigInterface; |
@@ -62,6 +62,7 @@ |
||
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * {@inheritdoc} |
| 65 | + * @param string $code |
|
| 65 | 66 | */ |
| 66 | 67 | public function setCode(?string $code): void |
| 67 | 68 | { |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
| 15 | 15 | |
| 16 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
| 18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 19 | 19 | |
| 20 | 20 | class TaxRateResolver implements TaxRateResolverInterface |
| 21 | 21 | { |
@@ -17,5 +17,10 @@ |
||
| 17 | 17 | { |
| 18 | 18 | public function getUser(): ?UserInterface; |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param null|User $user |
|
| 22 | + * |
|
| 23 | + * @return void |
|
| 24 | + */ |
|
| 20 | 25 | public function setUser(?UserInterface $user); |
| 21 | 26 | } |
@@ -17,19 +17,43 @@ |
||
| 17 | 17 | |
| 18 | 18 | interface UserOAuthInterface extends UserAwareInterface, ResourceInterface |
| 19 | 19 | { |
| 20 | + /** |
|
| 21 | + * @return string|null |
|
| 22 | + */ |
|
| 20 | 23 | public function getProvider(): ?string; |
| 21 | 24 | |
| 25 | + /** |
|
| 26 | + * @return void |
|
| 27 | + */ |
|
| 22 | 28 | public function setProvider(?string $provider): void; |
| 23 | 29 | |
| 30 | + /** |
|
| 31 | + * @return string|null |
|
| 32 | + */ |
|
| 24 | 33 | public function getIdentifier(): ?string; |
| 25 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 26 | 38 | public function setIdentifier(?string $identifier): void; |
| 27 | 39 | |
| 40 | + /** |
|
| 41 | + * @return string|null |
|
| 42 | + */ |
|
| 28 | 43 | public function getAccessToken(): ?string; |
| 29 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 30 | 48 | public function setAccessToken(?string $accessToken): void; |
| 31 | 49 | |
| 50 | + /** |
|
| 51 | + * @return string|null |
|
| 52 | + */ |
|
| 32 | 53 | public function getRefreshToken(): ?string; |
| 33 | 54 | |
| 55 | + /** |
|
| 56 | + * @return void |
|
| 57 | + */ |
|
| 34 | 58 | public function setRefreshToken(?string $refreshToken): void; |
| 35 | 59 | } |
@@ -36,6 +36,7 @@ discard block |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @param TaxonInterface|null $taxon |
| 39 | + * @return void |
|
| 39 | 40 | */ |
| 40 | 41 | public function setParent(?self $taxon): void; |
| 41 | 42 | |
@@ -58,38 +59,70 @@ discard block |
||
| 58 | 59 | |
| 59 | 60 | /** |
| 60 | 61 | * @param TaxonInterface $taxon |
| 62 | + * @return void |
|
| 61 | 63 | */ |
| 62 | 64 | public function addChild(self $taxon): void; |
| 63 | 65 | |
| 64 | 66 | /** |
| 65 | 67 | * @param TaxonInterface $taxon |
| 68 | + * @return void |
|
| 66 | 69 | */ |
| 67 | 70 | public function removeChild(self $taxon): void; |
| 68 | 71 | |
| 69 | 72 | public function getName(): ?string; |
| 70 | 73 | |
| 74 | + /** |
|
| 75 | + * @return void |
|
| 76 | + */ |
|
| 71 | 77 | public function setName(?string $name): void; |
| 72 | 78 | |
| 73 | 79 | public function getFullname(string $pathDelimiter = ' / '): ?string; |
| 74 | 80 | |
| 75 | 81 | public function getDescription(): ?string; |
| 76 | 82 | |
| 83 | + /** |
|
| 84 | + * @return void |
|
| 85 | + */ |
|
| 77 | 86 | public function setDescription(?string $description): void; |
| 78 | 87 | |
| 88 | + /** |
|
| 89 | + * @return integer|null |
|
| 90 | + */ |
|
| 79 | 91 | public function getLeft(): ?int; |
| 80 | 92 | |
| 93 | + /** |
|
| 94 | + * @return void |
|
| 95 | + */ |
|
| 81 | 96 | public function setLeft(?int $left): void; |
| 82 | 97 | |
| 98 | + /** |
|
| 99 | + * @return integer|null |
|
| 100 | + */ |
|
| 83 | 101 | public function getRight(): ?int; |
| 84 | 102 | |
| 103 | + /** |
|
| 104 | + * @return void |
|
| 105 | + */ |
|
| 85 | 106 | public function setRight(?int $right): void; |
| 86 | 107 | |
| 108 | + /** |
|
| 109 | + * @return integer|null |
|
| 110 | + */ |
|
| 87 | 111 | public function getLevel(): ?int; |
| 88 | 112 | |
| 113 | + /** |
|
| 114 | + * @return void |
|
| 115 | + */ |
|
| 89 | 116 | public function setLevel(?int $level): void; |
| 90 | 117 | |
| 118 | + /** |
|
| 119 | + * @return integer|null |
|
| 120 | + */ |
|
| 91 | 121 | public function getPosition(): ?int; |
| 92 | 122 | |
| 123 | + /** |
|
| 124 | + * @return void |
|
| 125 | + */ |
|
| 93 | 126 | public function setPosition(?int $position): void; |
| 94 | 127 | |
| 95 | 128 | /** |