Completed
Push — security-checker-symfony-cli ( 5cc469 )
by Kamil
18:08
created
src/Sylius/Component/Taxation/Model/TaxableInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,5 +15,8 @@
 block discarded – undo
15 15
 
16 16
 interface TaxableInterface
17 17
 {
18
+    /**
19
+     * @return TaxCategoryInterface
20
+     */
18 21
     public function getTaxCategory(): ?TaxCategoryInterface;
19 22
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxCategoryInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -20,12 +20,24 @@  discard block
 block discarded – undo
20 20
 
21 21
 interface TaxCategoryInterface extends CodeAwareInterface, TimestampableInterface, ResourceInterface
22 22
 {
23
+    /**
24
+     * @return string
25
+     */
23 26
     public function getName(): ?string;
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function setName(?string $name): void;
26 32
 
33
+    /**
34
+     * @return string
35
+     */
27 36
     public function getDescription(): ?string;
28 37
 
38
+    /**
39
+     * @return void
40
+     */
29 41
     public function setDescription(?string $description): void;
30 42
 
31 43
     /**
@@ -33,8 +45,14 @@  discard block
 block discarded – undo
33 45
      */
34 46
     public function getRates(): Collection;
35 47
 
48
+    /**
49
+     * @return void
50
+     */
36 51
     public function addRate(TaxRateInterface $rate): void;
37 52
 
53
+    /**
54
+     * @return void
55
+     */
38 56
     public function removeRate(TaxRateInterface $rate): void;
39 57
 
40 58
     public function hasRate(TaxRateInterface $rate): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxRateInterface.php 1 patch
Doc Comments   +27 added lines patch added patch discarded remove patch
@@ -19,27 +19,54 @@
 block discarded – undo
19 19
 
20 20
 interface TaxRateInterface extends CodeAwareInterface, TimestampableInterface, ResourceInterface
21 21
 {
22
+    /**
23
+     * @return TaxCategoryInterface
24
+     */
22 25
     public function getCategory(): ?TaxCategoryInterface;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setCategory(?TaxCategoryInterface $category): void;
25 31
 
32
+    /**
33
+     * @return string
34
+     */
26 35
     public function getName(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setName(?string $name): void;
29 41
 
30 42
     public function getAmount(): float;
31 43
 
32 44
     public function getAmountAsPercentage(): float;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function setAmount(?float $amount): void;
35 50
 
36 51
     public function isIncludedInPrice(): bool;
37 52
 
53
+    /**
54
+     * @return void
55
+     */
38 56
     public function setIncludedInPrice(?bool $includedInPrice): void;
39 57
 
58
+    /**
59
+     * @return string
60
+     */
40 61
     public function getCalculator(): ?string;
41 62
 
63
+    /**
64
+     * @return void
65
+     */
42 66
     public function setCalculator(?string $calculator): void;
43 67
 
68
+    /**
69
+     * @return string
70
+     */
44 71
     public function getLabel(): ?string;
45 72
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Resolver/TaxRateResolverInterface.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace Sylius\Component\Taxation\Resolver;
15 15
 
16
-use Sylius\Component\Taxation\Model\TaxableInterface;
17 16
 use Sylius\Component\Taxation\Model\TaxRateInterface;
17
+use Sylius\Component\Taxation\Model\TaxableInterface;
18 18
 
19 19
 interface TaxRateResolverInterface
20 20
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/TaxonTranslationInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -19,11 +19,23 @@
 block discarded – undo
19 19
 
20 20
 interface TaxonTranslationInterface extends SlugAwareInterface, ResourceInterface, TranslationInterface
21 21
 {
22
+    /**
23
+     * @return string|null
24
+     */
22 25
     public function getName(): ?string;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function setName(?string $name): void;
25 31
 
32
+    /**
33
+     * @return string|null
34
+     */
26 35
     public function getDescription(): ?string;
27 36
 
37
+    /**
38
+     * @return void
39
+     */
28 40
     public function setDescription(?string $description): void;
29 41
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/CredentialsHolderInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -15,8 +15,14 @@  discard block
 block discarded – undo
15 15
 
16 16
 interface CredentialsHolderInterface
17 17
 {
18
+    /**
19
+     * @return string|null
20
+     */
18 21
     public function getPlainPassword(): ?string;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setPlainPassword(?string $plainPassword): void;
21 27
 
22 28
     /**
@@ -29,6 +35,9 @@  discard block
 block discarded – undo
29 35
      */
30 36
     public function getPassword();
31 37
 
38
+    /**
39
+     * @return void
40
+     */
32 41
     public function setPassword(?string $encodedPassword): void;
33 42
 
34 43
     /**
@@ -45,6 +54,7 @@  discard block
 block discarded – undo
45 54
      *
46 55
      * This is important if, at any given point, sensitive information like
47 56
      * the plain-text password is stored on this object.
57
+     * @return void
48 58
      */
49 59
     public function eraseCredentials();
50 60
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserOAuthInterface.php 1 patch
Doc Comments   +32 added lines patch added patch discarded remove patch
@@ -17,19 +17,51 @@
 block discarded – undo
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
+     * @param string $provider
27
+     *
28
+     * @return void
29
+     */
22 30
     public function setProvider(?string $provider): void;
23 31
 
32
+    /**
33
+     * @return string|null
34
+     */
24 35
     public function getIdentifier(): ?string;
25 36
 
37
+    /**
38
+     * @param string $identifier
39
+     *
40
+     * @return void
41
+     */
26 42
     public function setIdentifier(?string $identifier): void;
27 43
 
44
+    /**
45
+     * @return string|null
46
+     */
28 47
     public function getAccessToken(): ?string;
29 48
 
49
+    /**
50
+     * @param string $accessToken
51
+     *
52
+     * @return void
53
+     */
30 54
     public function setAccessToken(?string $accessToken): void;
31 55
 
56
+    /**
57
+     * @return string|null
58
+     */
32 59
     public function getRefreshToken(): ?string;
33 60
 
61
+    /**
62
+     * @param null|string $refreshToken
63
+     *
64
+     * @return void
65
+     */
34 66
     public function setRefreshToken(?string $refreshToken): void;
35 67
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/LocaleBundle/Templating/Helper/LocaleHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
         return 'sylius_locale';
53 53
     }
54 54
 
55
+    /**
56
+     * @param string|null $localeCode
57
+     */
55 58
     private function getLocaleCode(?string $localeCode): ?string
56 59
     {
57 60
         if (null !== $localeCode) {
Please login to merge, or discard this patch.
src/Sylius/Bundle/LocaleBundle/Templating/Helper/LocaleHelperInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * @param string $code The code to be converted to a name
22 22
      * @param string|null $localeCode The locale that the returned name should be in
23
+     * @return string
23 24
      */
24 25
     public function convertCodeToName(string $code, ?string $localeCode = null): ?string;
25 26
 }
Please login to merge, or discard this patch.