File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public function onKernelView(GetResponseForControllerResultEvent $event): void
106106
107107 break ;
108108 case 'DELETE ' :
109- $ this ->dataPersister ->remove ($ controllerResult );
109+ $ this ->dataPersister ->remove ($ controllerResult, $ attributes );
110110 $ event ->setControllerResult (null );
111111 break ;
112112 }
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ public function testOnKernelViewWithControllerResultAndRemove()
172172
173173 $ dataPersisterProphecy = $ this ->prophesize (DataPersisterInterface::class);
174174 $ dataPersisterProphecy ->supports ($ dummy , Argument::type ('array ' ))->willReturn (true )->shouldBeCalled ();
175- $ dataPersisterProphecy ->remove ($ dummy )->shouldBeCalled ();
175+ $ dataPersisterProphecy ->remove ($ dummy, Argument:: type ( ' array ' ) )->shouldBeCalled ();
176176
177177 $ iriConverterProphecy = $ this ->prophesize (IriConverterInterface::class);
178178 $ iriConverterProphecy ->getIriFromItem ($ dummy )->shouldNotBeCalled ();
You can’t perform that action at this time.
0 commit comments