File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,11 @@ public static function start(
9797 private static function getRunner (): ProcessRunner
9898 {
9999 /** @psalm-suppress RedundantPropertyInitializationCheck */
100- if (!isset (self ::$ driverRunner )) {
101- self ::$ driverRunner = new \WeakMap ();
100+ self ::$ driverRunner ??= new \WeakMap ();
101+
102+ /** @psalm-suppress RedundantPropertyInitializationCheck */
103+ if (!isset (self ::$ procHolder )) {
104+ self ::$ procHolder = new \WeakMap ();
102105
103106 \register_shutdown_function (static function (): void {
104107 /** @var ProcHolder $procHolder */
@@ -108,9 +111,6 @@ private static function getRunner(): ProcessRunner
108111 });
109112 }
110113
111- /** @psalm-suppress RedundantPropertyInitializationCheck */
112- self ::$ procHolder ??= new \WeakMap ();
113-
114114 /** @psalm-suppress RedundantPropertyInitializationCheck */
115115 self ::$ streamHolder ??= new \WeakMap ();
116116
You can’t perform that action at this time.
0 commit comments