Skip to content

Commit 09bbea6

Browse files
committed
Fix PHP 8.0 deprecation.
1 parent 45b4893 commit 09bbea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tad/FunctionMocker/FunctionMocker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ public static function forge($class) {
367367
*
368368
* @throws \RuntimeException If the Patchwork configuration file or the checksum file could not be written.
369369
*/
370-
public static function writePatchworkConfig(?array $options = null, $destinationFolder) {
370+
public static function writePatchworkConfig(?array $options = null, $destinationFolder = '') {
371371
$options = self::getPatchworkConfiguration($options, $destinationFolder);
372372

373373
$configFileContents = json_encode($options);

0 commit comments

Comments
 (0)