diff --git a/src/tad/FunctionMocker/FunctionMocker.php b/src/tad/FunctionMocker/FunctionMocker.php index 1066703..4b9a4a2 100644 --- a/src/tad/FunctionMocker/FunctionMocker.php +++ b/src/tad/FunctionMocker/FunctionMocker.php @@ -367,7 +367,7 @@ public static function forge($class) { * * @throws \RuntimeException If the Patchwork configuration file or the checksum file could not be written. */ - public static function writePatchworkConfig(?array $options = null, $destinationFolder) { + public static function writePatchworkConfig(?array $options = null, $destinationFolder = '') { $options = self::getPatchworkConfiguration($options, $destinationFolder); $configFileContents = json_encode($options);