diff options
Diffstat (limited to 'src/Components/OptionsArray.php')
-rw-r--r-- | src/Components/OptionsArray.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Components/OptionsArray.php b/src/Components/OptionsArray.php index 487eefd..d1b9952 100644 --- a/src/Components/OptionsArray.php +++ b/src/Components/OptionsArray.php @@ -137,7 +137,11 @@ class OptionsArray extends Component // real options (e.g. if there are 5 options, the first // fake ID is 6). if (isset($ret->options[$lastOptionId])) { - $parser->error('This option conflicts with \'' . $ret->options[$lastOptionId] . '\'.', $token); + $parser->error( + 'This option conflicts with "%1$s".', + $token, + array($ret->options[$lastOptionId]) + ); $lastOptionId = $lastAssignedId++; } } else { |