Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By znerol on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
The SessionHandler
class uses the correct PHP \SessionHandlerInterface method signatures for arguments and return types.
Any subclass of SessionHandler
must update their method signatures to match \SessionHandlerInterface
.
Subclasses of SessionHandler
lacking the correct return type hints will result in fatal errors starting with Drupal 10.3.0.
Impacts:
Module developers