Closed
Description
Symfony version(s) affected: 5.0
Description
I've implemented a process runner command. While in documentation for symfony/process
is shown int
data type, the method signature requires nullable float
.
Possible Solution
- Either update documentation to specify to use
float
values (e.g.:3600.0
) - Either change type hinting from
?float
to?int
Since it's about to be timeout in seconds, I'd go with int
, but float
brings the flexibility for some cases in which someone wants to put, let's say, 30.5 seconds timeout.