Skip to content

Commit f60647b

Browse files
committed
perform strict check, fixes barbushin#526
1 parent c372677 commit f60647b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpImap/Imap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ public static function sort(
939939
);
940940
}
941941

942-
if (!$result) {
942+
if (false === $result) {
943943
throw new UnexpectedValueException('Could not sort messages!', 0, self::HandleErrors(\imap_errors(), 'imap_sort'));
944944
}
945945

0 commit comments

Comments
 (0)