Completed
Push — scalar-types/customer ( 423d75 )
by Kamil
28:07 queued 05:34
created
src/Sylius/Component/Customer/Model/CustomerAwareInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param CustomerInterface|null $customer
28
+     * @return void
28 29
      */
29 30
     public function setCustomer(?CustomerInterface $customer): void;
30 31
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Customer\Model;
15 15
 
@@ -26,5 +26,5 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param CustomerInterface|null $customer
28 28
      */
29
-    public function setCustomer(?CustomerInterface $customer): void;
29
+    public function setCustomer(?CustomerInterface $customer) : void;
30 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerGroupInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string|null $name
32
+     * @return void
32 33
      */
33 34
     public function setName(?string $name): void;
34 35
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Customer\Model;
15 15
 
@@ -30,5 +30,5 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @param string|null $name
32 32
      */
33
-    public function setName(?string $name): void;
33
+    public function setName(?string $name) : void;
34 34
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerInterface.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param string|null $email
35
+     * @return void
35 36
      */
36 37
     public function setEmail(?string $email): void;
37 38
 
@@ -44,6 +45,7 @@  discard block
 block discarded – undo
44 45
 
45 46
     /**
46 47
      * @param string|null $emailCanonical
48
+     * @return void
47 49
      */
48 50
     public function setEmailCanonical(?string $emailCanonical): void;
49 51
 
@@ -59,6 +61,7 @@  discard block
 block discarded – undo
59 61
 
60 62
     /**
61 63
      * @param string|null $firstName
64
+     * @return void
62 65
      */
63 66
     public function setFirstName(?string $firstName): void;
64 67
 
@@ -69,6 +72,7 @@  discard block
 block discarded – undo
69 72
 
70 73
     /**
71 74
      * @param string|null $lastName
75
+     * @return void
72 76
      */
73 77
     public function setLastName(?string $lastName): void;
74 78
 
@@ -79,6 +83,7 @@  discard block
 block discarded – undo
79 83
 
80 84
     /**
81 85
      * @param \DateTimeInterface|null $birthday
86
+     * @return void
82 87
      */
83 88
     public function setBirthday(?\DateTimeInterface $birthday): void;
84 89
 
@@ -91,6 +96,7 @@  discard block
 block discarded – undo
91 96
      * You should use interface constants for that.
92 97
      *
93 98
      * @param string $gender
99
+     * @return void
94 100
      */
95 101
     public function setGender(string $gender): void;
96 102
 
@@ -111,6 +117,7 @@  discard block
 block discarded – undo
111 117
 
112 118
     /**
113 119
      * @param CustomerGroupInterface|null $group
120
+     * @return void
114 121
      */
115 122
     public function setGroup(?CustomerGroupInterface $group): void;
116 123
 
@@ -121,6 +128,7 @@  discard block
 block discarded – undo
121 128
 
122 129
     /**
123 130
      * @param string|null $phoneNumber
131
+     * @return void
124 132
      */
125 133
     public function setPhoneNumber(?string $phoneNumber): void;
126 134
 
@@ -131,6 +139,7 @@  discard block
 block discarded – undo
131 139
 
132 140
     /**
133 141
      * @param bool $subscribedToNewsletter
142
+     * @return void
134 143
      */
135 144
     public function setSubscribedToNewsletter(bool $subscribedToNewsletter): void;
136 145
 }
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Customer\Model;
15 15
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @param string|null $email
35 35
      */
36
-    public function setEmail(?string $email): void;
36
+    public function setEmail(?string $email) : void;
37 37
 
38 38
     /**
39 39
      * Gets normalized email (should be used in search and sort queries).
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * @param string|null $emailCanonical
47 47
      */
48
-    public function setEmailCanonical(?string $emailCanonical): void;
48
+    public function setEmailCanonical(?string $emailCanonical) : void;
49 49
 
50 50
     /**
51 51
      * @return string
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * @param string|null $firstName
62 62
      */
63
-    public function setFirstName(?string $firstName): void;
63
+    public function setFirstName(?string $firstName) : void;
64 64
 
65 65
     /**
66 66
      * @return string|null
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * @param string|null $lastName
72 72
      */
73
-    public function setLastName(?string $lastName): void;
73
+    public function setLastName(?string $lastName) : void;
74 74
 
75 75
     /**
76 76
      * @return \DateTimeInterface|null
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * @param \DateTimeInterface|null $birthday
82 82
      */
83
-    public function setBirthday(?\DateTimeInterface $birthday): void;
83
+    public function setBirthday(?\DateTimeInterface $birthday) : void;
84 84
 
85 85
     /**
86 86
      * @return string
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * @param CustomerGroupInterface|null $group
114 114
      */
115
-    public function setGroup(?CustomerGroupInterface $group): void;
115
+    public function setGroup(?CustomerGroupInterface $group) : void;
116 116
 
117 117
     /**
118 118
      * @return string|null
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * @param string|null $phoneNumber
124 124
      */
125
-    public function setPhoneNumber(?string $phoneNumber): void;
125
+    public function setPhoneNumber(?string $phoneNumber) : void;
126 126
 
127 127
     /**
128 128
      * @return bool
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/ReviewerInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string|null $email
30
+     * @return void
30 31
      */
31 32
     public function setEmail(?string $email): void;
32 33
 
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param string|null $firstName
41
+     * @return void
40 42
      */
41 43
     public function setFirstName(?string $firstName): void;
42 44
 
@@ -47,6 +49,7 @@  discard block
 block discarded – undo
47 49
 
48 50
     /**
49 51
      * @param string|null $lastName
52
+     * @return void
50 53
      */
51 54
     public function setLastName(?string $lastName): void;
52 55
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Review\Model;
15 15
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @param string|null $email
30 30
      */
31
-    public function setEmail(?string $email): void;
31
+    public function setEmail(?string $email) : void;
32 32
 
33 33
     /**
34 34
      * @return string|null
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param string|null $firstName
40 40
      */
41
-    public function setFirstName(?string $firstName): void;
41
+    public function setFirstName(?string $firstName) : void;
42 42
 
43 43
     /**
44 44
      * @return string|null
@@ -48,5 +48,5 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * @param string|null $lastName
50 50
      */
51
-    public function setLastName(?string $lastName): void;
51
+    public function setLastName(?string $lastName) : void;
52 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerGroup.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Customer\Model;
15 15
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * {@inheritdoc}
63 63
      */
64
-    public function setCode(?string $code): void
64
+    public function setCode(?string $code) : void
65 65
     {
66 66
         $this->code = $code;
67 67
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * {@inheritdoc}
79 79
      */
80
-    public function setName(?string $name): void
80
+    public function setName(?string $name) : void
81 81
     {
82 82
         $this->name = $name;
83 83
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/Customer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Customer\Model;
15 15
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * {@inheritdoc}
106 106
      */
107
-    public function setEmail(?string $email): void
107
+    public function setEmail(?string $email) : void
108 108
     {
109 109
         $this->email = $email;
110 110
     }
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * {@inheritdoc}
122 122
      */
123
-    public function setEmailCanonical(?string $emailCanonical): void
123
+    public function setEmailCanonical(?string $emailCanonical) : void
124 124
     {
125 125
         $this->emailCanonical = $emailCanonical;
126 126
     }
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * {@inheritdoc}
146 146
      */
147
-    public function setFirstName(?string $firstName): void
147
+    public function setFirstName(?string $firstName) : void
148 148
     {
149 149
         $this->firstName = $firstName;
150 150
     }
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * {@inheritdoc}
162 162
      */
163
-    public function setLastName(?string $lastName): void
163
+    public function setLastName(?string $lastName) : void
164 164
     {
165 165
         $this->lastName = $lastName;
166 166
     }
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * {@inheritdoc}
178 178
      */
179
-    public function setBirthday(?\DateTimeInterface $birthday): void
179
+    public function setBirthday(?\DateTimeInterface $birthday) : void
180 180
     {
181 181
         $this->birthday = $birthday;
182 182
     }
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * {@inheritdoc}
226 226
      */
227
-    public function setGroup(?CustomerGroupInterface $group): void
227
+    public function setGroup(?CustomerGroupInterface $group) : void
228 228
     {
229 229
         $this->group = $group;
230 230
     }
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * {@inheritdoc}
242 242
      */
243
-    public function setPhoneNumber(?string $phoneNumber): void
243
+    public function setPhoneNumber(?string $phoneNumber) : void
244 244
     {
245 245
         $this->phoneNumber = $phoneNumber;
246 246
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShopUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Model;
15 15
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * {@inheritdoc}
40 40
      */
41
-    public function setCustomer(?BaseCustomerInterface $customer): void
41
+    public function setCustomer(?BaseCustomerInterface $customer) : void
42 42
     {
43 43
         if ($this->customer !== $customer) {
44 44
             $this->customer = $customer;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Order.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Model;
15 15
 
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * {@inheritdoc}
129 129
      */
130
-    public function setCustomer(?BaseCustomerInterface $customer): void
130
+    public function setCustomer(?BaseCustomerInterface $customer) : void
131 131
     {
132 132
         $this->customer = $customer;
133 133
     }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     /**
144 144
      * {@inheritdoc}
145 145
      */
146
-    public function setChannel(?BaseChannelInterface $channel): void
146
+    public function setChannel(?BaseChannelInterface $channel) : void
147 147
     {
148 148
         $this->channel = $channel;
149 149
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Review/Model/Reviewer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Review\Model;
15 15
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * {@inheritdoc}
59 59
      */
60
-    public function setEmail(?string $email): void
60
+    public function setEmail(?string $email) : void
61 61
     {
62 62
         $this->email = $email;
63 63
     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * {@inheritdoc}
75 75
      */
76
-    public function setFirstName(?string $firstName): void
76
+    public function setFirstName(?string $firstName) : void
77 77
     {
78 78
         $this->firstName = $firstName;
79 79
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * {@inheritdoc}
91 91
      */
92
-    public function setLastName(?string $lastName): void
92
+    public function setLastName(?string $lastName) : void
93 93
     {
94 94
         $this->lastName = $lastName;
95 95
     }
Please login to merge, or discard this patch.