@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | { |
24 | 24 | const MATCHER_RELATIVE_NAMESPACE = 'eZ\\Publish\\Core\\MVC\\Symfony\\Matcher\\Block'; |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $matcherIdentifier |
|
28 | + */ |
|
26 | 29 | protected function getMatcher($matcherIdentifier) |
27 | 30 | { |
28 | 31 | @trigger_error( |
@@ -45,7 +48,6 @@ discard block |
||
45 | 48 | * Checks if $valueObject matches $matcher rules. |
46 | 49 | * |
47 | 50 | * @param \eZ\Publish\Core\MVC\Symfony\Matcher\MatcherInterface $matcher |
48 | - * @param ValueObject $valueObject |
|
49 | 51 | * |
50 | 52 | * @throws InvalidArgumentException |
51 | 53 | * |
@@ -148,7 +148,7 @@ |
||
148 | 148 | /** |
149 | 149 | * @param array $matchConfig |
150 | 150 | * |
151 | - * @return AbstractMatcherFactory |
|
151 | + * @return ClassNameMatcherFactory |
|
152 | 152 | */ |
153 | 153 | public function setMatchConfig($matchConfig) |
154 | 154 | { |
@@ -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 | * |
@@ -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 | { |
@@ -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); |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | } |
34 | 34 | |
35 | 35 | /** |
36 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider |
|
36 | + * @return \eZ\Bundle\EzPublishCoreBundle\ApiLoader\RepositoryConfigurationProvider |
|
37 | 37 | */ |
38 | 38 | protected function getRepositoryConfigMock() |
39 | 39 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Symfony\Component\Translation\TranslatorInterface |
|
51 | + * @return \Symfony\Component\Translation\TranslatorInterface |
|
52 | 52 | */ |
53 | 53 | protected function getTranslatorMock() |
54 | 54 | { |