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
106
106
107
107
break ;
108
108
case 'DELETE ' :
109
- $ this ->dataPersister ->remove ($ controllerResult );
109
+ $ this ->dataPersister ->remove ($ controllerResult, $ attributes );
110
110
$ event ->setControllerResult (null );
111
111
break ;
112
112
}
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ public function testOnKernelViewWithControllerResultAndRemove()
172
172
173
173
$ dataPersisterProphecy = $ this ->prophesize (DataPersisterInterface::class);
174
174
$ dataPersisterProphecy ->supports ($ dummy , Argument::type ('array ' ))->willReturn (true )->shouldBeCalled ();
175
- $ dataPersisterProphecy ->remove ($ dummy )->shouldBeCalled ();
175
+ $ dataPersisterProphecy ->remove ($ dummy, Argument:: type ( ' array ' ) )->shouldBeCalled ();
176
176
177
177
$ iriConverterProphecy = $ this ->prophesize (IriConverterInterface::class);
178
178
$ iriConverterProphecy ->getIriFromItem ($ dummy )->shouldNotBeCalled ();
You can’t perform that action at this time.
0 commit comments