Skip to content

Commit

Permalink
Update ImapProtocol.php (#288)
Browse files Browse the repository at this point in the history
fix assumedNextTaggedLine bug
  • Loading branch information
Blear authored Oct 17, 2022
1 parent 999d713 commit 68eaf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connection/Protocols/ImapProtocol.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ protected function nextTaggedLine(&$tag): string {
*/
protected function assumedNextTaggedLine(string $start, &$tag): bool {
$line = $this->nextTaggedLine($tag);
return strpos($line, $start) >= 0;
return strpos($line, $start) !== false;
}

/**
Expand Down

0 comments on commit 68eaf30

Please sign in to comment.