File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 1919 "psr/log" : " ^1.1"
2020 },
2121 "require-dev" : {
22- "doctrine/coding-standard" : " ^8.2 " ,
22+ "doctrine/coding-standard" : " ^9.0 " ,
2323 "infection/infection" : " ^0.23.0" ,
2424 "kwn/php-rdkafka-stubs" : " ^2.0" ,
2525 "phpstan/extension-installer" : " ^1.1" ,
Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ public function getConf(): Conf
2020 return $ this ->conf ;
2121 }
2222
23- /**
24- * @param string|int|bool $value
25- */
26- public function set (string $ key , $ value ): void
23+ public function set (string $ key , string |int |bool $ value ): void
2724 {
2825 if ($ value === true ) {
2926 $ value = 'true ' ;
Original file line number Diff line number Diff line change 1111final class ConfigTest extends TestCase
1212{
1313 /**
14- * @param mixed $value
15- *
1614 * @dataProvider providerSet
1715 */
18- public function testSet ($ value , string $ expected ): void
16+ public function testSet (bool | int | string $ value , string $ expected ): void
1917 {
2018 $ config = new ConsumerConfig ();
2119 $ config ->set (ConsumerConfig::GROUP_ID_CONFIG , $ value );
You can’t perform that action at this time.
0 commit comments