@@ -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 | * |
@@ -173,9 +173,8 @@ discard block |
||
173 | 173 | } |
174 | 174 | |
175 | 175 | /** |
176 | - * @param array $properties |
|
177 | 176 | * |
178 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\MVC\Symfony\View\ContentView |
|
177 | + * @return ContentView |
|
179 | 178 | */ |
180 | 179 | protected function getContentView(array $contentInfoProperties = [], array $locationProperties = []) |
181 | 180 | { |
@@ -199,7 +198,7 @@ discard block |
||
199 | 198 | /** |
200 | 199 | * @param array $blockProperties |
201 | 200 | * |
202 | - * @return \PHPUnit_Framework_MockObject_MockObject|\eZ\Publish\Core\MVC\Symfony\View\BlockView |
|
201 | + * @return BlockView |
|
203 | 202 | */ |
204 | 203 | protected function getBlockView(array $blockProperties = array()) |
205 | 204 | { |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * Returns a valid ValueObject (supported by current MatcherFactory), that will match the test rules. |
19 | 19 | * i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory. |
20 | 20 | * |
21 | - * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
21 | + * @return \eZ\Publish\Core\MVC\Symfony\View\BlockView |
|
22 | 22 | */ |
23 | 23 | protected function getMatchableValueObject() |
24 | 24 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * Returns a valid ValueObject (supported by current MatcherFactory), that won't match the test rules. |
30 | 30 | * i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory. |
31 | 31 | * |
32 | - * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
32 | + * @return \eZ\Publish\Core\MVC\Symfony\View\BlockView |
|
33 | 33 | */ |
34 | 34 | protected function getNonMatchableValueObject() |
35 | 35 | { |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * Returns a valid ValueObject (supported by current MatcherFactory), that will match the test rules. |
19 | 19 | * i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory. |
20 | 20 | * |
21 | - * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
21 | + * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView |
|
22 | 22 | */ |
23 | 23 | protected function getMatchableValueObject() |
24 | 24 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * Returns a valid ValueObject (supported by current MatcherFactory), that won't match the test rules. |
30 | 30 | * i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory. |
31 | 31 | * |
32 | - * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
32 | + * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView |
|
33 | 33 | */ |
34 | 34 | protected function getNonMatchableValueObject() |
35 | 35 | { |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * Returns a valid ValueObject (supported by current MatcherFactory), that will match the test rules. |
19 | 19 | * i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory. |
20 | 20 | * |
21 | - * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
21 | + * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView |
|
22 | 22 | */ |
23 | 23 | protected function getMatchableValueObject() |
24 | 24 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * Returns a valid ValueObject (supported by current MatcherFactory), that won't match the test rules. |
30 | 30 | * i.e. Should return eZ\Publish\API\Repository\Values\Content\Location for LocationMatcherFactory. |
31 | 31 | * |
32 | - * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
32 | + * @return \eZ\Publish\Core\MVC\Symfony\View\ContentView |
|
33 | 33 | */ |
34 | 34 | protected function getNonMatchableValueObject() |
35 | 35 | { |
@@ -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 | { |