Permalink
Browse files

Use || instead of or

  • Loading branch information...
1 parent 7c84a09 commit c89d561f3664911c87401edf429ce32f28ec6adb @mtorromeo committed Dec 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/Zend/Code/Scanner/DocBlockScanner.php
@@ -269,7 +269,7 @@ protected function tokenize()
goto TOKENIZER_TOP;
}
- if ($currentChar === ' ' or $currentChar === "\t") {
+ if ($currentChar === ' ' || $currentChar === "\t") {
$MACRO_TOKEN_SET_TYPE(($context & $CONTEXT_INSIDE_ASTERISK) ? 'DOCBLOCK_WHITESPACE' : 'DOCBLOCK_WHITESPACE_INDENT');
$MACRO_TOKEN_APPEND_WORD();
$MACRO_TOKEN_ADVANCE();

0 comments on commit c89d561

Please sign in to comment.