@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @param array $overviews |
77 | 77 | * |
78 | - * @return AnalyticsDailyOverviews |
|
78 | + * @return AnalyticsConfig |
|
79 | 79 | */ |
80 | 80 | public function setOverviews($overviews) |
81 | 81 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * |
100 | 100 | * @param array $segments |
101 | 101 | * |
102 | - * @return AnalyticsDailysegments |
|
102 | + * @return AnalyticsConfig |
|
103 | 103 | */ |
104 | 104 | public function setSegments($segments) |
105 | 105 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * |
134 | 134 | * @param string $name |
135 | 135 | * |
136 | - * @return Analyticsname |
|
136 | + * @return AnalyticsConfig |
|
137 | 137 | */ |
138 | 138 | public function setName($name) |
139 | 139 | { |
@@ -136,7 +136,7 @@ |
||
136 | 136 | /** |
137 | 137 | * Get visits |
138 | 138 | * |
139 | - * @return int |
|
139 | + * @return string |
|
140 | 140 | */ |
141 | 141 | public function getVisits() |
142 | 142 | { |
@@ -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 | } |