From 7f8f3080c500bcf051aebf8ff26c6abdbb6963c1 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 8 May 2021 13:23:28 +0100 Subject: [PATCH] Removed php8-only 'mixed' type from test method --- tests/Unit/ConfigTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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));