Skip to content

Commit

Permalink
Fix PHP 8.0 deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Nov 30, 2024
1 parent 45b4893 commit 09bbea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tad/FunctionMocker/FunctionMocker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 09bbea6

Please sign in to comment.