Index: branches/5.3.x/core/kernel/utility/ProcessBuilder.php =================================================================== --- branches/5.3.x/core/kernel/utility/ProcessBuilder.php +++ branches/5.3.x/core/kernel/utility/ProcessBuilder.php @@ -74,7 +74,7 @@ * * @var array */ - protected $options = array(); + protected $options; /** * Creates class instance. @@ -110,18 +110,20 @@ /** * Resets state to allow building another process. * - * @return void + * @return static */ public function reset() { - $this->command = ''; - $this->executable = ''; + $this->command = null; + $this->executable = null; $this->arguments = array(); $this->workingDirectory = null; $this->env = array(); $this->input = null; $this->timeout = 60; $this->options = array(); + + return $this; } /**