Skip to content

Commit

Permalink
Changed the default value of flags
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimbarsukov committed Jan 3, 2022
1 parent 2d9a11e commit f67d29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Command/Shared/FileSystem.php
Expand Up @@ -43,7 +43,7 @@ protected function removeSuffix($classname, $suffix)
return preg_replace("~$suffix$~", '', $classname);
}

protected function createFile($filename, $contents, $force = false, $flags = null)
protected function createFile($filename, $contents, $force = false, $flags = 0)
{
if (file_exists($filename) && !$force) {
return false;
Expand Down

0 comments on commit f67d29d

Please sign in to comment.