@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @param string $name The name of the route |
52 | 52 | * @param mixed $parameters An array of parameters |
53 | - * @param bool|string $referenceType The type of reference to be generated (one of the constants) |
|
53 | + * @param integer $referenceType The type of reference to be generated (one of the constants) |
|
54 | 54 | * |
55 | 55 | * @return string The generated URL |
56 | 56 | * |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |
131 | - * @return bool |
|
131 | + * @return string|false |
|
132 | 132 | */ |
133 | 133 | private function isWildcardRedirect(Redirect $redirect) |
134 | 134 | { |
@@ -141,6 +141,9 @@ discard block |
||
141 | 141 | return false; |
142 | 142 | } |
143 | 143 | |
144 | + /** |
|
145 | + * @param string $matchSegment |
|
146 | + */ |
|
144 | 147 | private function isPathInfoWildcardMatch($matchSegment) |
145 | 148 | { |
146 | 149 | $path = $this->context->getPathInfo(); |
@@ -8,6 +8,7 @@ |
||
8 | 8 | * Add a SearchProvider to the chain |
9 | 9 | * |
10 | 10 | * @param string $alias |
11 | + * @return void |
|
11 | 12 | */ |
12 | 13 | public function addProvider(SearchProviderInterface $provider, $alias); |
13 | 14 |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
71 | - * @param $id |
|
71 | + * @param integer|null $id |
|
72 | 72 | * |
73 | 73 | * @return mixed|null |
74 | 74 | * |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | |
106 | 106 | /** |
107 | 107 | * @param $class |
108 | - * @param $locale |
|
108 | + * @param string $locale |
|
109 | 109 | * @param int $nbOfItems |
110 | 110 | * |
111 | 111 | * @return array|null |
@@ -42,7 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return \PHPUnit\Framework\MockObject\MockObject|VersionChecker |
|
45 | + * @return string |
|
46 | 46 | */ |
47 | 47 | public function setUpVersionCheckerMock(?array $methods) |
48 | 48 | { |