Skip to content

Commit 1b585d2

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
2 parents 9cf0f30 + 9b1d2e9 commit 1b585d2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

sapi/fpm/tests/tester.inc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -499,11 +499,12 @@ class Tester
499499
/**
500500
* Start PHP-FPM master process
501501
*
502-
* @param array $extraArgs Command extra arguments.
503-
* @param bool $forceStderr Whether to output to stderr so error log is used.
504-
* @param bool $daemonize Whether to start FPM daemonized
505-
* @param array $extensions List of extension to add if shared build used.
506-
* @param array $iniEntries List of ini entries to use.
502+
* @param array $extraArgs Command extra arguments.
503+
* @param bool $forceStderr Whether to output to stderr so error log is used.
504+
* @param bool $daemonize Whether to start FPM daemonized
505+
* @param array $extensions List of extension to add if shared build used.
506+
* @param array $iniEntries List of ini entries to use.
507+
* @param array|null $envVars List of env variable to execute FPM with or null to use the current ones.
507508
*
508509
* @return bool
509510
* @throws \Exception
@@ -514,7 +515,7 @@ class Tester
514515
bool $daemonize = false,
515516
array $extensions = [],
516517
array $iniEntries = [],
517-
array $envVars = [],
518+
?array $envVars = null,
518519
) {
519520
$configFile = $this->createConfig();
520521
$desc = $this->outDesc ? [] : [1 => array('pipe', 'w'), 2 => array('redirect', 1)];

0 commit comments

Comments
 (0)