[Process] remade ProcessBuilder::setTimeout fluent

This commit is contained in:
Fabien Potencier 2012-07-11 14:45:17 +02:00
parent b72ca7c6c6
commit a7e2c5f7df

View File

@ -93,7 +93,7 @@ class ProcessBuilder
if (null === $timeout) {
$this->timeout = null;
return;
return $this;
}
$timeout = (integer) $timeout;