@@ -409,7 +409,7 @@ function imap_open(string $mailbox, string $user, #[\SensitiveParameter] string
409409
410410 function imap_reopen (IMAP \Connection $ imap , string $ mailbox , int $ flags = 0 , int $ retries = 0 ): bool {}
411411
412- function imap_close (IMAP \Connection $ imap , int $ flags = 0 ): bool {}
412+ function imap_close (IMAP \Connection $ imap , int $ flags = 0 ): true {}
413413
414414 function imap_is_open (IMAP \Connection $ imap ): bool {}
415415
@@ -445,13 +445,13 @@ function imap_fetchheader(IMAP\Connection $imap, int $message_num, int $flags =
445445
446446 function imap_fetchstructure (IMAP \Connection $ imap , int $ message_num , int $ flags = 0 ): \stdClass |false {}
447447
448- function imap_gc (IMAP \Connection $ imap , int $ flags ): bool {}
448+ function imap_gc (IMAP \Connection $ imap , int $ flags ): true {}
449449
450- function imap_expunge (IMAP \Connection $ imap ): bool {}
450+ function imap_expunge (IMAP \Connection $ imap ): true {}
451451
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 {}
453453
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 {}
455455
456456 function imap_check (IMAP \Connection $ imap ): \stdClass |false {}
457457
@@ -503,9 +503,9 @@ function imap_status(IMAP\Connection $imap, string $mailbox, int $flags): \stdCl
503503
504504 function imap_mailboxmsginfo (IMAP \Connection $ imap ): \stdClass {}
505505
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 {}
507507
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 {}
509509
510510 function imap_sort (IMAP \Connection $ imap , int $ criteria , bool $ reverse , int $ flags = 0 , ?string $ search_criteria = null , ?string $ charset = null ): array |false {}
511511
0 commit comments