8000 Psalm · symfony/symfony@62a7132 · GitHub
[go: up one dir, main page]

Skip to content

Commit 62a7132

Browse files
committed
Psalm
1 parent 93ddd47 commit 62a7132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public function start(callable $callback = null, array $env = []): void
341341
}
342342

343343
$lastError = 'unknown reason';
344-
set_error_handler(function ($type, $msg) use (&$lastError) { $lastError = $msg; });
344+
set_error_handler(function ($type, $msg) use (&$lastError) { $lastError = $msg; return false; });
345345
$process = @proc_open($commandline, $descriptors, $this->processPipes->pipes, $this->cwd, $envPairs, $this->options);
346346
restore_error_handler();
347347

0 commit comments

Comments
 (0)
0