diff options
Diffstat (limited to 'src/Components/OptionsArray.php')
-rw-r--r-- | src/Components/OptionsArray.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Components/OptionsArray.php b/src/Components/OptionsArray.php index 871772b..fd02d22 100644 --- a/src/Components/OptionsArray.php +++ b/src/Components/OptionsArray.php @@ -247,10 +247,10 @@ class OptionsArray extends Component */ if ($state === 1 && $lastOption - && ($lastOption[1] == 'expr' - || $lastOption[1] == 'var' - || $lastOption[1] == 'var=' - || $lastOption[1] == 'expr=') + && ($lastOption[1] === 'expr' + || $lastOption[1] === 'var' + || $lastOption[1] === 'var=' + || $lastOption[1] === 'expr=') ) { $parser->error( sprintf( |