]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/VFSTrait.php
Merge pull request #13651 from annando/picture-upload
[friendica.git] / tests / Util / VFSTrait.php
index a98b7925de44895fba08b31e92d107747d2b6f83..4c31a5e64e702edd95daef0ad4fa8e3f3ee32ac3 100644 (file)
@@ -65,7 +65,7 @@ trait VFSTrait
         * @param string $sourceFilePath The filename of the config file
         * @param bool   $static         True, if the folder `static` instead of `config` should be used
         */
-       protected function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
+       public function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
        {
                $file = dirname(__DIR__) . DIRECTORY_SEPARATOR .
                        '..' . DIRECTORY_SEPARATOR .
@@ -85,7 +85,7 @@ trait VFSTrait
        }
 
        /**
-        * Delets a config file from the Virtual File System
+        * Deletes a config file from the Virtual File System
         *
         * @param string $filename The filename of the config file
         * @param bool   $static   True, if the folder `static` instead of `config` should be used