]> BookStack Code Mirror - bookstack/blobdiff - tests/Unit/ConfigTest.php
Added front-end toggle and testing of inline attachments
[bookstack] / 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));