@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @param array $excludedUriPrefixes |
|
151 | + * @param string[] $excludedUriPrefixes |
|
152 | 152 | */ |
153 | 153 | public function setExcludedUriPrefixes(array $excludedUriPrefixes) |
154 | 154 | { |
@@ -226,7 +226,7 @@ |
||
226 | 226 | * Fragments are considered as sub-requests (i.e. ESI, Hinclude...). |
227 | 227 | * |
228 | 228 | * @param Request $request |
229 | - * @param $requestType |
|
229 | + * @param integer $requestType |
|
230 | 230 | * |
231 | 231 | * @return bool |
232 | 232 | */ |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Returns matched SiteAccess. |
73 | 73 | * |
74 | - * @return string|bool |
|
74 | + * @return string|false |
|
75 | 75 | */ |
76 | 76 | protected function getMatchedSiteAccess() |
77 | 77 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Renders the HTML view markup for the given field definition. |
51 | 51 | * |
52 | - * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $definition |
|
52 | + * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition |
|
53 | 53 | * |
54 | 54 | * @return string |
55 | 55 | */ |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | /** |
59 | 59 | * Renders the HTML edot markup for the given field definition. |
60 | 60 | * |
61 | - * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $definition |
|
61 | + * @param \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition |
|
62 | 62 | * |
63 | 63 | * @return string |
64 | 64 | */ |
@@ -64,7 +64,7 @@ |
||
64 | 64 | /** |
65 | 65 | * Returns a list of functions to add to the existing list. |
66 | 66 | * |
67 | - * @return array |
|
67 | + * @return Twig_SimpleFunction[] |
|
68 | 68 | */ |
69 | 69 | public function getFunctions() |
70 | 70 | { |
@@ -91,7 +91,7 @@ |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @param string|Twig_Template $baseTemplate |
|
94 | + * @param string $baseTemplate |
|
95 | 95 | */ |
96 | 96 | public function setBaseTemplate($baseTemplate) |
97 | 97 | { |
@@ -213,6 +213,11 @@ |
||
213 | 213 | $this->assertFalse($normalizer->accept($input)); |
214 | 214 | } |
215 | 215 | |
216 | + /** |
|
217 | + * @param string $documentElement |
|
218 | + * @param string $namespace |
|
219 | + * @param string $dtdPath |
|
220 | + */ |
|
216 | 221 | protected function getNormalizer($documentElement, $namespace, $dtdPath) |
217 | 222 | { |
218 | 223 | return new DocumentTypeDefinition($documentElement, $namespace, $dtdPath); |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @param string $class A class name |
46 | 46 | * |
47 | - * @return true if this Voter can process the class |
|
47 | + * @return boolean if this Voter can process the class |
|
48 | 48 | */ |
49 | 49 | public function supportsClass($class) |
50 | 50 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * ACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN. |
59 | 59 | * |
60 | 60 | * @param TokenInterface $token A TokenInterface instance |
61 | - * @param object $object The object to secure |
|
61 | + * @param \stdClass $object The object to secure |
|
62 | 62 | * @param array $attributes An array of attributes associated with the method being invoked |
63 | 63 | * |
64 | 64 | * @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * @see \eZ\Publish\API\Repository\Repository::canUser() |
55 | 55 | * |
56 | 56 | * @param TokenInterface $token A TokenInterface instance |
57 | - * @param object $object The object to secure |
|
57 | + * @param \stdClass $object The object to secure |
|
58 | 58 | * @param array $attributes An array of attributes associated with the method being invoked |
59 | 59 | * |
60 | 60 | * @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED |