]> git.mxchange.org Git - friendica.git/commit
Deprecate default value parameters in Session and Config interfaces
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 3 Nov 2022 00:38:23 +0000 (20:38 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 4 Nov 2022 10:42:38 +0000 (06:42 -0400)
commit23dda5d5105830a643271b2e9ff4f13c0c83abbe
tree8feb282493f202cac96a69a644bfa58cc1ca8e9b
parentda3041a4d43de46d70dd407caf1e9ff531fc55cf
Deprecate default value parameters in Session and Config interfaces

- It is more efficient to use the null coalescing operator ?? that prevents the computation of the default value if the key has been found
src/Core/Config/Capability/IManageConfigValues.php
src/Core/PConfig/Capability/IManagePersonalConfigValues.php
src/Core/Session/Capability/IHandleSessions.php