Apply union types in some places (BC breaks)

This commit is contained in:
Dylan K. Taylor
2022-11-23 14:03:35 +00:00
parent 23ae0c7cac
commit 3b6ff3c42b
13 changed files with 30 additions and 83 deletions

View File

@ -157,7 +157,7 @@ final class Process{
*
* @return int process exit code
*/
public static function execute(string $command, string &$stdout = null, string &$stderr = null) : int{
public static function execute(string $command, ?string &$stdout = null, ?string &$stderr = null) : int{
$process = proc_open($command, [
["pipe", "r"],
["pipe", "w"],