- Issue created by @berdir
- π§πͺBelgium kristiaanvandeneynde Antwerp, Belgium
+1 for deprecating passing NULL instead
- π¨πSwitzerland berdir Switzerland
The deprecation is there. The only thing is whether we want to document on the interface that this will get a type in D12.
The only thing is whether we want to document on the interface that this will get a type in D12.
What's the alternative? Throw an exception on non-arrays in D12?
Documenting the type change seems straightforward: https://www.drupal.org/about/core/policies/core-change-policies/how-to-d... β , and the signature will change anyway because $is_root_call is going away, though maybe that's not a breaking change.
It would be nice to add a return type at that point, too, if possible.