@@ -91,7 +91,7 @@ |
||
| 91 | 91 | * Build an sql insert into query by the paramters provided |
| 92 | 92 | * @param ORM\Entity $entities Result array with all entities to create an insert for |
| 93 | 93 | * @param string $entityClassName Class of the specified entity (same as entities) |
| 94 | - * @param array $ignoreFields fields not to use in the insert query |
|
| 94 | + * @param string[] $ignoreFields fields not to use in the insert query |
|
| 95 | 95 | * @return string an insert sql query, of no result nul |
| 96 | 96 | */ |
| 97 | 97 | public function buildInsertSql($entities, $entityClassName, $ignoreFields = array()) |
@@ -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 | { |