@@ -139,6 +139,10 @@ |
||
139 | 139 | |
140 | 140 | /** |
141 | 141 | * @deprecated This method is deprecated since KunstmaanTranslatorBundle version 5.1 and will be removed in KunstmaanTranslatorBundle version 6.0 |
142 | + * @param string $id |
|
143 | + * @param string $domain |
|
144 | + * @param string|null $locale |
|
145 | + * @param string $trans |
|
142 | 146 | */ |
143 | 147 | public function profileTranslation($id, $parameters, $domain, $locale, $trans) |
144 | 148 | { |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | } |
478 | 478 | |
479 | 479 | /** |
480 | - * @return mixed|null |
|
480 | + * @return User|null |
|
481 | 481 | */ |
482 | 482 | protected function getUser() |
483 | 483 | { |
@@ -493,7 +493,7 @@ discard block |
||
493 | 493 | } |
494 | 494 | |
495 | 495 | /** |
496 | - * @return mixed |
|
496 | + * @return User |
|
497 | 497 | */ |
498 | 498 | protected function getAdminUser() |
499 | 499 | { |
@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | + * @param integer $major |
|
22 | + * @param integer $minor |
|
23 | + * @param integer $patch |
|
21 | 24 | * @return bool |
22 | 25 | */ |
23 | 26 | public static function isKernelLessThan($major, $minor = null, $patch = null) |
@@ -26,6 +29,7 @@ discard block |
||
26 | 29 | } |
27 | 30 | |
28 | 31 | /** |
32 | + * @param string $operator |
|
29 | 33 | * @return bool |
30 | 34 | */ |
31 | 35 | private static function kernelVersionCompare($operator, $major, $minor = null, $patch = null) |
@@ -22,7 +22,6 @@ |
||
22 | 22 | protected $em; |
23 | 23 | |
24 | 24 | /** |
25 | - * @param EngineInterface $templating |
|
26 | 25 | * @param EntityManagerInterface $em |
27 | 26 | */ |
28 | 27 | public function __construct(/* EngineInterface|EntityManagerInterface */ $em, EntityManagerInterface $emOld = null) |
@@ -39,7 +39,6 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param EntityManagerInterface|null $em |
42 | - * @param PdfTransformer|null $mediaManager |
|
43 | 42 | */ |
44 | 43 | public function __construct(/* EntityManagerInterface */ $em = null, /* PdfTransformer */ $pdfTransformer = null, $webRoot = null, $enablePdfPreview = null) |
45 | 44 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | private $template; |
30 | 30 | |
31 | 31 | /** |
32 | - * @param array $url The url path and parameters |
|
32 | + * @param string[] $url The url path and parameters |
|
33 | 33 | * @param string $label The label |
34 | 34 | * @param string $icon The icon |
35 | 35 | * @param string $template The template |
@@ -11,6 +11,9 @@ |
||
11 | 11 | { |
12 | 12 | protected $id; |
13 | 13 | |
14 | + /** |
|
15 | + * @param string $id |
|
16 | + */ |
|
14 | 17 | public function __construct($id) |
15 | 18 | { |
16 | 19 | $this->setId($id); |
@@ -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 | { |