From 1703b74e73dd242ec3ce9790d03a3f1cee753495 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 1 Jul 2022 12:24:54 +0200 Subject: [PATCH] Add missing return types --- tests/Composer/Test/ConfigTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Composer/Test/ConfigTest.php b/tests/Composer/Test/ConfigTest.php index 69a64397b..9fe1da3fc 100644 --- a/tests/Composer/Test/ConfigTest.php +++ b/tests/Composer/Test/ConfigTest.php @@ -409,7 +409,7 @@ class ConfigTest extends TestCase } } - public function testMergesPluginConfig() + public function testMergesPluginConfig(): void { $config = new Config(false); $config->merge(array('config' => array('allow-plugins' => array('some/plugin' => true)))); @@ -419,7 +419,7 @@ class ConfigTest extends TestCase $this->assertEquals(array('some/plugin' => true, 'another/plugin' => true), $config->get('allow-plugins')); } - public function testOverridesGlobalBooleanPluginsConfig() + public function testOverridesGlobalBooleanPluginsConfig(): void { $config = new Config(false); $config->merge(array('config' => array('allow-plugins' => true))); @@ -429,7 +429,7 @@ class ConfigTest extends TestCase $this->assertEquals(array('another/plugin' => true), $config->get('allow-plugins')); } - public function testAllowsAllPluginsFromLocalBoolean() + public function testAllowsAllPluginsFromLocalBoolean(): void { $config = new Config(false); $config->merge(array('config' => array('allow-plugins' => array('some/plugin' => true))));