Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
created
src/Sylius/Bundle/InstallerBundle/Command/AbstractInstallCommand.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @param $id
49
+     * @param string $id
50 50
      *
51 51
      * @return object
52 52
      */
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @param array $headers
75
+     * @param string[] $headers
76 76
      * @param array $rows
77 77
      * @param OutputInterface $output
78 78
      */
@@ -144,9 +144,9 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * @param OutputInterface $output
146 146
      * @param string          $question
147
-     * @param array           $constraints
147
+     * @param \Symfony\Component\Validator\Constraints\NotBlank[]           $constraints
148 148
      *
149
-     * @return mixed
149
+     * @return string
150 150
      */
151 151
     protected function askHidden(OutputInterface $output, $question, array $constraints = [])
152 152
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      * @param array $constraints
160 160
      * @param mixed $default
161 161
      *
162
-     * @return mixed
162
+     * @return string
163 163
      */
164 164
     protected function ask(OutputInterface $output, $question, array $constraints = [], $default = null)
165 165
     {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
-     * @param mixed $value
170
+     * @param string $value
171 171
      * @param array $constraints
172 172
      *
173 173
      * @return bool
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * @param string          $default
196 196
      * @param bool         $hidden
197 197
      *
198
-     * @return mixed
198
+     * @return string
199 199
      */
200 200
     private function proceedAskRequest(OutputInterface $output, $question, array $constraints = [], $default = null, $hidden = false)
201 201
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/InstallerBundle/Command/SetupCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
     /**
216 216
      * @param OutputInterface $output
217 217
      *
218
-     * @return mixed
218
+     * @return string
219 219
      */
220 220
     private function getAdministratorPassword(OutputInterface $output)
221 221
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/InstallerBundle/Requirement/Requirement.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -20,6 +20,12 @@
 block discarded – undo
20 20
     protected $help;
21 21
     protected $required;
22 22
 
23
+    /**
24
+     * @param string $label
25
+     * @param boolean $fulfilled
26
+     * @param string $expected
27
+     * @param string $help
28
+     */
23 29
     public function __construct($label, $fulfilled, $expected, $actual, $required = true, $help = null)
24 30
     {
25 31
         $this->label = $label;
Please login to merge, or discard this patch.
src/Sylius/Bundle/InstallerBundle/Requirement/RequirementCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
     protected $label;
20 20
     protected $requirements = [];
21 21
 
22
+    /**
23
+     * @param string $label
24
+     */
22 25
     public function __construct($label)
23 26
     {
24 27
         $this->label = $label;
Please login to merge, or discard this patch.
src/Sylius/Bundle/PayumBundle/Model/PaymentSecurityToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * {@inheritdoc}
60 60
      *
61
-     * @return IdentityInterface|null
61
+     * @return IdentityInterface
62 62
      */
63 63
     public function getDetails()
64 64
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/RbacBundle/Twig/RbacExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
      *
49 49
      * @param string $permissionCode
50 50
      *
51
-     * @return string
51
+     * @return boolean
52 52
      */
53 53
     public function isGranted($permissionCode)
54 54
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReportBundle/DataFetcher/TimePeriod.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
      * @param string $interval
102 102
      * @param string $periodFormat
103 103
      * @param string $presentationFormat
104
-     * @param array  $groupBy
104
+     * @param string[]  $groupBy
105 105
      */
106 106
     private function setExtraConfiguration(
107 107
         array &$configuration,
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Behat/FormContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * @param  string           $label
103 103
      * @param  string           $collectionSelector
104 104
      *
105
-     * @return NodeElement|null
105
+     * @return NodeElement
106 106
      */
107 107
     protected function isInvalidCollectionField($position, $label, $collectionSelector = null)
108 108
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Behat/WebContext.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -46,6 +46,8 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * @Given /^I am on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
48 48
      * @Given /^I go to the page of ([^""]*) with ([^""]*) "([^""]*)"$/
49
+     * @param string $type
50
+     * @param string $property
49 51
      */
50 52
     public function iAmOnTheResourcePage($type, $property, $value)
51 53
     {
@@ -82,6 +84,8 @@  discard block
 block discarded – undo
82 84
     /**
83 85
      * @Then /^I should be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
84 86
      * @Then /^I should still be on the page of ([^""]*) with ([^""]*) "([^""]*)"$/
87
+     * @param string $type
88
+     * @param string $property
85 89
      */
86 90
     public function iShouldBeOnTheResourcePage($type, $property, $value)
87 91
     {
@@ -125,6 +129,7 @@  discard block
 block discarded – undo
125 129
 
126 130
     /**
127 131
      * @Given /^I am (building|viewing|editing) ([^""]*) with ([^""]*) "([^""]*)"$/
132
+     * @param string $property
128 133
      */
129 134
     public function iAmDoingSomethingWithResource($action, $type, $property, $value)
130 135
     {
@@ -167,6 +172,9 @@  discard block
 block discarded – undo
167 172
 
168 173
     /**
169 174
      * @Then /^I should be (building|viewing|editing) ([^"]*) with ([^"]*) "([^""]*)"$/
175
+     * @param string $action
176
+     * @param string $type
177
+     * @param string $property
170 178
      */
171 179
     public function iShouldBeDoingSomethingWithResource($action, $type, $property, $value)
172 180
     {
@@ -221,6 +229,7 @@  discard block
 block discarded – undo
221 229
 
222 230
     /**
223 231
      * @When /^I click "([^"]+)"$/
232
+     * @param string $link
224 233
      */
225 234
     public function iClick($link)
226 235
     {
@@ -470,6 +479,7 @@  discard block
 block discarded – undo
470 479
 
471 480
     /**
472 481
      * @Given /^I wait (\d+) (seconds|second)$/
482
+     * @param integer $time
473 483
      */
474 484
     public function iWait($time)
475 485
     {
@@ -540,6 +550,8 @@  discard block
 block discarded – undo
540 550
 
541 551
     /**
542 552
      * @Then /^I should see ([\w\s]+) "([^""]*)" as available choice$/
553
+     * @param string $fieldName
554
+     * @param string $fieldOption
543 555
      */
544 556
     public function iShouldSeeSelectWithOption($fieldName, $fieldOption)
545 557
     {
@@ -625,6 +637,8 @@  discard block
 block discarded – undo
625 637
 
626 638
     /**
627 639
      * @Then /^I should see select "([^"]*)" with "([^"]*)" option selected$/
640
+     * @param string $fieldName
641
+     * @param string $fieldOption
628 642
      */
629 643
     public function iShouldSeeSelectWithOptionSelected($fieldName, $fieldOption)
630 644
     {
Please login to merge, or discard this patch.