Completed
Push — 1.7 ( 0983e5...497e44 )
by Kamil
05:26
created
src/Sylius/Component/User/Model/User.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -520,6 +520,9 @@
 block discarded – undo
520 520
         ] = $data;
521 521
     }
522 522
 
523
+    /**
524
+     * @param \DateTimeInterface|null $date
525
+     */
523 526
     protected function hasExpired(?\DateTimeInterface $date): bool
524 527
     {
525 528
         return null !== $date && new \DateTime() >= $date;
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.
ChannelBundle/Context/FakeChannel/FakeChannelCodeProviderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface FakeChannelCodeProviderInterface
19 19
 {
20
+    /**
21
+     * @return string
22
+     */
20 23
     public function getCode(Request $request): ?string;
21 24
 }
Please login to merge, or discard this patch.
Bundle/CoreBundle/Validator/Constraints/HasEnabledEntityValidator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@
 block discarded – undo
95 95
 
96 96
     /**
97 97
      * @param object $entity
98
+     * @param string|null $manager
98 99
      */
99 100
     private function getProperObjectManager(?string $manager, $entity): ?ObjectManager
100 101
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Matcher/ZoneMatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@
 block discarded – undo
116 116
         return $this->zoneRepository->findBy(['scope' => [$scope, Scope::ALL]]);
117 117
     }
118 118
 
119
+    /**
120
+     * @return AddressInterface
121
+     */
119 122
     private function getZoneByCode(string $code): ?ZoneInterface
120 123
     {
121 124
         return $this->zoneRepository->findOneBy(['code' => $code]);
Please login to merge, or discard this patch.
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -29,8 +29,14 @@
 block discarded – undo
29 29
 
30 30
     public function hasProvinces(): bool;
31 31
 
32
+    /**
33
+     * @return void
34
+     */
32 35
     public function addProvince(ProvinceInterface $province): void;
33 36
 
37
+    /**
38
+     * @return void
39
+     */
34 40
     public function removeProvince(ProvinceInterface $province): void;
35 41
 
36 42
     public function hasProvince(ProvinceInterface $province): bool;
Please login to merge, or discard this patch.
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/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.