- Issue created by @dieterholvoet
- Merge request !7Fix 'Argument #2 ($hook) must be of type string, int given' → (Open) created by dieterholvoet
- 🇮🇳India divyansh.gupta Jaipur
The change to allow string|int for the $hook argument in coi_module_implements_alter() is correct. This prevents a TypeError when Drupal incorrectly registers update hook numbers (e.g., 8001) as hook names, as described in issue #3508292. The fix ensures compatibility while keeping the existing logic intact.
Thus the changes looks good to me moving this to RTBC+!