@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * Retrieve a Datetime of the oldest cache file made |
47 | - * @return DateTime mtime of oldest cache file |
|
47 | + * @return null|\DateTime mtime of oldest cache file |
|
48 | 48 | */ |
49 | 49 | public function getOldestCachefileDate() |
50 | 50 | { |
@@ -70,7 +70,7 @@ |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * Remove all cached files (translations/resources) |
73 | - * @return void |
|
73 | + * @return boolean |
|
74 | 74 | */ |
75 | 75 | public function flushCache() |
76 | 76 | { |
@@ -125,6 +125,12 @@ |
||
125 | 125 | return $trans; |
126 | 126 | } |
127 | 127 | |
128 | + /** |
|
129 | + * @param string $id |
|
130 | + * @param string $domain |
|
131 | + * @param string|null $locale |
|
132 | + * @param string $trans |
|
133 | + */ |
|
128 | 134 | public function profileTranslation($id, $parameters, $domain, $locale, $trans) |
129 | 135 | { |
130 | 136 |
@@ -228,7 +228,7 @@ |
||
228 | 228 | * @Method({"GET", "POST"}) |
229 | 229 | * |
230 | 230 | * @throws AccessDeniedException |
231 | - * @return array |
|
231 | + * @return RedirectResponse |
|
232 | 232 | */ |
233 | 233 | public function deleteAction(Request $request, $id) |
234 | 234 | { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Returns a list of filters. |
26 | 26 | * |
27 | - * @return array An array of filters |
|
27 | + * @return \Twig_SimpleFilter[] An array of filters |
|
28 | 28 | */ |
29 | 29 | public function getFilters() |
30 | 30 | { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | |
13 | 13 | class ExceptionController extends AdminListController |
14 | 14 | { |
15 | + /** |
|
16 | + * @return \Kunstmaan\AdminListBundle\AdminList\Configurator\AbstractAdminListConfigurator |
|
17 | + */ |
|
15 | 18 | private function getAdminListConfigurator() |
16 | 19 | { |
17 | 20 | if ( !isset($this->configurator) ) { |
@@ -156,7 +156,7 @@ |
||
156 | 156 | } |
157 | 157 | |
158 | 158 | /** |
159 | - * @param int $triggered |
|
159 | + * @param integer $events |
|
160 | 160 | */ |
161 | 161 | public function setEvents($events) |
162 | 162 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | protected $adminRouteHelper; |
29 | 29 | |
30 | 30 | /** |
31 | - * @return mixed |
|
31 | + * @return string |
|
32 | 32 | */ |
33 | 33 | public function getTemplate() |
34 | 34 | { |
@@ -9,8 +9,14 @@ |
||
9 | 9 | */ |
10 | 10 | interface DataCollectionInterface |
11 | 11 | { |
12 | + /** |
|
13 | + * @return AbstractDataCollector |
|
14 | + */ |
|
12 | 15 | public function setTemplate($template); |
13 | 16 | |
17 | + /** |
|
18 | + * @return string |
|
19 | + */ |
|
14 | 20 | public function getTemplate(); |
15 | 21 | |
16 | 22 | public function getAccessRoles(); |