@@ -48,7 +48,7 @@ |
||
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 | { |
@@ -101,7 +101,7 @@ |
||
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, |
@@ -102,7 +102,7 @@ |
||
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 | { |
@@ -46,6 +46,8 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -80,6 +80,7 @@ |
||
80 | 80 | |
81 | 81 | /** |
82 | 82 | * {@inheritdoc} |
83 | + * @param string|null $url |
|
83 | 84 | */ |
84 | 85 | public function redirect(RequestConfiguration $configuration, $url, $status = 302) |
85 | 86 | { |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | /** |
95 | 95 | * @param $name |
96 | 96 | * |
97 | - * @return null|string |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | public function getDefaultTemplate($name) |
100 | 100 | { |
@@ -226,7 +226,7 @@ discard block |
||
226 | 226 | } |
227 | 227 | |
228 | 228 | /** |
229 | - * @param object|null $resource |
|
229 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
230 | 230 | * |
231 | 231 | * @return array |
232 | 232 | */ |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | } |
346 | 346 | |
347 | 347 | /** |
348 | - * @param $parameter |
|
348 | + * @param string $parameter |
|
349 | 349 | * @param array $defaults |
350 | 350 | * |
351 | 351 | * @return array |
@@ -405,7 +405,7 @@ discard block |
||
405 | 405 | } |
406 | 406 | |
407 | 407 | /** |
408 | - * @return array |
|
408 | + * @return callable |
|
409 | 409 | */ |
410 | 410 | public function getFactoryArguments() |
411 | 411 | { |
@@ -449,7 +449,7 @@ discard block |
||
449 | 449 | } |
450 | 450 | |
451 | 451 | /** |
452 | - * @return mixed|null |
|
452 | + * @return string |
|
453 | 453 | */ |
454 | 454 | public function getSerializationVersion() |
455 | 455 | { |
@@ -433,7 +433,7 @@ |
||
433 | 433 | |
434 | 434 | /** |
435 | 435 | * @param Request $request |
436 | - * @param $enabled |
|
436 | + * @param boolean $enabled |
|
437 | 437 | * |
438 | 438 | * @return RedirectResponse |
439 | 439 | */ |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @param ClassMetadataInfo $metadata |
73 | - * @param $configuration |
|
73 | + * @param \Doctrine\ORM\Configuration $configuration |
|
74 | 74 | */ |
75 | 75 | private function setAssociationMappings(ClassMetadataInfo $metadata, $configuration) |
76 | 76 | { |
@@ -153,7 +153,7 @@ |
||
153 | 153 | * Check if a unique constraint has been defined. |
154 | 154 | * |
155 | 155 | * @param ClassMetadata $metadata |
156 | - * @param array $columns |
|
156 | + * @param string[] $columns |
|
157 | 157 | * |
158 | 158 | * @return bool |
159 | 159 | */ |