]> BookStack Code Mirror - bookstack/commitdiff
Removed php8-only 'mixed' type from test method
authorDan Brown <redacted>
Sat, 8 May 2021 12:23:28 +0000 (13:23 +0100)
committerDan Brown <redacted>
Sat, 8 May 2021 12:23:28 +0000 (13:23 +0100)
tests/Unit/ConfigTest.php

index bb475c3545c19d68ec1a409ea71d5448a5efdf65..0833ffbd8858c4a049ecd7354a58800d37d8b947 100644 (file)
@@ -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));
Morty Proxy This is a proxified and sanitized view of the page, visit original site.