passman icon indicating copy to clipboard operation
passman copied to clipboard

PHP 8.4 fix code

Open jaro3 opened this issue 9 months ago • 0 comments

Current Nextcloud 31 php-fpm 8.4 on Apache error log polluted with this issue:

OCA\Passman\Service\CredentialService::getCredentialByGUID(): Implicitly marking parameter $user_id as nullable is deprecated, the explicit nullable type must be used instead at /usr/share/webapps/nextcloud/apps/passman/lib/Service/CredentialService.php#

The fix is described here:

https://github.com/bcit-ci/CodeIgniter/issues/6302

https://dev.to/gromnan/fix-php-84-deprecation-implicitly-marking-parameter-as-nullable-is-deprecated-the-explicit-nullable-type-must-be-used-instead-5gp3

jaro3 avatar Apr 02 '25 02:04 jaro3