Problem/Motivation
See #3483037: [META] Add return types to hook implementations
All info hooks should return array, except hook_config_translation_info
which takes the $info
param as a reference.
Steps to reproduce
Proposed resolution
Add array return to the following hook implementations:
- hook_entity_bundle_info
- hook_entity_base_field_info
- hook_entity_bundle_field_info
- hook_entity_field_storage_info
- hook_entity_extra_field_info
- hook_hook_info
- hook_updater_info
- hook_filetransfer_info
- hook_token_info
- hook_language_types_info