minor #21659 Fix typo in process error message (kelunik)

This PR was submitted for the 3.1 branch but it was merged into the 3.2 branch instead (closes #21659).

Discussion
----------

Fix typo in process error message

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

ec4a9a054b Fix typo in process error message
This commit is contained in:
Fabien Potencier 2017-02-18 08:32:28 -08:00
commit aff30bf8b0

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);
}