Skip to content

Commit

Permalink
Fix postfix assignment mistake
Browse files Browse the repository at this point in the history
The postfix usage resulted in incorrect code.
  • Loading branch information
markstory committed Apr 28, 2018
1 parent 1cca695 commit 8702658
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Utility/Text.php
Expand Up @@ -138,7 +138,8 @@ public static function tokenize($data, $separator = ',', $leftBound = '(', $righ
}
}
}
$offset = $tmpOffset++;
$tmpOffset += 1;
$offset = $tmpOffset;
} else {
$results[] = $buffer . mb_substr($data, $offset);
$offset = $length + 1;
Expand Down

0 comments on commit 8702658

Please sign in to comment.