Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead

Issue information

From user: pcambra

Related to !16 (merged)

Contribution record

Fork management

Several instances after upgrading to PHP 8.4

Deprecated: Drupal\like\LikeHelper::like(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/like/src/LikeHelper.php on line 80

Deprecated: Drupal\like\LikeHelper::unlike(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/like/src/LikeHelper.php on line 126

Deprecated: Drupal\like\LikeHelper::userHasLiked(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/like/src/LikeHelper.php on line 180

Deprecated: Drupal\like\LikeHelperInterface::like(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/like/src/LikeHelperInterface.php on line 25

Deprecated: Drupal\like\LikeHelperInterface::unlike(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/like/src/LikeHelperInterface.php on line 39

Deprecated: Drupal\like\LikeHelperInterface::userHasLiked(): Implicitly marking parameter $user as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/like/src/LikeHelperInterface.php on line 55
Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information