Completed
Push — 1.4-password-hashing ( c4872d )
by Kamil
11:17
created
src/Sylius/Component/Core/Model/PaymentMethodInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/Currency.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * {@inheritdoc}
65
+     * @param string $code
65 66
      */
66 67
     public function setCode(?string $code): void
67 68
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/CurrencyInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,5 +22,8 @@
 block discarded – undo
22 22
     TimestampableInterface,
23 23
     ResourceInterface
24 24
 {
25
+    /**
26
+     * @return string
27
+     */
25 28
     public function getName(): ?string;
26 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Data/DataSourceInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
     public const CONDITION_AND = 'and';
21 21
     public const CONDITION_OR = 'or';
22 22
 
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function restrict($expression, string $condition = self::CONDITION_AND): void;
24 27
 
25 28
     public function getExpressionBuilder(): ExpressionBuilderInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Doc Comments   +41 added lines patch added patch discarded remove patch
@@ -24,20 +24,43 @@  discard block
 block discarded – undo
24 24
     public const STATE_CANCELLED = 'cancelled';
25 25
     public const STATE_FULFILLED = 'fulfilled';
26 26
 
27
+    /**
28
+     * @return \DateTimeInterface|null
29
+     */
27 30
     public function getCheckoutCompletedAt(): ?\DateTimeInterface;
28 31
 
32
+    /**
33
+     * @param \DateTime $checkoutCompletedAt
34
+     *
35
+     * @return void
36
+     */
29 37
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
30 38
 
31 39
     public function isCheckoutCompleted(): bool;
32 40
 
41
+    /**
42
+     * @return void
43
+     */
33 44
     public function completeCheckout(): void;
34 45
 
46
+    /**
47
+     * @return string|null
48
+     */
35 49
     public function getNumber(): ?string;
36 50
 
51
+    /**
52
+     * @return void
53
+     */
37 54
     public function setNumber(?string $number): void;
38 55
 
56
+    /**
57
+     * @return string|null
58
+     */
39 59
     public function getNotes(): ?string;
40 60
 
61
+    /**
62
+     * @return void
63
+     */
41 64
     public function setNotes(?string $notes): void;
42 65
 
43 66
     /**
@@ -45,18 +68,30 @@  discard block
 block discarded – undo
45 68
      */
46 69
     public function getItems(): Collection;
47 70
 
71
+    /**
72
+     * @return void
73
+     */
48 74
     public function clearItems(): void;
49 75
 
50 76
     public function countItems(): int;
51 77
 
78
+    /**
79
+     * @return void
80
+     */
52 81
     public function addItem(OrderItemInterface $item): void;
53 82
 
83
+    /**
84
+     * @return void
85
+     */
54 86
     public function removeItem(OrderItemInterface $item): void;
55 87
 
56 88
     public function hasItem(OrderItemInterface $item): bool;
57 89
 
58 90
     public function getItemsTotal(): int;
59 91
 
92
+    /**
93
+     * @return void
94
+     */
60 95
     public function recalculateItemsTotal(): void;
61 96
 
62 97
     public function getTotal(): int;
@@ -65,6 +100,9 @@  discard block
 block discarded – undo
65 100
 
66 101
     public function getState(): string;
67 102
 
103
+    /**
104
+     * @return void
105
+     */
68 106
     public function setState(string $state): void;
69 107
 
70 108
     public function isEmpty(): bool;
@@ -76,5 +114,8 @@  discard block
 block discarded – undo
76 114
 
77 115
     public function getAdjustmentsTotalRecursively(?string $type = null): int;
78 116
 
117
+    /**
118
+     * @return void
119
+     */
79 120
     public function removeAdjustmentsRecursively(?string $type = null): void;
80 121
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TimestampableInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -17,9 +17,17 @@
 block discarded – undo
17 17
 {
18 18
     public function getCreatedAt(): ?\DateTimeInterface;
19 19
 
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function setCreatedAt(?\DateTimeInterface $createdAt);
21 24
 
22 25
     public function getUpdatedAt(): ?\DateTimeInterface;
23 26
 
27
+    /**
28
+     * @param \DateTime $updatedAt
29
+     *
30
+     * @return void
31
+     */
24 32
     public function setUpdatedAt(?\DateTimeInterface $updatedAt);
25 33
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/RepositoryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -23,7 +23,13 @@
 block discarded – undo
23 23
 
24 24
     public function createPaginator(array $criteria = [], array $sorting = []): iterable;
25 25
 
26
+    /**
27
+     * @return void
28
+     */
26 29
     public function add(ResourceInterface $resource): void;
27 30
 
31
+    /**
32
+     * @return void
33
+     */
28 34
     public function remove(ResourceInterface $resource): void;
29 35
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserAwareInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -17,5 +17,10 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserOAuthInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -17,19 +17,43 @@
 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
+     * @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
 }
Please login to merge, or discard this patch.