@@ -100,7 +100,7 @@ |
||
| 100 | 100 | * |
| 101 | 101 | * @param int $config |
| 102 | 102 | * |
| 103 | - * @return AnalyticsTopReferrals |
|
| 103 | + * @return AnalyticsSegment |
|
| 104 | 104 | */ |
| 105 | 105 | public function setConfig($config) |
| 106 | 106 | { |
@@ -171,7 +171,6 @@ |
||
| 171 | 171 | /** |
| 172 | 172 | * saves the config name |
| 173 | 173 | * |
| 174 | - * @param string $profileId |
|
| 175 | 174 | */ |
| 176 | 175 | public function saveConfigName($name, $id = false) |
| 177 | 176 | { |
@@ -78,6 +78,9 @@ discard block |
||
| 78 | 78 | return $value; |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string[] $patterns |
|
| 83 | + */ |
|
| 81 | 84 | private function processValue($pattern, $result, $value, $patterns) |
| 82 | 85 | { |
| 83 | 86 | if (!is_string($result) && !is_int($result) && count($patterns) > 1 && strlen(str_replace($pattern, '', $value)) > 0) { |
@@ -92,7 +95,7 @@ discard block |
||
| 92 | 95 | } |
| 93 | 96 | |
| 94 | 97 | /** |
| 95 | - * @param $parameters |
|
| 98 | + * @param \ReflectionParameter[] $parameters |
|
| 96 | 99 | * @param $additional |
| 97 | 100 | * |
| 98 | 101 | * @return array |
@@ -10,6 +10,7 @@ discard block |
||
| 10 | 10 | * @param mixed $object |
| 11 | 11 | * @param string $property |
| 12 | 12 | * @param mixed $value |
| 13 | + * @return boolean |
|
| 13 | 14 | */ |
| 14 | 15 | public function canSet($object, $property, $value); |
| 15 | 16 | |
@@ -17,6 +18,7 @@ discard block |
||
| 17 | 18 | * @param mixed $object |
| 18 | 19 | * @param string $property |
| 19 | 20 | * @param mixed $value |
| 21 | + * @return void |
|
| 20 | 22 | */ |
| 21 | 23 | public function set($object, $property, $value); |
| 22 | 24 | } |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * Get id |
| 77 | 77 | * |
| 78 | - * @return int |
|
| 78 | + * @return string |
|
| 79 | 79 | */ |
| 80 | 80 | public function getId() |
| 81 | 81 | { |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | /** |
| 172 | 172 | * Set the date when the form submission was created |
| 173 | 173 | * |
| 174 | - * @param datetime $created |
|
| 174 | + * @param DateTime $created |
|
| 175 | 175 | * |
| 176 | 176 | * @return FormSubmission |
| 177 | 177 | */ |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * Get id |
| 60 | 60 | * |
| 61 | - * @return int |
|
| 61 | + * @return string |
|
| 62 | 62 | */ |
| 63 | 63 | public function getId() |
| 64 | 64 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | /** |
| 155 | 155 | * Get sequence |
| 156 | 156 | * |
| 157 | - * @return int |
|
| 157 | + * @return string |
|
| 158 | 158 | */ |
| 159 | 159 | public function getSequence() |
| 160 | 160 | { |
@@ -14,6 +14,7 @@ |
||
| 14 | 14 | * @param string $from The from address |
| 15 | 15 | * @param string $to The to address(es) seperated by \n |
| 16 | 16 | * @param string $subject The subject |
| 17 | + * @return void |
|
| 17 | 18 | */ |
| 18 | 19 | public function sendContactMail(FormSubmission $submission, $from, $to, $subject); |
| 19 | 20 | } |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * @param string|null $extendClass |
| 92 | 92 | * @param bool $withRepository |
| 93 | 93 | * |
| 94 | - * @return array |
|
| 94 | + * @return string[] |
|
| 95 | 95 | * |
| 96 | 96 | * @throws \RuntimeException |
| 97 | 97 | */ |
@@ -176,9 +176,9 @@ discard block |
||
| 176 | 176 | /** |
| 177 | 177 | * Generate the entity admin type. |
| 178 | 178 | * |
| 179 | - * @param $bundle |
|
| 180 | - * @param $entityName |
|
| 181 | - * @param $entityPrefix |
|
| 179 | + * @param BundleInterface $bundle |
|
| 180 | + * @param string $entityName |
|
| 181 | + * @param string $entityPrefix |
|
| 182 | 182 | * @param array $fields |
| 183 | 183 | * @param string $extendClass |
| 184 | 184 | */ |
@@ -115,6 +115,9 @@ |
||
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $pathInSkeleton |
|
| 120 | + */ |
|
| 118 | 121 | public static function getFullSkeletonPath($pathInSkeleton) |
| 119 | 122 | { |
| 120 | 123 | $pathInSkeleton = trim($pathInSkeleton); |