Skip to content

Commit b7d0400

Browse files
authored
Merge pull request #16 from alexkart/codex/update-readme-constants-names
Fix quote constant names in README
2 parents c23b194 + 67e89bf commit b7d0400

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)