fix param type in imap_headerinfo

This commit is contained in:
Ivan Fedorov 2024-03-24 12:51:35 +01:00 committed by Ivan Fedorov
parent 217ed9356d
commit 7d4fe939ee
1 changed files with 1 additions and 1 deletions

View File

@ -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,