@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | /** |
98 | 98 | * Sets the input parameters to handle. |
99 | 99 | * |
100 | - * @param array $params |
|
100 | + * @param string|null $params |
|
101 | 101 | */ |
102 | 102 | public function setParameters($params) |
103 | 103 | { |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | * Sets a directive for the named key. |
270 | 270 | * |
271 | 271 | * @param string $key |
272 | - * @param mixed $value |
|
272 | + * @param string $value |
|
273 | 273 | */ |
274 | 274 | public function setDirective($key, $value) |
275 | 275 | { |
@@ -224,7 +224,7 @@ |
||
224 | 224 | * |
225 | 225 | * @param string $value Value to process |
226 | 226 | * |
227 | - * @return array Parsed values |
|
227 | + * @return string Parsed values |
|
228 | 228 | */ |
229 | 229 | public function parseValue($value) |
230 | 230 | { |
@@ -112,7 +112,7 @@ |
||
112 | 112 | * Creates a composite expression that adds all the attached |
113 | 113 | * filters individual expressions into a combined one. |
114 | 114 | * |
115 | - * @return CompositeExpression|null |
|
115 | + * @return null|\Doctrine\DBAL\Query\Expression\CompositeExpression |
|
116 | 116 | */ |
117 | 117 | public function getWhereExpression() |
118 | 118 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | * @param array $contentType |
40 | 40 | * @param string $order |
41 | 41 | * |
42 | - * @return QueryBuilder |
|
42 | + * @return \Doctrine\DBAL\Query\QueryBuilder |
|
43 | 43 | */ |
44 | 44 | public function querySelectList(array $contentType, $order = null) |
45 | 45 | { |
@@ -134,7 +134,7 @@ |
||
134 | 134 | /** |
135 | 135 | * Get a count of change log entries by contenttype. |
136 | 136 | * |
137 | - * @param mixed $contenttype |
|
137 | + * @param string $contenttype |
|
138 | 138 | * @param array $options |
139 | 139 | * |
140 | 140 | * @return QueryBuilder |
@@ -76,7 +76,7 @@ |
||
76 | 76 | /** |
77 | 77 | * Get the path to a tranlsation resource. |
78 | 78 | * |
79 | - * @return array [absolute path, relative path] |
|
79 | + * @return string[] [absolute path, relative path] |
|
80 | 80 | */ |
81 | 81 | public function path() |
82 | 82 | { |
@@ -342,8 +342,8 @@ discard block |
||
342 | 342 | /** |
343 | 343 | * Enable or disable a user, specified by id. |
344 | 344 | * |
345 | - * @param integer|string $id |
|
346 | - * @param boolean|integer $enabled |
|
345 | + * @param integer $id |
|
346 | + * @param boolean $enabled |
|
347 | 347 | * |
348 | 348 | * @return integer |
349 | 349 | */ |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | /** |
379 | 379 | * Add a certain role from a specific user. |
380 | 380 | * |
381 | - * @param string|integer $id |
|
381 | + * @param string $id |
|
382 | 382 | * @param string $role |
383 | 383 | * |
384 | 384 | * @return boolean |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | * Ensure changes to the user's roles match what the current user has |
422 | 422 | * permissions to manipulate. |
423 | 423 | * |
424 | - * @param string|integer $id User ID |
|
424 | + * @param integer $id User ID |
|
425 | 425 | * @param array $newRoles Roles from form submission |
426 | 426 | * |
427 | 427 | * @return string[] The user's roles with the allowed changes |
@@ -258,7 +258,7 @@ |
||
258 | 258 | /** |
259 | 259 | * Return current user or user by ID. |
260 | 260 | * |
261 | - * @param integer|string|null $userId |
|
261 | + * @param integer $userId |
|
262 | 262 | * |
263 | 263 | * @return Entity\Users|null |
264 | 264 | */ |
@@ -15,7 +15,7 @@ |
||
15 | 15 | class Standard extends ResourceManager |
16 | 16 | { |
17 | 17 | /** |
18 | - * @param ClassLoader|string $loader ClassLoader or root path |
|
18 | + * @param string $loader ClassLoader or root path |
|
19 | 19 | * @param Request $request |
20 | 20 | */ |
21 | 21 | public function __construct($loader, Request $request = null) |