Fix typo in process error message

This commit is contained in:
Niklas Keller 2017-02-18 13:12:14 +01:00 committed by Fabien Potencier
parent 6ea510f7b4
commit ec4a9a054b

View File

@ -377,7 +377,7 @@ class Process implements \IteratorAggregate
if (null !== $callback) {
if (!$this->processPipes->haveReadSupport()) {
$this->stop(0);
throw new \LogicException('Pass the callback to the Process:start method or enableOutput to use a callback with Process::wait');
throw new \LogicException('Pass the callback to the Process::start method or enableOutput to use a callback with Process::wait');
}
$this->callback = $this->buildCallback($callback);
}