From 2d5ce0dd2af67f9274c2a84f08e56134bb987c22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Wed, 21 Mar 2018 20:07:03 +0100 Subject: [PATCH] [Process] Remove a useless cast --- src/Symfony/Component/Process/Process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Process/Process.php b/src/Symfony/Component/Process/Process.php index 83c8a0726d..5660daaeb0 100644 --- a/src/Symfony/Component/Process/Process.php +++ b/src/Symfony/Component/Process/Process.php @@ -1441,7 +1441,7 @@ class Process implements \IteratorAggregate } } - $this->latestSignal = (int) $signal; + $this->latestSignal = $signal; $this->fallbackStatus['signaled'] = true; $this->fallbackStatus['exitcode'] = -1; $this->fallbackStatus['termsig'] = $this->latestSignal;