@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * Get visits |
135 | 135 | * |
136 | - * @return integer |
|
136 | + * @return string |
|
137 | 137 | */ |
138 | 138 | public function getVisits() |
139 | 139 | { |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @param integer $config |
159 | 159 | * |
160 | - * @return AnalyticsTopReferrals |
|
160 | + * @return AnalyticsOverview |
|
161 | 161 | */ |
162 | 162 | public function setConfig($config) |
163 | 163 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * |
182 | 182 | * @param integer $segment |
183 | 183 | * |
184 | - * @return AnalyticsTopReferrals |
|
184 | + * @return AnalyticsOverview |
|
185 | 185 | */ |
186 | 186 | public function setSegment($segment) |
187 | 187 | { |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | /** |
231 | 231 | * Set chartData |
232 | 232 | * |
233 | - * @param array $chartData |
|
233 | + * @param string $chartData |
|
234 | 234 | * @return $this |
235 | 235 | */ |
236 | 236 | public function setChartData($chartData) |
@@ -290,7 +290,7 @@ discard block |
||
290 | 290 | /** |
291 | 291 | * Get returningUsers |
292 | 292 | * |
293 | - * @return string |
|
293 | + * @return integer |
|
294 | 294 | */ |
295 | 295 | public function getReturningUsers() |
296 | 296 | { |
@@ -498,7 +498,7 @@ discard block |
||
498 | 498 | /** |
499 | 499 | * Get useYear |
500 | 500 | * |
501 | - * @return integer |
|
501 | + * @return boolean |
|
502 | 502 | */ |
503 | 503 | public function getUseYear() |
504 | 504 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * |
100 | 100 | * @param integer $config |
101 | 101 | * |
102 | - * @return AnalyticsTopReferrals |
|
102 | + * @return AnalyticsSegment |
|
103 | 103 | */ |
104 | 104 | public function setConfig($config) |
105 | 105 | { |
@@ -159,7 +159,6 @@ |
||
159 | 159 | /** |
160 | 160 | * saves the config name |
161 | 161 | * |
162 | - * @param string $profileId |
|
163 | 162 | */ |
164 | 163 | public function saveConfigName($name, $id=false) { |
165 | 164 | $em = $this->getEntityManager(); |
@@ -7,11 +7,23 @@ |
||
7 | 7 | |
8 | 8 | interface BuilderInterface |
9 | 9 | { |
10 | + /** |
|
11 | + * @return boolean |
|
12 | + */ |
|
10 | 13 | public function canBuild(Fixture $fixture); |
11 | 14 | |
15 | + /** |
|
16 | + * @return void |
|
17 | + */ |
|
12 | 18 | public function preBuild(Fixture $fixture); |
13 | 19 | |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
14 | 23 | public function postBuild(Fixture $fixture); |
15 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
16 | 28 | public function postFlushBuild(Fixture $fixture); |
17 | 29 | } |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @return mixed |
|
80 | + * @return Fixture[] |
|
81 | 81 | */ |
82 | 82 | public function getFixtures() |
83 | 83 | { |
@@ -25,6 +25,9 @@ |
||
25 | 25 | $this->specParsers = new ArrayCollection(); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param ArrayCollection $providers |
|
30 | + */ |
|
28 | 31 | public function parseFixture(Fixture $fixture, $providers, $fixtures = []) |
29 | 32 | { |
30 | 33 | $entities = []; |
@@ -74,6 +74,9 @@ discard block |
||
74 | 74 | return $value; |
75 | 75 | } |
76 | 76 | |
77 | + /** |
|
78 | + * @param string[] $patterns |
|
79 | + */ |
|
77 | 80 | private function processValue($pattern, $result, $value, $patterns) |
78 | 81 | { |
79 | 82 | if (!is_string($result) && !is_int($result) && count($patterns) > 1 && strlen(str_replace($pattern, '', $value)) > 0) { |
@@ -89,7 +92,7 @@ discard block |
||
89 | 92 | } |
90 | 93 | |
91 | 94 | /** |
92 | - * @param $parameters |
|
95 | + * @param \ReflectionParameter[] $parameters |
|
93 | 96 | * @param $additional |
94 | 97 | * @return array |
95 | 98 | */ |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Check if this parser is applicable |
13 | 13 | * |
14 | - * @return bool |
|
14 | + * @return integer |
|
15 | 15 | */ |
16 | 16 | public function canParse($value) |
17 | 17 | { |