Skip to content

Commit 6f51762

Browse files
Use the long array syntax
1 parent 3582287 commit 6f51762

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/console/helpers/processhelper.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ a very verbose verbosity (e.g. -vv)::
1414
use Symfony\Component\Process\ProcessBuilder;
1515

1616
$helper = $this->getHelper('process');
17-
$process = new Process(['figlet', 'Symfony']);
17+
$process = new Process(array('figlet', 'Symfony'));
1818

1919
$helper->run($output, $process);
2020

@@ -55,7 +55,7 @@ There are three ways to use the process helper:
5555
use Symfony\Component\Process\ProcessBuilder;
5656

5757
// ...
58-
$process = new Process(['figlet', 'Symfony']);
58+
$process = new Process(array('figlet', 'Symfony'));
5959

6060
$helper->run($output, $process);
6161

0 commit comments

Comments
 (0)