Completed
Push — 1.4-password-hashing-2 ( f2e689...57ede0 )
by Kamil
10:31
created
src/Sylius/Component/Core/Model/CustomerInterface.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -25,12 +25,24 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getOrders(): Collection;
27 27
 
28
+    /**
29
+     * @return AddressInterface
30
+     */
28 31
     public function getDefaultAddress(): ?AddressInterface;
29 32
 
33
+    /**
34
+     * @return void
35
+     */
30 36
     public function setDefaultAddress(?AddressInterface $defaultAddress): void;
31 37
 
38
+    /**
39
+     * @return void
40
+     */
32 41
     public function addAddress(AddressInterface $address): void;
33 42
 
43
+    /**
44
+     * @return void
45
+     */
34 46
     public function removeAddress(AddressInterface $address): void;
35 47
 
36 48
     public function hasAddress(AddressInterface $address): bool;
@@ -49,6 +61,7 @@  discard block
 block discarded – undo
49 61
 
50 62
     /**
51 63
      * @param ShopUserInterface|UserInterface|null $user
64
+     * @return void
52 65
      */
53 66
     public function setUser(?UserInterface $user);
54 67
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ShopBillingDataInterface.php 1 patch
Doc Comments   +36 added lines patch added patch discarded remove patch
@@ -15,27 +15,63 @@
 block discarded – undo
15 15
 
16 16
 interface ShopBillingDataInterface
17 17
 {
18
+    /**
19
+     * @return string|null
20
+     */
18 21
     public function getTaxId(): ?string;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setTaxId(?string $taxId): void;
21 27
 
28
+    /**
29
+     * @return string|null
30
+     */
22 31
     public function getCompany(): ?string;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function setCompany(?string $company): void;
25 37
 
38
+    /**
39
+     * @return string|null
40
+     */
26 41
     public function getCountryCode(): ?string;
27 42
 
43
+    /**
44
+     * @return void
45
+     */
28 46
     public function setCountryCode(?string $countryCode): void;
29 47
 
48
+    /**
49
+     * @return string|null
50
+     */
30 51
     public function getStreet(): ?string;
31 52
 
53
+    /**
54
+     * @return void
55
+     */
32 56
     public function setStreet(?string $street): void;
33 57
 
58
+    /**
59
+     * @return string|null
60
+     */
34 61
     public function getCity(): ?string;
35 62
 
63
+    /**
64
+     * @return void
65
+     */
36 66
     public function setCity(?string $city): void;
37 67
 
68
+    /**
69
+     * @return string|null
70
+     */
38 71
     public function getPostcode(): ?string;
39 72
 
73
+    /**
74
+     * @return void
75
+     */
40 76
     public function setPostcode(?string $postcode): void;
41 77
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/User.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -496,6 +496,7 @@  discard block
 block discarded – undo
496 496
 
497 497
     /**
498 498
      * {@inheritdoc}
499
+     * @param string|null $encoderName
499 500
      */
500 501
     public function setEncoderName(?string $encoderName): void
501 502
     {
@@ -541,6 +542,9 @@  discard block
 block discarded – undo
541 542
         ] = $data;
542 543
     }
543 544
 
545
+    /**
546
+     * @param \DateTimeInterface|null $date
547
+     */
544 548
     protected function hasExpired(?\DateTimeInterface $date): bool
545 549
     {
546 550
         return null !== $date && new \DateTime() >= $date;
Please login to merge, or discard this patch.