Skip to content

Commit

Permalink
fix param type in imap_headerinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Mar 24, 2024
1 parent 217ed93 commit 7d4fe93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imap/imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function imap_headers(#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection'], def
* </dl>
*/
function imap_headerinfo(
#[LanguageLevelTypeAware(['8.0' => 'IMAP\Connection'], default: 'resource')] $imap,
#[LanguageLevelTypeAware(['8.1' => 'IMAP\Connection'], default: 'resource')] $imap,
int $message_num,
int $from_length = 0,
int $subject_length = 0,
Expand Down

0 comments on commit 7d4fe93

Please sign in to comment.