diff --git a/components/process.rst b/components/process.rst index bd4a33e7f56..3de0dca66a7 100644 --- a/components/process.rst +++ b/components/process.rst @@ -231,7 +231,7 @@ Before a process is started, you can specify its standard input using either the of the constructor. The provided input can be a string, a stream resource or a Traversable object:: - $process = new Process('cat']); + $process = new Process('cat'); $process->setInput('foobar'); $process->run();