mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Apply union types in some places (BC breaks)
This commit is contained in:
@ -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"],
|
||||
|
Reference in New Issue
Block a user