Completed
Push — 1.4-refresh-behat-guide ( 91413d )
by Kamil
35:26
created
src/Sylius/Component/User/Model/UserAwareInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -15,7 +15,15 @@
 block discarded – undo
15 15
 
16 16
 interface UserAwareInterface
17 17
 {
18
+    /**
19
+     * @return UserInterface|null
20
+     */
18 21
     public function getUser(): ?UserInterface;
19 22
 
23
+    /**
24
+     * @param null|User $user
25
+     *
26
+     * @return void
27
+     */
20 28
     public function setUser(?UserInterface $user);
21 29
 }
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.
Sylius/Bundle/ResourceBundle/Form/Registry/FormTypeRegistryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,8 +15,14 @@
 block discarded – undo
15 15
 
16 16
 interface FormTypeRegistryInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function add(string $identifier, string $typeIdentifier, string $formType): void;
19 22
 
23
+    /**
24
+     * @return string|null
25
+     */
20 26
     public function get(string $identifier, string $typeIdentifier): ?string;
21 27
 
22 28
     public function has(string $identifier, string $typeIdentifier): bool;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Validator/EnabledValidator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@
 block discarded – undo
42 42
         }
43 43
     }
44 44
 
45
+    /**
46
+     * @param ToggleableInterface $value
47
+     */
45 48
     private function ensureValueImplementsToggleableInterface($value): void
46 49
     {
47 50
         if (!($value instanceof ToggleableInterface)) {
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/TaxonInterface.php 1 patch
Doc Comments   +33 added lines patch added patch discarded remove patch
@@ -36,6 +36,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Account/LoginPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -19,9 +19,18 @@
 block discarded – undo
19 19
 {
20 20
     public function hasValidationErrorWith(string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function logIn(): void;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function specifyPassword(string $password): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function specifyUsername(string $username): void;
27 36
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/CreatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,13 +17,28 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function enable(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyUsername(string $username): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyEmail(string $email): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function specifyPassword(string $password): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function specifyLocale(string $localeCode): void;
29 44
 }
Please login to merge, or discard this patch.