File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed
src/Symfony/Component/BrowserKit Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -114,12 +114,7 @@ public function getContent()
114114 return $ this ->content ;
115115 }
116116
117- /**
118- * @param array $parameters
119- *
120- * @return array
121- */
122- private static function convertAllValuesToString (array $ parameters )
117+ private static function convertAllValuesToString (array $ parameters ): array
123118 {
124119 array_walk_recursive ($ parameters , static function (&$ value ) {
125120 $ value = (string ) $ value ;
Original file line number Diff line number Diff line change @@ -52,20 +52,20 @@ public function testGetServer()
5252 $ this ->assertEquals (['foo ' => 'bar ' ], $ request ->getServer (), '->getServer() returns the server parameters of the request ' );
5353 }
5454
55- public function testAllParameterValuesAreConvertedToString ()
55+ public function testAllParameterValuesAreConvertedToString (): void
5656 {
5757 $ parameters = [
5858 'foo ' => 1 ,
5959 'bar ' => [
6060 'baz ' => 2 ,
61- ]
61+ ],
6262 ];
6363
6464 $ expected = [
6565 'foo ' => '1 ' ,
6666 'bar ' => [
6767 'baz ' => '2 ' ,
68- ]
68+ ],
6969 ];
7070
7171 $ request = new Request ('http://www.example.com/ ' , 'get ' , $ parameters );
You can’t perform that action at this time.
0 commit comments