Completed
Push — phpspec-7 ( 2faf6a )
by Kamil
62:22 queued 34:00
created
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/Behat/Client/ApiSecurityClientInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -15,17 +15,32 @@
 block discarded – undo
15 15
 
16 16
 interface ApiSecurityClientInterface
17 17
 {
18
+    /**
19
+     * @return void
20
+     */
18 21
     public function prepareLoginRequest(): void;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setEmail(string $email): void;
21 27
 
28
+    /**
29
+     * @return void
30
+     */
22 31
     public function setPassword(string $password): void;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function call(): void;
25 37
 
26 38
     public function isLoggedIn(): bool;
27 39
 
28 40
     public function getErrorMessage(): string;
29 41
 
42
+    /**
43
+     * @return void
44
+     */
30 45
     public function logOut(): void;
31 46
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Client/RequestInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -41,21 +41,42 @@
 block discarded – undo
41 41
 
42 42
     public function content(): string;
43 43
 
44
+    /**
45
+     * @return void
46
+     */
44 47
     public function setContent(array $content): void;
45 48
 
49
+    /**
50
+     * @return void
51
+     */
46 52
     public function updateContent(array $newValues): void;
47 53
 
48 54
     public function parameters(): array;
49 55
 
56
+    /**
57
+     * @return void
58
+     */
50 59
     public function updateParameters(array $newParameters): void;
51 60
 
52 61
     public function files(): array;
53 62
 
63
+    /**
64
+     * @return void
65
+     */
54 66
     public function updateFiles(array $newFiles): void;
55 67
 
68
+    /**
69
+     * @return void
70
+     */
56 71
     public function addSubResource(string $key, array $subResource): void;
57 72
 
73
+    /**
74
+     * @return void
75
+     */
58 76
     public function removeSubResource(string $subResource, string $id): void;
59 77
 
78
+    /**
79
+     * @return void
80
+     */
60 81
     public function authorize(?string $token): void;
61 82
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Api/Shop/PromotionContext.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
         Assert::notNull($this->responseChecker->getError($response));
62 62
     }
63 63
 
64
+    /**
65
+     * @return string
66
+     */
64 67
     private function getCartTokenValue(): ?string
65 68
     {
66 69
         if ($this->sharedStorage->has('cart_token')) {
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -129,6 +129,8 @@
 block discarded – undo
129 129
     /**
130 130
      * @When /^I set its(?:| default) price to "(?:€|£|\$)([^"]+)" for ("([^"]+)" channel)$/
131 131
      * @When I do not set its price
132
+     * @param string $price
133
+     * @param ChannelInterface $channel
132 134
      */
133 135
     public function iSetItsPriceTo(?string $price = null, ?ChannelInterface $channel = null)
134 136
     {
Please login to merge, or discard this patch.