@@ -20,6 +20,9 @@ |
||
20 | 20 | { |
21 | 21 | public function findOneByHostname(string $hostname): ?ChannelInterface; |
22 | 22 | |
23 | + /** |
|
24 | + * @return \Sylius\Component\Core\Model\ChannelInterface |
|
25 | + */ |
|
23 | 26 | public function findOneByCode(string $code): ?ChannelInterface; |
24 | 27 | |
25 | 28 | /** |
@@ -17,27 +17,63 @@ |
||
17 | 17 | |
18 | 18 | interface ShopBillingDataInterface extends ResourceInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return string|null |
|
22 | + */ |
|
20 | 23 | public function getTaxId(): ?string; |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function setTaxId(?string $taxId): void; |
23 | 29 | |
30 | + /** |
|
31 | + * @return string|null |
|
32 | + */ |
|
24 | 33 | public function getCompany(): ?string; |
25 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
26 | 38 | public function setCompany(?string $company): void; |
27 | 39 | |
40 | + /** |
|
41 | + * @return string|null |
|
42 | + */ |
|
28 | 43 | public function getCountryCode(): ?string; |
29 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
30 | 48 | public function setCountryCode(?string $countryCode): void; |
31 | 49 | |
50 | + /** |
|
51 | + * @return string|null |
|
52 | + */ |
|
32 | 53 | public function getStreet(): ?string; |
33 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
34 | 58 | public function setStreet(?string $street): void; |
35 | 59 | |
60 | + /** |
|
61 | + * @return string|null |
|
62 | + */ |
|
36 | 63 | public function getCity(): ?string; |
37 | 64 | |
65 | + /** |
|
66 | + * @return void |
|
67 | + */ |
|
38 | 68 | public function setCity(?string $city): void; |
39 | 69 | |
70 | + /** |
|
71 | + * @return string|null |
|
72 | + */ |
|
40 | 73 | public function getPostcode(): ?string; |
41 | 74 | |
75 | + /** |
|
76 | + * @return void |
|
77 | + */ |
|
42 | 78 | public function setPostcode(?string $postcode): void; |
43 | 79 | } |
@@ -27,12 +27,24 @@ discard block |
||
27 | 27 | |
28 | 28 | public const STATE_CANCELLED = 'cancelled'; |
29 | 29 | |
30 | + /** |
|
31 | + * @return string |
|
32 | + */ |
|
30 | 33 | public function getState(): ?string; |
31 | 34 | |
35 | + /** |
|
36 | + * @return void |
|
37 | + */ |
|
32 | 38 | public function setState(?string $state): void; |
33 | 39 | |
40 | + /** |
|
41 | + * @return ShippingMethodInterface|null |
|
42 | + */ |
|
34 | 43 | public function getMethod(): ?ShippingMethodInterface; |
35 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
36 | 48 | public function setMethod(?ShippingMethodInterface $method): void; |
37 | 49 | |
38 | 50 | /** |
@@ -42,19 +54,39 @@ discard block |
||
42 | 54 | */ |
43 | 55 | public function getUnits(): Collection; |
44 | 56 | |
57 | + /** |
|
58 | + * @return void |
|
59 | + */ |
|
45 | 60 | public function addUnit(ShipmentUnitInterface $unit): void; |
46 | 61 | |
62 | + /** |
|
63 | + * @return void |
|
64 | + */ |
|
47 | 65 | public function removeUnit(ShipmentUnitInterface $unit): void; |
48 | 66 | |
49 | 67 | public function hasUnit(ShipmentUnitInterface $unit): bool; |
50 | 68 | |
69 | + /** |
|
70 | + * @return string|null |
|
71 | + */ |
|
51 | 72 | public function getTracking(): ?string; |
52 | 73 | |
74 | + /** |
|
75 | + * @return void |
|
76 | + */ |
|
53 | 77 | public function setTracking(?string $tracking): void; |
54 | 78 | |
55 | 79 | public function isTracked(): bool; |
56 | 80 | |
81 | + /** |
|
82 | + * @return \DateTimeInterface|null |
|
83 | + */ |
|
57 | 84 | public function getShippedAt(): ?\DateTimeInterface; |
58 | 85 | |
86 | + /** |
|
87 | + * @param \DateTimeInterface $shippedAt |
|
88 | + * |
|
89 | + * @return void |
|
90 | + */ |
|
59 | 91 | public function setShippedAt(?\DateTimeInterface $shippedAt): void; |
60 | 92 | } |
@@ -83,6 +83,9 @@ |
||
83 | 83 | return $this->templatingEngine->renderResponse('@SyliusAdmin/Dashboard/index.html.twig', $data); |
84 | 84 | } |
85 | 85 | |
86 | + /** |
|
87 | + * @return ChannelInterface |
|
88 | + */ |
|
86 | 89 | private function findChannelByCodeOrFindFirst(?string $channelCode): ?ChannelInterface |
87 | 90 | { |
88 | 91 | $channel = null; |
@@ -25,5 +25,8 @@ |
||
25 | 25 | |
26 | 26 | public function hasResendVerificationEmailButton(): bool; |
27 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
28 | 31 | public function pressResendVerificationEmail(): void; |
29 | 32 | } |
@@ -253,7 +253,7 @@ |
||
253 | 253 | } |
254 | 254 | |
255 | 255 | /** |
256 | - * @param string|array $selector |
|
256 | + * @param string $selector |
|
257 | 257 | * |
258 | 258 | * @throws ElementNotFoundException |
259 | 259 | */ |
@@ -24,20 +24,36 @@ discard block |
||
24 | 24 | |
25 | 25 | public function countTaxonsByName(string $name): int; |
26 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
27 | 30 | public function deleteTaxonOnPageByName(string $name): void; |
28 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
29 | 35 | public function describeItAs(string $description, string $languageCode): void; |
30 | 36 | |
31 | 37 | public function hasTaxonWithName(string $name): bool; |
32 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
33 | 42 | public function nameIt(string $name, string $languageCode): void; |
34 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
35 | 47 | public function specifyCode(string $code): void; |
36 | 48 | |
49 | + /** |
|
50 | + * @return void |
|
51 | + */ |
|
37 | 52 | public function specifySlug(string $slug, string $languageCode): void; |
38 | 53 | |
39 | 54 | /** |
40 | 55 | * @param string $type |
56 | + * @return void |
|
41 | 57 | */ |
42 | 58 | public function attachImage(string $path, string $type = null): void; |
43 | 59 | |
@@ -48,10 +64,19 @@ discard block |
||
48 | 64 | */ |
49 | 65 | public function getLeaves(TaxonInterface $parentTaxon = null): array; |
50 | 66 | |
67 | + /** |
|
68 | + * @return void |
|
69 | + */ |
|
51 | 70 | public function activateLanguageTab(string $locale): void; |
52 | 71 | |
72 | + /** |
|
73 | + * @return void |
|
74 | + */ |
|
53 | 75 | public function moveUpTaxon(string $name): void; |
54 | 76 | |
77 | + /** |
|
78 | + * @return void |
|
79 | + */ |
|
55 | 80 | public function moveDownTaxon(string $name): void; |
56 | 81 | |
57 | 82 | public function getFirstTaxonOnTheList(): string; |
@@ -85,6 +85,9 @@ |
||
85 | 85 | |
86 | 86 | abstract protected function findUser(string $uniqueIdentifier): ?UserInterface; |
87 | 87 | |
88 | + /** |
|
89 | + * @param string $class |
|
90 | + */ |
|
88 | 91 | public function supportsClass($class): bool |
89 | 92 | { |
90 | 93 | return $this->supportedUserClass === $class || is_subclass_of($class, $this->supportedUserClass); |
@@ -86,6 +86,9 @@ discard block |
||
86 | 86 | return $this->type; |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @param string $type |
|
91 | + */ |
|
89 | 92 | public function setType(?string $type): void |
90 | 93 | { |
91 | 94 | $this->type = $type; |
@@ -106,6 +109,9 @@ discard block |
||
106 | 109 | return $this->storageType; |
107 | 110 | } |
108 | 111 | |
112 | + /** |
|
113 | + * @param string $storageType |
|
114 | + */ |
|
109 | 115 | public function setStorageType(?string $storageType): void |
110 | 116 | { |
111 | 117 | $this->storageType = $storageType; |