Edit PHP Fatal error: Type of TimestampToDate::$time must be ?TimeInterface (as in class Date) in TimestampToDate.php on line 20

Created on 21 June 2024, 7 days ago

PHP Fatal error: Type of Drupal\views_timestamp_to_date\Plugin\views\field\TimestampToDate::$time must be ?Drupal\Component\Datetime\TimeInterface (as in class Drupal\views\Plugin\views\field\Date) in /var/www/html/web/modules/contrib/views_timestamp_to_date/src/Plugin/views/field/TimestampToDate.php on line 20

update core from 10.2.7 to 10.3.0

Need replace
protected $time; to
protected ?TimeInterface $time;

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus dotter90

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024