Skip to content

Commit 89c24cf

Browse files
committed
PHP 8.0 > Uncaught ArgumentCountError: Too few arguments to function
1 parent d89618f commit 89c24cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/task/project/sfProjectPermissionsTask.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function chmod($file, $mode, $umask = 0000)
112112
*
113113
* @see http://www.php.net/set_error_handler
114114
*/
115-
public function handleError($no, $string, $file, $line, $context)
115+
public function handleError($no, $string, $file, $line, $context = null)
116116
{
117117
$this->failed[] = $this->current;
118118
}

0 commit comments

Comments
 (0)