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

Reply via email to