@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * |
55 | 55 | * @param string $name The name of the route |
56 | 56 | * @param mixed $parameters An array of parameters |
57 | - * @param bool|string $referenceType The type of reference to be generated (one of the constants) |
|
57 | + * @param integer $referenceType The type of reference to be generated (one of the constants) |
|
58 | 58 | * |
59 | 59 | * @return string The generated URL |
60 | 60 | * |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | /** |
140 | 140 | * @param Redirect $redirect |
141 | 141 | * |
142 | - * @return bool |
|
142 | + * @return string|false |
|
143 | 143 | */ |
144 | 144 | private function isWildcardRedirect(Redirect $redirect) |
145 | 145 | { |
@@ -152,6 +152,9 @@ discard block |
||
152 | 152 | return false; |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param string $matchSegment |
|
157 | + */ |
|
155 | 158 | private function isPathInfoWildcardMatch($matchSegment) |
156 | 159 | { |
157 | 160 | $path = $this->context->getPathInfo(); |
@@ -56,6 +56,7 @@ |
||
56 | 56 | * @param string $origin |
57 | 57 | * @param string $target |
58 | 58 | * @param bool $permanent |
59 | + * @param null|string $domain |
|
59 | 60 | * |
60 | 61 | * @return Redirect |
61 | 62 | */ |
@@ -58,6 +58,7 @@ |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * {@inheritdoc} |
61 | + * @param string $indexName |
|
61 | 62 | */ |
62 | 63 | public function getIndex($indexName) |
63 | 64 | { |
@@ -186,7 +186,7 @@ |
||
186 | 186 | /** |
187 | 187 | * Loops over the OrderItems and accumulates the value of the given property. Can also be a getter. |
188 | 188 | * |
189 | - * @param $property |
|
189 | + * @param string $property |
|
190 | 190 | * |
191 | 191 | * @return int|string |
192 | 192 | */ |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Returns a list of functions to add to the existing list. |
28 | 28 | * |
29 | - * @return array An array of functions |
|
29 | + * @return \Twig_SimpleFunction[] An array of functions |
|
30 | 30 | */ |
31 | 31 | public function getFunctions() |
32 | 32 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * |
127 | 127 | * @param array &$arr This is modified in place |
128 | 128 | * @param string $option the key in the $arr array |
129 | - * @param mixed $value the new value if the option wasn't set already |
|
129 | + * @param string $value the new value if the option wasn't set already |
|
130 | 130 | */ |
131 | 131 | private function setOptionIfNotSet(&$arr, $option, $value) |
132 | 132 | { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * @Method({"GET", "POST"}) |
44 | 44 | * @Template("KunstmaanAdminListBundle:Default:add.html.twig") |
45 | 45 | * |
46 | - * @return array |
|
46 | + * @return \Symfony\Component\HttpFoundation\Response |
|
47 | 47 | */ |
48 | 48 | public function addAction(Request $request) |
49 | 49 | { |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param ORM\Entity $entities Result array with all entities to create an insert for |
91 | 91 | * @param string $entityClassName Class of the specified entity (same as entities) |
92 | - * @param array $ignoreFields fields not to use in the insert query |
|
92 | + * @param string[] $ignoreFields fields not to use in the insert query |
|
93 | 93 | * |
94 | 94 | * @return string an insert sql query, of no result nul |
95 | 95 | */ |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Retrieve a Datetime of the oldest cache file made |
50 | 50 | * |
51 | - * @return DateTime mtime of oldest cache file |
|
51 | + * @return null|\DateTime mtime of oldest cache file |
|
52 | 52 | */ |
53 | 53 | public function getOldestCachefileDate() |
54 | 54 | { |
@@ -229,7 +229,7 @@ |
||
229 | 229 | * |
230 | 230 | * @throws AccessDeniedException |
231 | 231 | * |
232 | - * @return array |
|
232 | + * @return RedirectResponse |
|
233 | 233 | */ |
234 | 234 | public function deleteAction(Request $request, $id) |
235 | 235 | { |