Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1130198
| From | Ivan Sergio Borgonovo <ivan.s.b@webthatworks.it> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1027001: regression for return type hints |
| Date | 2022-12-25 23:00 +0100 |
| Message-ID | <FGHcd-dedA-7@gated-at.bofh.it> (permalink) |
| Organization | http://www.WebThatWorks.it |
package: php-horde-mail version: 2.6.6-4 Hi, again I'm not sure if this is a regression or a bug since I run a local patched version of horde but after upgrading php-horde-mail:amd64 2.6.6-3 -> 2.6.6-4 I started to get errors related to hint return type. Downgrading didn't fix the problem. One was particularly insidious since I wasn't able to find anything in the log to point me to the culprit line... But it is in: Imap/Client/Tokenize.php 223 error says it should be string in spite of mixed, I just dropped the hint type since string sounded too generic and went to the successive error Return value of Horde_Imap_Client_Namespace_List::offsetGet() must be an instance of mixed, instance of Horde_Imap_Client_Data_Namespace returned ./Imap/Client/Namespace/List.php: public function offsetGet($offset): mixed 87 again I just dropped the hint and everything seems to work thanks and if you can happy holiday -- Ivan Sergio Borgonovo https://www.webthatworks.it https://www.borgonovo.net
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1027001: regression for return type hints Ivan Sergio Borgonovo <ivan.s.b@webthatworks.it> - 2022-12-25 23:00 +0100
csiph-web