Skip to content

Commit

Permalink
[Process] Update PHPDoc to use proper placeholder syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris McGehee authored and nicolas-grekas committed Jan 27, 2022
1 parent 96532c9 commit b2d924e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Process.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function __construct($command, string $cwd = null, array $env = null, $in
* In order to inject dynamic values into command-lines, we strongly recommend using placeholders.
* This will save escaping values, which is not portable nor secure anyway:
*
* $process = Process::fromShellCommandline('my_command "$MY_VAR"');
* $process = Process::fromShellCommandline('my_command "${:MY_VAR}"');
* $process->run(null, ['MY_VAR' => $theValue]);
*
* @param string $command The command line to pass to the shell of the OS
Expand Down

0 comments on commit b2d924e

Please sign in to comment.