@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @return mixed |
|
| 104 | + * @return string |
|
| 105 | 105 | */ |
| 106 | 106 | public function getId() |
| 107 | 107 | { |
@@ -118,6 +118,9 @@ discard block |
||
| 118 | 118 | $this->keyword = $keyword; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @return string |
|
| 123 | + */ |
|
| 121 | 124 | public function getDomain() |
| 122 | 125 | { |
| 123 | 126 | return $this->domain; |
@@ -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 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * Returns the Configuration to test |
| 36 | 36 | * |
| 37 | - * @return Configuration |
|
| 37 | + * @return KunstmaanTranslatorExtension |
|
| 38 | 38 | */ |
| 39 | 39 | protected function getExtension() |
| 40 | 40 | { |
@@ -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 | { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | /** |
| 98 | 98 | * Returns the Configuration to test |
| 99 | 99 | * |
| 100 | - * @return Configuration |
|
| 100 | + * @return KunstmaanVotingExtension |
|
| 101 | 101 | */ |
| 102 | 102 | protected function getExtension() |
| 103 | 103 | { |