From 3f6efd684bf47c2475cf5499343d72bb733072d7 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Tue, 20 Aug 2019 09:17:07 +0200 Subject: [PATCH] Small fixes --- components/process.rst | 6 +++--- components/web_link.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/process.rst b/components/process.rst index e036bd95635..2db1313f4b0 100644 --- a/components/process.rst +++ b/components/process.rst @@ -358,10 +358,10 @@ double bracket notation. You can use a placeholder in order to have a process that can only be changed with the values and without changing the PHP code:: - use Symfony\Component\Process\Process; + use Symfony\Component\Process\Process; - $process = Process::fromShellCommandline('echo "$name"'); - $process->run(null, ['name' => 'Elsa']); + $process = Process::fromShellCommandline('echo "$name"'); + $process->run(null, ['name' => 'Elsa']); .. caution:: diff --git a/components/web_link.rst b/components/web_link.rst index 7d30b4775e7..4a89d0c0b48 100644 --- a/components/web_link.rst +++ b/components/web_link.rst @@ -22,8 +22,8 @@ Usage The following example shows the component in action:: - use Symfony\Component\WebLink\HttpHeaderSerializer; use Symfony\Component\WebLink\GenericLinkProvider; + use Symfony\Component\WebLink\HttpHeaderSerializer; use Symfony\Component\WebLink\Link; $linkProvider = (new GenericLinkProvider())