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
-------
2d5ce0dd2a
[Process] Remove a useless cast
This commit is contained in:
commit
8d7131a1e5
@ -1441,7 +1441,7 @@ class Process implements \IteratorAggregate
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->latestSignal = (int) $signal;
|
$this->latestSignal = $signal;
|
||||||
$this->fallbackStatus['signaled'] = true;
|
$this->fallbackStatus['signaled'] = true;
|
||||||
$this->fallbackStatus['exitcode'] = -1;
|
$this->fallbackStatus['exitcode'] = -1;
|
||||||
$this->fallbackStatus['termsig'] = $this->latestSignal;
|
$this->fallbackStatus['termsig'] = $this->latestSignal;
|
||||||
|
Reference in New Issue
Block a user