@@ -153,7 +153,7 @@ |
||
153 | 153 | } |
154 | 154 | |
155 | 155 | /** |
156 | - * @param $pathInfo |
|
156 | + * @param string $pathInfo |
|
157 | 157 | * |
158 | 158 | * @return Request |
159 | 159 | */ |
@@ -32,7 +32,7 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @return \eZ\Publish\Core\MVC\Symfony\SiteAccess\Matcher\Compound\LogicalAnd |
|
35 | + * @return LogicalOr |
|
36 | 36 | */ |
37 | 37 | public function testConstruct() |
38 | 38 | { |
@@ -150,6 +150,9 @@ |
||
150 | 150 | return $content; |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param string $tpl |
|
155 | + */ |
|
153 | 156 | private function getTemplatePath($tpl) |
154 | 157 | { |
155 | 158 | return 'templates/' . $tpl; |
@@ -132,7 +132,6 @@ |
||
132 | 132 | } |
133 | 133 | |
134 | 134 | /** |
135 | - * @param bool $csrfEnabled |
|
136 | 135 | * |
137 | 136 | * @return CsrfListener |
138 | 137 | */ |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * Sets the complete list of view providers. |
68 | 68 | * |
69 | - * @param array $viewProviders |
|
69 | + * @param \PHPUnit\Framework\MockObject\MockObject $viewProviders |
|
70 | 70 | */ |
71 | 71 | public function setViewProviders(array $viewProviders) |
72 | 72 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * @dataProvider indexingProvider |
88 | 88 | * |
89 | - * @param array|null $value |
|
89 | + * @param array|null $values |
|
90 | 90 | * @param \Psr\Log\LoggerInterface|\PHPUnit\Framework\MockObject\MockObject|null $logger |
91 | 91 | */ |
92 | 92 | public function testIndexing(array $values = null, $logger = null) |
@@ -111,7 +111,7 @@ |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | /** |
114 | - * @return MockObject|RequestMatcherInterface |
|
114 | + * @return RequestMatcherInterface |
|
115 | 115 | */ |
116 | 116 | protected function getRequestMatcherMock() |
117 | 117 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return CsrfProviderInterface|MockObject |
|
171 | + * @return null|CsrfTokenManagerInterface |
|
172 | 172 | */ |
173 | 173 | protected function getCsrfProviderMock() |
174 | 174 | { |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | } |
192 | 192 | |
193 | 193 | /** |
194 | - * @return MockObject|GetResponseEvent |
|
194 | + * @return null|EventDispatcherInterface |
|
195 | 195 | */ |
196 | 196 | protected function getEventMock($class = null) |
197 | 197 | { |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | } |
294 | 294 | |
295 | 295 | /** |
296 | - * @return MockObject|EventDispatcherInterface |
|
296 | + * @return EventDispatcherInterface |
|
297 | 297 | */ |
298 | 298 | protected function getEventDispatcherMock() |
299 | 299 | { |
@@ -67,6 +67,9 @@ discard block |
||
67 | 67 | ); |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @param string $method |
|
72 | + */ |
|
70 | 73 | protected function onKernelViewIsNotRestRequest($method, GetResponseEvent $event) |
71 | 74 | { |
72 | 75 | $this->getVisitorDispatcherMock() |
@@ -86,6 +89,9 @@ discard block |
||
86 | 89 | $this->onKernelView('onKernelResultView', $this->getControllerResultEventMock()); |
87 | 90 | } |
88 | 91 | |
92 | + /** |
|
93 | + * @param string $method |
|
94 | + */ |
|
89 | 95 | protected function onKernelView($method, $event) |
90 | 96 | { |
91 | 97 | $this->getVisitorDispatcherMock() |
@@ -108,7 +114,7 @@ discard block |
||
108 | 114 | } |
109 | 115 | |
110 | 116 | /** |
111 | - * @return AcceptHeaderVisitorDispatcher|MockObject |
|
117 | + * @return AcceptHeaderVisitorDispatcher |
|
112 | 118 | */ |
113 | 119 | public function getVisitorDispatcherMock() |
114 | 120 | { |