@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * @param $code |
|
| 96 | + * @param string $code |
|
| 97 | 97 | * |
| 98 | 98 | * @return null|string |
| 99 | 99 | */ |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | - * @return array |
|
| 106 | + * @return string[] |
|
| 107 | 107 | */ |
| 108 | 108 | private function getAvailableCountries() |
| 109 | 109 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * |
| 68 | 68 | * @throws \RuntimeException |
| 69 | 69 | * |
| 70 | - * @return string |
|
| 70 | + * @return integer |
|
| 71 | 71 | */ |
| 72 | 72 | private function tryToMapPaymentMethodName($paymentMethodName) |
| 73 | 73 | { |
@@ -187,6 +187,7 @@ |
||
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | 189 | * {@inheritdoc} |
| 190 | + * @param string $field |
|
| 190 | 191 | */ |
| 191 | 192 | private function getFieldName($field) |
| 192 | 193 | { |
@@ -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 | { |
@@ -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 | */ |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @param mixed $value |
|
| 43 | + * @param ToggleableInterface $value |
|
| 44 | 44 | */ |
| 45 | 45 | private function ensureValueImplementsToggleableInterface($value) |
| 46 | 46 | { |
@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * @param ReviewInterface $review |
| 76 | 76 | * @param ReviewableInterface[] $reviewSubjectsToRecalculate |
| 77 | 77 | * |
| 78 | - * @return array |
|
| 78 | + * @return ReviewableInterface[] |
|
| 79 | 79 | */ |
| 80 | 80 | private function removeReviewsAndExtractSubject(ReviewInterface $review, array $reviewSubjectsToRecalculate) |
| 81 | 81 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | * |
| 128 | 128 | * @param string $schemaAlias |
| 129 | 129 | * |
| 130 | - * @return bool |
|
| 130 | + * @return boolean|null |
|
| 131 | 131 | */ |
| 132 | 132 | protected function isGrantedOr403($schemaAlias) |
| 133 | 133 | { |