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 @@ -499,11 +499,12 @@ class Tester
499
499
/**
500
500
* Start PHP-FPM master process
501
501
*
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.
507
508
*
508
509
* @return bool
509
510
* @throws \Exception
@@ -514,7 +515,7 @@ class Tester
514
515
bool $ daemonize = false ,
515
516
array $ extensions = [],
516
517
array $ iniEntries = [],
517
- array $ envVars = [] ,
518
+ ? array $ envVars = null ,
518
519
) {
519
520
$ configFile = $ this ->createConfig ();
520
521
$ desc = $ this ->outDesc ? [] : [1 => array ('pipe ' , 'w ' ), 2 => array ('redirect ' , 1 )];
You can’t perform that action at this time.
0 commit comments