From: Dan Brown Date: Sat, 8 May 2021 12:23:28 +0000 (+0100) Subject: Removed php8-only 'mixed' type from test method X-Git-Tag: v21.04.4~1^2~6 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/7f8f3080c500bcf051aebf8ff26c6abdbb6963c1 Removed php8-only 'mixed' type from test method --- diff --git a/tests/Unit/ConfigTest.php b/tests/Unit/ConfigTest.php index bb475c354..0833ffbd8 100644 --- a/tests/Unit/ConfigTest.php +++ b/tests/Unit/ConfigTest.php @@ -81,8 +81,9 @@ class ConfigTest extends TestCase * Set an environment variable of the given name and value * then check the given config key to see if it matches the given result. * Providing a null $envVal clears the variable. + * @param mixed $expectedResult */ - protected function checkEnvConfigResult(string $envName, ?string $envVal, string $configKey, mixed $expectedResult) + protected function checkEnvConfigResult(string $envName, ?string $envVal, string $configKey, $expectedResult) { $this->runWithEnv($envName, $envVal, function() use ($configKey, $expectedResult) { $this->assertEquals($expectedResult, config($configKey));