Skip to content

Commit 67e89bf

Browse files
committed
docs: update quote constants
1 parent 6d2ffa1 commit 67e89bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ Quoting character can be changed to double quote or removed
113113
```php
114114
$command->addOption('-d', 'data1');
115115
$command->addOption('-d', 'data"2');
116-
$command->setQuoteCharacter(Command::QUOTE_CHARACTER_DOUBLE);
116+
$command->setQuoteCharacter(Command::QUOTE_DOUBLE);
117117
// curl -d "data" -d "data\"2"
118118

119119
$command->addOption('-d', 'data');
120-
$command->setQuoteCharacter(Command::QUOTE_CHARACTER_NONE);
120+
$command->setQuoteCharacter(Command::QUOTE_NONE);
121121
// curl -d data
122122
```

0 commit comments

Comments
 (0)