@@ -86,7 +86,6 @@ public function testGetResourceObjectType(): void
8686        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
8787        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
8888
89-         /** @var Operation $operation */ 
9089        $ operationnew  Query ())->withShortName ('shortName ' )->withDescription ('description ' )->withClass ('resourceClass ' );
9190        /** @var ObjectType $resourceObjectType */ 
9291        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadataCollection$ operationnull , ['input '  => false ]);
@@ -112,7 +111,6 @@ public function testGetResourceObjectTypeOutputClass(): void
112111        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
113112        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
114113
115-         /** @var Operation $operation */ 
116114        $ operationnew  Query ())->withShortName ('shortName ' )->withDescription ('description ' )->withOutput (['class '  => 'outputClass ' ]);
117115        /** @var ObjectType $resourceObjectType */ 
118116        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadataCollection$ operationnull , ['input '  => false ]);
@@ -177,7 +175,6 @@ public function testGetResourceObjectTypeInput(): void
177175        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
178176        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
179177
180-         /** @var Operation $operation */ 
181178        $ operationnew  Mutation ())->withName ('custom ' )->withShortName ('shortName ' )->withDescription ('description ' )->withClass ('resourceClass ' );
182179        /** @var NonNull $resourceObjectType */ 
183180        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => true ]);
@@ -202,7 +199,6 @@ public function testGetResourceObjectTypeNestedInput(): void
202199        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
203200        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
204201
205-         /** @var Operation $operation */ 
206202        $ operationnew  Mutation ())->withName ('custom ' )->withShortName ('shortName ' )->withDescription ('description ' )->withClass ('resourceClass ' );
207203        /** @var NonNull $resourceObjectType */ 
208204        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => true , 'wrapped '  => false , 'depth '  => 1 ]);
@@ -227,9 +223,7 @@ public function testGetResourceObjectTypeNestedInputNullable(): void
227223        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
228224        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
229225
230-         /** @var Operation $operation */ 
231226        $ operationnew  Mutation ())->withName ('custom ' )->withShortName ('shortNameNullable ' )->withDescription ('description nullable ' )->withClass ('resourceClass ' );
232-         /** @var ApiProperty $propertyMetadata */ 
233227        $ propertyMetadatanew  ApiProperty ())->withRequired (false );
234228        /** @var InputObjectType $resourceObjectType */ 
235229        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operation$ propertyMetadata
@@ -257,7 +251,6 @@ public function testGetResourceObjectTypeCustomMutationInputArgs(): void
257251        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
258252        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
259253
260-         /** @var Operation $operation */ 
261254        $ operationnew  Mutation ())->withArgs ([])->withName ('custom ' )->withShortName ('shortName ' )->withDescription ('description ' )->withClass ('resourceClass ' );
262255        /** @var NonNull $resourceObjectType */ 
263256        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => true ]);
@@ -288,7 +281,6 @@ public function testGetResourceObjectTypeMutation(): void
288281        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
289282        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
290283
291-         /** @var Operation $operation */ 
292284        $ operationnew  Mutation ())->withName ('create ' )->withShortName ('shortName ' )->withDescription ('description ' )->withClass ('resourceClass ' );
293285        /** @var ObjectType $resourceObjectType */ 
294286        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => false ]);
@@ -320,7 +312,6 @@ public function testGetResourceObjectTypeMutationWrappedType(): void
320312        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
321313        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
322314
323-         /** @var Operation $operation */ 
324315        $ operationnew  Mutation ())->withName ('create ' )->withShortName ('shortName ' )->withDescription ('description ' )->withNormalizationContext (['groups '  => ['create ' ]])->withClass ('resourceClass ' );
325316        /** @var ObjectType $resourceObjectType */ 
326317        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => false ]);
@@ -362,7 +353,6 @@ public function testGetResourceObjectTypeMutationNested(): void
362353        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
363354        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
364355
365-         /** @var Operation $operation */ 
366356        $ operationnew  Mutation ())->withName ('create ' )->withShortName ('shortName ' )->withDescription ('description ' )->withClass ('resourceClass ' );
367357        /** @var ObjectType $resourceObjectType */ 
368358        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => false , 'wrapped '  => false , 'depth '  => 1 ]);
@@ -390,7 +380,6 @@ public function testGetResourceObjectTypeSubscription(): void
390380        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
391381        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
392382
393-         /** @var Operation $operation */ 
394383        $ operationnew  Subscription ())->withName ('update ' )->withShortName ('shortName ' )->withDescription ('description ' )->withMercure (true )->withClass ('resourceClass ' );
395384        /** @var ObjectType $resourceObjectType */ 
396385        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => false ]);
@@ -424,7 +413,6 @@ public function testGetResourceObjectTypeSubscriptionWrappedType(): void
424413        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
425414        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
426415
427-         /** @var Operation $operation */ 
428416        $ operationnew  Subscription ())->withName ('update ' )->withShortName ('shortName ' )->withDescription ('description ' )->withNormalizationContext (['groups '  => ['update ' ]])->withClass ('resourceClass ' );
429417        /** @var ObjectType $resourceObjectType */ 
430418        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => false ]);
@@ -467,7 +455,6 @@ public function testGetResourceObjectTypeSubscriptionNested(): void
467455        $ this typesContainerProphecy ->has ('Node ' )->shouldBeCalled ()->willReturn (false );
468456        $ this typesContainerProphecy ->set ('Node ' , Argument::type (InterfaceType::class))->shouldBeCalled ();
469457
470-         /** @var Operation $operation */ 
471458        $ operationnew  Subscription ())->withName ('update ' )->withShortName ('shortName ' )->withDescription ('description ' )->withMercure (true )->withClass ('resourceClass ' );
472459        /** @var ObjectType $resourceObjectType */ 
473460        $ resourceObjectType$ this typeBuilder ->getResourceObjectType ($ resourceMetadata$ operationnull , ['input '  => false , 'wrapped '  => false , 'depth '  => 1 ]);
@@ -496,18 +483,17 @@ public function testGetNodeInterface(): void
496483        $ this assertNull ($ nodeInterfaceresolveType ([], [], $ this prophesize (ResolveInfo::class)->reveal ()));
497484
498485        $ this typesContainerProphecy ->has ('Dummy ' )->shouldBeCalled ()->willReturn (false );
499-         $ this assertNull ($ nodeInterfaceresolveType ([ItemNormalizer::ITEM_RESOURCE_CLASS_KEY  => Dummy::class], [], $ this prophesize (ResolveInfo::class)->reveal ()));
486+         $ resolvedType$ nodeInterfaceresolveType ([ItemNormalizer::ITEM_RESOURCE_CLASS_KEY  => Dummy::class], [], $ this prophesize (ResolveInfo::class)->reveal ());
487+         $ this assertNull ($ resolvedType
500488
501489        $ this typesContainerProphecy ->has ('Dummy ' )->shouldBeCalled ()->willReturn (true );
502490        $ this typesContainerProphecy ->get ('Dummy ' )->shouldBeCalled ()->willReturn (GraphQLType::string ());
503-         /** @var GraphQLType $resolvedType */ 
504491        $ resolvedType$ nodeInterfaceresolveType ([ItemNormalizer::ITEM_RESOURCE_CLASS_KEY  => Dummy::class], [], $ this prophesize (ResolveInfo::class)->reveal ());
505492        $ this assertSame (GraphQLType::string (), $ resolvedType
506493    }
507494
508495    public  function  testCursorBasedGetPaginatedCollectionType (): void 
509496    {
510-         /** @var Operation $operation */ 
511497        $ operationnew  Query ())->withPaginationType ('cursor ' );
512498        $ this typesContainerProphecy ->has ('StringCursorConnection ' )->shouldBeCalled ()->willReturn (false );
513499        $ this typesContainerProphecy ->set ('StringCursorConnection ' , Argument::type (ObjectType::class))->shouldBeCalled ();
@@ -563,7 +549,6 @@ public function testCursorBasedGetPaginatedCollectionType(): void
563549
564550    public  function  testPageBasedGetPaginatedCollectionType (): void 
565551    {
566-         /** @var Operation $operation */ 
567552        $ operationnew  Query ())->withPaginationType ('page ' );
568553        $ this typesContainerProphecy ->has ('StringPageConnection ' )->shouldBeCalled ()->willReturn (false );
569554        $ this typesContainerProphecy ->set ('StringPageConnection ' , Argument::type (ObjectType::class))->shouldBeCalled ();
@@ -601,7 +586,6 @@ public function testGetEnumType(): void
601586        $ enumClass
602587        $ enumName'GamePlayMode ' ;
603588        $ enumDescription'GamePlayMode description ' ;
604-         /** @var Operation $operation */ 
605589        $ operationnew  Operation ())
606590            ->withClass ($ enumClass
607591            ->withShortName ($ enumName
0 commit comments