@@ -409,7 +409,7 @@ function imap_open(string $mailbox, string $user, #[\SensitiveParameter] string
409
409
410
410
function imap_reopen (IMAP \Connection $ imap , string $ mailbox , int $ flags = 0 , int $ retries = 0 ): bool {}
411
411
412
- function imap_close (IMAP \Connection $ imap , int $ flags = 0 ): bool {}
412
+ function imap_close (IMAP \Connection $ imap , int $ flags = 0 ): true {}
413
413
414
414
function imap_is_open (IMAP \Connection $ imap ): bool {}
415
415
@@ -445,13 +445,13 @@ function imap_fetchheader(IMAP\Connection $imap, int $message_num, int $flags =
445
445
446
446
function imap_fetchstructure (IMAP \Connection $ imap , int $ message_num , int $ flags = 0 ): \stdClass |false {}
447
447
448
- function imap_gc (IMAP \Connection $ imap , int $ flags ): bool {}
448
+ function imap_gc (IMAP \Connection $ imap , int $ flags ): true {}
449
449
450
- function imap_expunge (IMAP \Connection $ imap ): bool {}
450
+ function imap_expunge (IMAP \Connection $ imap ): true {}
451
451
452
- function imap_delete (IMAP \Connection $ imap , string $ message_nums , int $ flags = 0 ): bool {}
452
+ function imap_delete (IMAP \Connection $ imap , string $ message_nums , int $ flags = 0 ): true {}
453
453
454
- function imap_undelete (IMAP \Connection $ imap , string $ message_nums , int $ flags = 0 ): bool {}
454
+ function imap_undelete (IMAP \Connection $ imap , string $ message_nums , int $ flags = 0 ): true {}
455
455
456
456
function imap_check (IMAP \Connection $ imap ): \stdClass |false {}
457
457
@@ -503,9 +503,9 @@ function imap_status(IMAP\Connection $imap, string $mailbox, int $flags): \stdCl
503
503
504
504
function imap_mailboxmsginfo (IMAP \Connection $ imap ): \stdClass {}
505
505
506
- function imap_setflag_full (IMAP \Connection $ imap , string $ sequence , string $ flag , int $ options = 0 ): bool {}
506
+ function imap_setflag_full (IMAP \Connection $ imap , string $ sequence , string $ flag , int $ options = 0 ): true {}
507
507
508
- function imap_clearflag_full (IMAP \Connection $ imap , string $ sequence , string $ flag , int $ options = 0 ): bool {}
508
+ function imap_clearflag_full (IMAP \Connection $ imap , string $ sequence , string $ flag , int $ options = 0 ): true {}
509
509
510
510
function imap_sort (IMAP \Connection $ imap , int $ criteria , bool $ reverse , int $ flags = 0 , ?string $ search_criteria = null , ?string $ charset = null ): array |false {}
511
511
0 commit comments