chore: code cleanup

This commit is contained in:
HDVinnie
2022-08-25 19:26:08 -04:00
parent 2725397734
commit 5414340e44
4 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ class Bbcode
// Don't loop more than the length of the source
while ($index < \strlen($source)) {
// Get the next occurrence of `[`
$index = \stripos($source, '[', $index);
$index = \strpos($source, '[', $index);
// Break if there are no more occurrences of `[`
if ($index === false) {