8000 minor #26625 [Process] Remove a useless cast (dunglas) · symfony/symfony@8d7131a · GitHub
[go: up one dir, main page]

Skip to content

Commit 8d7131a

Browse files
committed
minor #26625 [Process] Remove a useless cast (dunglas)
This PR was merged into the 4.0 branch. Discussion ---------- [Process] Remove a useless cast | Q | A | ------------- | --- | Branch? | 4.0 | Bug fix? | no | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | n/a Remove a useless cast (because of the typehint) Commits ------- 2d5ce0d [Process] Remove a useless cast
2 parents 1f119cc + 2d5ce0d commit 8d7131a

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
@@ -1441,7 +1441,7 @@ private function doSignal(int $signal, bool $throwException): bool
14411441
}
14421442
}
14431443

1444-
$this->latestSignal = (int) $signal;
1444+
$this->latestSignal = $signal;
14451445
$this->fallbackStatus['signaled'] = true;
14461446
$this->fallbackStatus['exitcode'] = -1;
14471447
$this->fallbackStatus['termsig'] = $this->latestSignal;

0 commit comments

Comments
 (0)
0