Skip to content

Commit 441e994

Browse files
committed
Fixed type mappings
1 parent 6088cb4 commit 441e994

File tree

1 file changed

+30
-6
lines changed

1 file changed

+30
-6
lines changed

tests/Integration/Rest/ResponseHandlerTest.php

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ public function testThatGetSerializeContextMethodCallsExpectedServiceMethods():
147147
->method('getEntityName')
148148
->willReturn('FakeEntity');
149149

150-
/** @var InputBag $parameterBag */
150+
/**
151+
* @phpstan-ignore-next-line
152+
*
153+
* @var InputBag $parameterBag
154+
*/
151155
$request->query = $parameterBag;
152156

153157
$context = (new ResponseHandler($serializer))
@@ -184,7 +188,11 @@ public function testThatGetSerializeContextSetExpectedGroupsWithPopulateAllParam
184188
->method('getEntityName')
185189
->willReturn('FakeEntity');
186190

187-
/** @var InputBag $parameterBag */
191+
/**
192+
* @phpstan-ignore-next-line
193+
*
194+
* @var InputBag $parameterBag
195+
*/
188196
$request->query = $parameterBag;
189197

190198
/** @var InputBag $parameterBag */
@@ -229,7 +237,11 @@ public function testThatGetSerializeContextSetExpectedGroupsWithPopulateAllParam
229237
->method('getAssociations')
230238
->willReturn(['AnotherFakeEntity']);
231239

232-
/** @var InputBag $parameterBag */
240+
/**
241+
* @phpstan-ignore-next-line
242+
*
243+
* @var InputBag $parameterBag
244+
*/
233245
$request->query = $parameterBag;
234246

235247
/** @var InputBag $parameterBag */
@@ -269,7 +281,11 @@ public function testThatGetSerializeContextSetExpectedGroupsWithPopulateOnlyPara
269281
->method('getEntityName')
270282
->willReturn('FakeEntity');
271283

272-
/** @var InputBag $parameterBag */
284+
/**
285+
* @phpstan-ignore-next-line
286+
*
287+
* @var InputBag $parameterBag
288+
*/
273289
$request->query = $parameterBag;
274290

275291
/** @var InputBag $parameterBag */
@@ -309,7 +325,11 @@ public function testThatGetSerializeContextSetExpectedGroupsWithPopulateOnlyPara
309325
->method('getEntityName')
310326
->willReturn('FakeEntity');
311327

312-
/** @var InputBag $parameterBag */
328+
/**
329+
* @phpstan-ignore-next-line
330+
*
331+
* @var InputBag $parameterBag
332+
*/
313333
$request->query = $parameterBag;
314334

315335
/** @var InputBag $parameterBag */
@@ -360,7 +380,11 @@ public function testThatGetSerializeContextReturnsExpectedWhenResourceHasGetSeri
360380
->method('getSerializerContext')
361381
->willReturn($expected);
362382

363-
/** @var InputBag $parameterBag */
383+
/**
384+
* @phpstan-ignore-next-line
385+
*
386+
* @var InputBag $parameterBag
387+
*/
364388
$request->query = $parameterBag;
365389

366390
self::assertSame(

0 commit comments

Comments
 (0)