Closed (fixed)
Project:
Search API generic devel
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Dec 2025 at 03:07 UTC
Updated:
22 Dec 2025 at 10:54 UTC
Jump to comment: Most recent
Saw the following warnings on a D11 site using the D11 compatibility patch when viewing an entity in Search API Gendev:
Deprecated: Drupal\search_api_gendev\Form\ItemForm::buildForm(): Implicitly marking parameter $entity as nullable is deprecated, the explicit nullable type must be used instead in /data/app/modules/contrib/search_api_gendev/src/Form/ItemForm.php on line 67 Deprecated: Drupal\search_api_gendev\Form\ItemForm::buildForm(): Implicitly marking parameter $datasource as nullable is deprecated, the explicit nullable type must be used instead in /data/app/modules/contrib/search_api_gendev/src/Form/ItemForm.php on line 67
Add explicit nullability to aforementioned checks, look for other typed arguments that default to NULL.
None.
Hopefully none, may affect integration with Drupal core or other modules.
None.
Comments
Comment #3
birk commentedThank you for the report, it's fixed and I'll try getting around to making a new release.
Comment #4
birk commented