File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -417,11 +417,12 @@ class Tester
417
417
/**
418
418
* Start PHP-FPM master process
419
419
*
420
- * @param array $extraArgs Command extra arguments.
421
- * @param bool $forceStderr Whether to output to stderr so error log is used.
422
- * @param bool $daemonize Whether to start FPM daemonized
423
- * @param array $extensions List of extension to add if shared build used.
424
- * @param array $iniEntries List of ini entries to use.
420
+ * @param array $extraArgs Command extra arguments.
421
+ * @param bool $forceStderr Whether to output to stderr so error log is used.
422
+ * @param bool $daemonize Whether to start FPM daemonized
423
+ * @param array $extensions List of extension to add if shared build used.
424
+ * @param array $iniEntries List of ini entries to use.
425
+ * @param array|null $envVars List of env variable to execute FPM with or null to use the current ones.
425
426
*
426
427
* @return bool
427
428
* @throws \Exception
@@ -432,7 +433,7 @@ class Tester
432
433
bool $ daemonize = false ,
433
434
array $ extensions = [],
434
435
array $ iniEntries = [],
435
- array $ envVars = [] ,
436
+ ? array $ envVars = null ,
436
437
) {
437
438
$ configFile = $ this ->createConfig ();
438
439
$ desc = $ this ->outDesc ? [] : [1 => array ('pipe ' , 'w ' ), 2 => array ('redirect ' , 1 )];
You can’t perform that action at this time.
0 commit comments