@@ -20,6 +20,9 @@ |
||
20 | 20 | { |
21 | 21 | const MATCHER_RELATIVE_NAMESPACE = 'eZ\\Publish\\Core\\MVC\\Symfony\\Matcher\\ContentBased'; |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $matcherIdentifier |
|
25 | + */ |
|
23 | 26 | protected function getMatcher($matcherIdentifier) |
24 | 27 | { |
25 | 28 | @trigger_error( |
@@ -25,7 +25,6 @@ |
||
25 | 25 | * Checks if $valueObject matches $matcher rules. |
26 | 26 | * |
27 | 27 | * @param \eZ\Publish\Core\MVC\Symfony\Matcher\ContentBased\MatcherInterface $matcher |
28 | - * @param ValueObject $valueObject |
|
29 | 28 | * |
30 | 29 | * @throws \InvalidArgumentException |
31 | 30 | * |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use eZ\Publish\Core\MVC\Symfony\RequestStackAware; |
16 | 16 | use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference; |
17 | 17 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
18 | -use Symfony\Component\HttpFoundation\Request; |
|
19 | 18 | |
20 | 19 | class RouteReferenceGenerator implements RouteReferenceGeneratorInterface |
21 | 20 | { |
@@ -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 | */ |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return string $locale |
|
60 | + * @return string[] $locale |
|
61 | 61 | */ |
62 | 62 | public function getLocale() |
63 | 63 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @return array |
|
68 | + * @return FileSizeExtension[] |
|
69 | 69 | */ |
70 | 70 | protected function getExtensions() |
71 | 71 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | } |
84 | 84 | |
85 | 85 | /** |
86 | - * @return ConfigResolverInterface|\PHPUnit_Framework_MockObject_MockObject |
|
86 | + * @return ConfigResolverInterface |
|
87 | 87 | */ |
88 | 88 | protected function getConfigResolverInterfaceMock() |
89 | 89 | { |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
100 | - * @return LocaleConverterInterface|\PHPUnit_Framework_MockObject_MockObject |
|
100 | + * @return LocaleConverterInterface |
|
101 | 101 | */ |
102 | 102 | protected function getLocaleConverterInterfaceMock() |
103 | 103 | { |
@@ -117,7 +117,7 @@ discard block |
||
117 | 117 | } |
118 | 118 | |
119 | 119 | /** |
120 | - * @return TranslatorInterface|\PHPUnit_Framework_MockObject_MockObject |
|
120 | + * @return TranslatorInterface |
|
121 | 121 | */ |
122 | 122 | protected function getTranslatorInterfaceMock() |
123 | 123 | { |
@@ -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 | { |