Skip to content

Commit

Permalink
removed unnecessary typecast
Browse files Browse the repository at this point in the history
Since we dropped support for PHP 8.0 and lower, this cast can be safely removed.
  • Loading branch information
xHeaven committed May 16, 2023
1 parent 040d322 commit c103ed6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,6 @@ public function getMessages(ConditionInterface $search = null, int $sortCriteria
}
$query = $search->toString();

if (\PHP_VERSION_ID < 80000) {
$descending = (int) $descending;
}

// We need to clear the stack to know whether imap_last_error()
// is related to this imap_search
\imap_errors();
Expand Down

0 comments on commit c103ed6

Please sign in to comment.