@@ -93,7 +93,7 @@ |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @return \PHPUnit_Framework_MockObject_MockObject|GetResponseEvent |
|
96 | + * @return GetResponseEvent |
|
97 | 97 | */ |
98 | 98 | private function createGetResponseEventMock() |
99 | 99 | { |
@@ -263,7 +263,7 @@ |
||
263 | 263 | } |
264 | 264 | |
265 | 265 | /** |
266 | - * @return \PHPUnit_Framework_MockObject_MockObject|FormEvent |
|
266 | + * @return FormEvent |
|
267 | 267 | */ |
268 | 268 | private function createFormEventMock() |
269 | 269 | { |
@@ -276,7 +276,7 @@ |
||
276 | 276 | } |
277 | 277 | |
278 | 278 | /** |
279 | - * @return \PHPUnit_Framework_MockObject_MockObject|ActionEvent |
|
279 | + * @return ActionEvent |
|
280 | 280 | */ |
281 | 281 | private function createActionEventMock() |
282 | 282 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | $event |
94 | 94 | ->expects($this->once()) |
95 | 95 | ->method('setView') |
96 | - ->with($this->callback(function (View $view) { |
|
96 | + ->with($this->callback(function(View $view) { |
|
97 | 97 | return $view->getStatusCode() === null && $view->getData() === null; |
98 | 98 | })); |
99 | 99 | |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | $event |
122 | 122 | ->expects($this->once()) |
123 | 123 | ->method('setView') |
124 | - ->with($this->callback(function (View $view) use ($form) { |
|
124 | + ->with($this->callback(function(View $view) use ($form) { |
|
125 | 125 | return $view->getStatusCode() === Response::HTTP_BAD_REQUEST && $view->getData() === $form; |
126 | 126 | })); |
127 | 127 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | $event |
155 | 155 | ->expects($this->once()) |
156 | 156 | ->method('setView') |
157 | - ->with($this->callback(function (View $view) use ($statusCode) { |
|
157 | + ->with($this->callback(function(View $view) use ($statusCode) { |
|
158 | 158 | return $view->getStatusCode() === $statusCode && $view->getData() === null; |
159 | 159 | })); |
160 | 160 | |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | $event |
210 | 210 | ->expects($this->once()) |
211 | 211 | ->method('setView') |
212 | - ->with($this->callback(function (View $view) use ($statusCode, $data, $url) { |
|
212 | + ->with($this->callback(function(View $view) use ($statusCode, $data, $url) { |
|
213 | 213 | $headers = $view->getHeaders(); |
214 | 214 | |
215 | 215 | return $view->getStatusCode() === $statusCode |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | $event |
253 | 253 | ->expects($this->once()) |
254 | 254 | ->method('setView') |
255 | - ->with($this->callback(function (View $view) use ($statusCode, $data) { |
|
255 | + ->with($this->callback(function(View $view) use ($statusCode, $data) { |
|
256 | 256 | return $view->getStatusCode() === $statusCode && $view->getData() === $data; |
257 | 257 | })); |
258 | 258 |
@@ -316,7 +316,7 @@ |
||
316 | 316 | } |
317 | 317 | |
318 | 318 | /** |
319 | - * @return \PHPUnit_Framework_MockObject_MockObject|ViewEvent |
|
319 | + * @return ViewEvent |
|
320 | 320 | */ |
321 | 321 | private function createViewEventMock() |
322 | 322 | { |
@@ -188,7 +188,7 @@ |
||
188 | 188 | } |
189 | 189 | |
190 | 190 | /** |
191 | - * @return \PHPUnit_Framework_MockObject_MockObject|LifecycleEventArgs |
|
191 | + * @return LifecycleEventArgs |
|
192 | 192 | */ |
193 | 193 | private function createLifecycleEventArgsMock() |
194 | 194 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
145 | - * @return \PHPUnit_Framework_MockObject_MockObject|FormRegistry |
|
145 | + * @return FormRegistry |
|
146 | 146 | */ |
147 | 147 | private function createFormRegistryMock() |
148 | 148 | { |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
155 | - * @return \PHPUnit_Framework_MockObject_MockObject|ManagerRegistry |
|
155 | + * @return ManagerRegistry |
|
156 | 156 | */ |
157 | 157 | private function createManagerRegistryMock() |
158 | 158 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @return \PHPUnit_Framework_MockObject_MockObject|OptionsResolver |
|
65 | + * @return OptionsResolver |
|
66 | 66 | */ |
67 | 67 | private function createOptionsResolverMock() |
68 | 68 | { |
@@ -235,7 +235,7 @@ |
||
235 | 235 | } |
236 | 236 | |
237 | 237 | /** |
238 | - * @return \PHPUnit_Framework_MockObject_MockObject|DocumentRepository |
|
238 | + * @return DocumentManager |
|
239 | 239 | */ |
240 | 240 | private function createRepositoryMock() |
241 | 241 | { |
@@ -259,7 +259,7 @@ |
||
259 | 259 | } |
260 | 260 | |
261 | 261 | /** |
262 | - * @return \PHPUnit_Framework_MockObject_MockObject|EntityRepository |
|
262 | + * @return EntityManagerInterface |
|
263 | 263 | */ |
264 | 264 | private function createRepositoryMock() |
265 | 265 | { |