Skip to content

Commit

Permalink
[phpstorm-stubs] update for PHP 8.3. imap fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Aug 28, 2023
1 parent 9a699ed commit 2d45cc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imap/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ function imap_mailboxmsginfo(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection
* instead of sequence numbers</p>
*/
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')]
function imap_setflag_full(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection'], default: 'resource')] $imap, string $sequence, string $flag, int $options = NIL): bool {}
function imap_setflag_full(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection'], default: 'resource')] $imap, string $sequence, string $flag, int $options = NIL) {}

/**
* Clears flags on messages
Expand All @@ -910,7 +910,7 @@ function imap_setflag_full(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection']
* instead of sequence numbers</p>
*/
#[LanguageLevelTypeAware(['8.3' => 'true'], default: 'bool')]
function imap_clearflag_full(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection'], default: 'resource')] $imap, string $sequence, string $flag, int $options = 0): bool {}
function imap_clearflag_full(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection'], default: 'resource')] $imap, string $sequence, string $flag, int $options = 0) {}

/**
* Gets and sort messages
Expand Down

0 comments on commit 2d45cc5

Please sign in to comment.