@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
6 | 6 | use Kunstmaan\ConfigBundle\Entity\AbstractConfig; |
7 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
8 | 7 | use Twig_Extension; |
9 | 8 | |
10 | 9 | /** |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Returns a list of functions to add to the existing list. |
19 | 19 | * |
20 | - * @return array An array of functions |
|
20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
21 | 21 | */ |
22 | 22 | public function getFunctions() |
23 | 23 | { |
@@ -22,8 +22,8 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @param $configHelper |
24 | 24 | * @param $queryHelper |
25 | - * @param $output |
|
26 | - * @param $em |
|
25 | + * @param OutputInterface $output |
|
26 | + * @param EntityManager $em |
|
27 | 27 | */ |
28 | 28 | public function __construct($configHelper, $queryHelper, $output, $em) |
29 | 29 | { |
@@ -75,6 +75,7 @@ discard block |
||
75 | 75 | /** |
76 | 76 | * Executes the query |
77 | 77 | * |
78 | + * @param string $metrics |
|
78 | 79 | * @return array the resultset |
79 | 80 | */ |
80 | 81 | protected function executeQuery(AnalyticsOverview $overview, $metrics) { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * @Template() |
20 | 20 | * |
21 | 21 | * @param \Symfony\Component\HttpFoundation\Request $request |
22 | - * @return array |
|
22 | + * @return \Symfony\Component\HttpFoundation\Response |
|
23 | 23 | */ |
24 | 24 | public function indexAction(Request $request, $segmentId=null) |
25 | 25 | { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | * |
87 | 87 | * @throws AccessDeniedException |
88 | 88 | * |
89 | - * @return array |
|
89 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
90 | 90 | */ |
91 | 91 | public function setTokenAction(Request $request) |
92 | 92 | { |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * |
116 | 116 | * @throws AccessDeniedException |
117 | 117 | * |
118 | - * @return array |
|
118 | + * @return \Symfony\Component\HttpFoundation\Response |
|
119 | 119 | */ |
120 | 120 | public function configAction(Request $request) |
121 | 121 | { |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * Set overviews |
76 | 76 | * |
77 | 77 | * @param array $overviews |
78 | - * @return AnalyticsDailyOverviews |
|
78 | + * @return AnalyticsConfig |
|
79 | 79 | */ |
80 | 80 | public function setOverviews($overviews) |
81 | 81 | { |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | * Set segments |
99 | 99 | * |
100 | 100 | * @param array $segments |
101 | - * @return AnalyticsDailysegments |
|
101 | + * @return AnalyticsConfig |
|
102 | 102 | */ |
103 | 103 | public function setSegments($segments) |
104 | 104 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | * |
133 | 133 | * @param string $name |
134 | 134 | * |
135 | - * @return Analyticsname |
|
135 | + * @return AnalyticsConfig |
|
136 | 136 | */ |
137 | 137 | public function setName($name) |
138 | 138 | { |
@@ -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 | { |
@@ -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 | } |