Completed
Push — phpspec-7 ( 2faf6a )
by Kamil
62:22 queued 34:00
created
src/Sylius/Component/Addressing/Model/CountryInterface.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,10 +20,13 @@  discard block
 block discarded – undo
20 20
 
21 21
 interface CountryInterface extends ToggleableInterface, ResourceInterface, CodeAwareInterface
22 22
 {
23
+    /**
24
+     * @return string
25
+     */
23 26
     public function getName(?string $locale = null): ?string;
24 27
 
25 28
     /**
26
-     * @return Collection|ProvinceInterface[]
29
+     * @return Collection
27 30
      *
28 31
      * @psalm-return Collection<array-key, ProvinceInterface>
29 32
      */
@@ -31,8 +34,14 @@  discard block
 block discarded – undo
31 34
 
32 35
     public function hasProvinces(): bool;
33 36
 
37
+    /**
38
+     * @return void
39
+     */
34 40
     public function addProvince(ProvinceInterface $province): void;
35 41
 
42
+    /**
43
+     * @return void
44
+     */
36 45
     public function removeProvince(ProvinceInterface $province): void;
37 46
 
38 47
     public function hasProvince(ProvinceInterface $province): bool;
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 null|string
27
+     */
25 28
     public function getName(): ?string;
26 29
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/CreatePageInterface.php 1 patch
Doc Comments   +25 added lines patch added patch discarded remove patch
@@ -24,20 +24,36 @@  discard block
 block discarded – undo
24 24
 
25 25
     public function countTaxonsByName(string $name): int;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function deleteTaxonOnPageByName(string $name): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function describeItAs(string $description, string $languageCode): void;
30 36
 
31 37
     public function hasTaxonWithName(string $name): bool;
32 38
 
39
+    /**
40
+     * @return void
41
+     */
33 42
     public function nameIt(string $name, string $languageCode): void;
34 43
 
44
+    /**
45
+     * @return void
46
+     */
35 47
     public function specifyCode(string $code): void;
36 48
 
49
+    /**
50
+     * @return void
51
+     */
37 52
     public function specifySlug(string $slug, string $languageCode): void;
38 53
 
39 54
     /**
40 55
      * @param string $type
56
+     * @return void
41 57
      */
42 58
     public function attachImage(string $path, string $type = null): void;
43 59
 
@@ -48,10 +64,19 @@  discard block
 block discarded – undo
48 64
      */
49 65
     public function getLeaves(TaxonInterface $parentTaxon = null): array;
50 66
 
67
+    /**
68
+     * @return void
69
+     */
51 70
     public function activateLanguageTab(string $locale): void;
52 71
 
72
+    /**
73
+     * @return void
74
+     */
53 75
     public function moveUpTaxon(string $name): void;
54 76
 
77
+    /**
78
+     * @return void
79
+     */
55 80
     public function moveDownTaxon(string $name): void;
56 81
 
57 82
     public function getFirstTaxonOnTheList(): string;
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/Attribute.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@  discard block
 block discarded – undo
86 86
         return $this->type;
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $type
91
+     */
89 92
     public function setType(?string $type): void
90 93
     {
91 94
         $this->type = $type;
@@ -106,6 +109,9 @@  discard block
 block discarded – undo
106 109
         return $this->storageType;
107 110
     }
108 111
 
112
+    /**
113
+     * @param string $storageType
114
+     */
109 115
     public function setStorageType(?string $storageType): void
110 116
     {
111 117
         $this->storageType = $storageType;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/Customer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@
 block discarded – undo
62 62
         return $this->defaultAddress;
63 63
     }
64 64
 
65
+    /**
66
+     * @param AddressInterface $defaultAddress
67
+     */
65 68
     public function setDefaultAddress(?AddressInterface $defaultAddress): void
66 69
     {
67 70
         $this->defaultAddress = $defaultAddress;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariant.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@  discard block
 block discarded – undo
112 112
         return $this->onHold;
113 113
     }
114 114
 
115
+    /**
116
+     * @param integer $onHold
117
+     */
115 118
     public function setOnHold(?int $onHold): void
116 119
     {
117 120
         $this->onHold = $onHold;
@@ -122,6 +125,9 @@  discard block
 block discarded – undo
122 125
         return $this->onHand;
123 126
     }
124 127
 
128
+    /**
129
+     * @param integer $onHand
130
+     */
125 131
     public function setOnHand(?int $onHand): void
126 132
     {
127 133
         $this->onHand = (0 > $onHand) ? 0 : $onHand;
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodInterface.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -29,25 +29,49 @@
 block discarded – undo
29 29
 {
30 30
     public function getName(): ?string;
31 31
 
32
+    /**
33
+     * @return void
34
+     */
32 35
     public function setName(?string $name): void;
33 36
 
34 37
     public function getDescription(): ?string;
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function setDescription(?string $description): void;
37 43
 
38 44
     public function getInstructions(): ?string;
39 45
 
46
+    /**
47
+     * @return void
48
+     */
40 49
     public function setInstructions(?string $instructions): void;
41 50
 
51
+    /**
52
+     * @return string
53
+     */
42 54
     public function getEnvironment(): ?string;
43 55
 
56
+    /**
57
+     * @return void
58
+     */
44 59
     public function setEnvironment(?string $environment): void;
45 60
 
61
+    /**
62
+     * @return integer
63
+     */
46 64
     public function getPosition(): ?int;
47 65
 
66
+    /**
67
+     * @param integer $position
68
+     *
69
+     * @return void
70
+     */
48 71
     public function setPosition(?int $position): void;
49 72
 
50 73
     /**
74
+     * @param string $locale
51 75
      * @return PaymentMethodTranslationInterface
52 76
      */
53 77
     public function getTranslation(?string $locale = null): TranslationInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/Taxon.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
         return $this->code;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $code
56
+     */
54 57
     public function setCode(?string $code): void
55 58
     {
56 59
         $this->code = $code;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Form/Type/ReviewType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 
16 16
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
17 17
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
18
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
19 18
 use Symfony\Component\Form\Extension\Core\Type\TextType;
19
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
20 20
 use Symfony\Component\Form\FormBuilderInterface;
21 21
 use Symfony\Component\OptionsResolver\OptionsResolver;
22 22
 
Please login to merge, or discard this patch.