File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -859,30 +859,3 @@ public function testInheritedClassCallSubmitWithTwoArguments()
859859 $ clientChild ->submit ($ clientChild ->request ('GET ' , 'http://www.example.com/foo/foobar ' )->filter ('input ' )->form ());
860860 }
861861}
862-
863- class ClassThatInheritClient extends AbstractBrowser
864- {
865- protected $ nextResponse = null ;
866-
867- public function setNextResponse (Response $ response )
868- {
869- $ this ->nextResponse = $ response ;
870- }
871-
872- protected function doRequest ($ request ): Response
873- {
874- if (null === $ this ->nextResponse ) {
875- return new Response ();
876- }
877-
878- $ response = $ this ->nextResponse ;
879- $ this ->nextResponse = null ;
880-
881- return $ response ;
882- }
883-
884- public function submit (DomCrawlerForm $ form , array $ values = []): Crawler
885- {
886- return parent ::submit ($ form , $ values );
887- }
888- }
You can’t perform that action at this time.
0 commit comments