[REF][PHP8.1] Fix a couple of deprecations in php8.1 by specifying that return type...
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 21 Jun 2022 06:11:57 +0000 (16:11 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Sat, 9 Jul 2022 00:30:39 +0000 (10:30 +1000)
commitfc651f915405ea35253b84e089a47175a9a2d280
tree276e875d931ebf60aba054f5224add78fd86c317
parentc44d548f7c38e71df3d9fbf7d506bbba729babfd
[REF][PHP8.1] Fix a couple of deprecations in php8.1 by specifying that return type may change in BaseParamQuery and by ensuring that we don't pass null into function_exists in I18n class

Replace some ReturnTypeWillChange with later return types as they should be backward compatible

Dave D Fix

Completely switch to just not empty on the customTranslationFunction check
CRM/Core/I18n.php
CRM/Utils/SQL/BaseParamQuery.php