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

Created on 21 April 2025, 4 days ago

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
📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain pcambra Asturies

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024