Fix return type of Process::restart().

This commit is contained in:
Alexander M. Turek 2019-09-25 16:09:38 +02:00
parent 04fe347df9
commit 7d7380d9e7

View File

@ -363,7 +363,7 @@ class Process implements \IteratorAggregate
* @param callable|null $callback A PHP callback to run whenever there is some * @param callable|null $callback A PHP callback to run whenever there is some
* output available on STDOUT or STDERR * output available on STDOUT or STDERR
* *
* @return $this * @return static
* *
* @throws RuntimeException When process can't be launched * @throws RuntimeException When process can't be launched
* @throws RuntimeException When process is already running * @throws RuntimeException When process is already running