Active
Project:
Block Tabs
Version:
8.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2026 at 23:33 UTC
Updated:
29 Apr 2026 at 08:28 UTC
Jump to comment: Most recent
When running the site on PHP 8.4, the following deprecation warning is triggered:
PHP Deprecated: Drupal\blocktabs\Form\TabDeleteForm::buildForm(): Implicitly marking parameter $blocktabs as nullable is deprecated, the explicit nullable type must be used instead...
Update the buildForm method signature in src/Form/TabDeleteForm.php to explicitly declare the type as nullable (e.g., ?EntityInterface $blocktabs or ?BlockTabs $blocktabs).
PHP Version: 8.4
Drupal Version: 10.5.7
Module Version: 8.x-1.0
| Comment | File | Size | Author |
|---|---|---|---|
| blocktabs-nullable-type-deprecation.patch | 2.58 KB | joseft40 |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
ishani patel commentedHello,
I've created MR from the patch.
Thank you!