- 🇧🇪Belgium mallezie Loenhout
This was merged and included in the latest release.
Automatically closed - issue fixed for 2 weeks with no activity.
The view method docblock on EntityTypeBehaviorInterface specifies to return an array. https://git.drupalcode.org/project/entity_type_behaviors/-/blob/2.0.x/sr...
This array is never used, and the function is meant to alter the build array. However the docblock causes tools like PHPStan to complain if your implementation does not return anything. Adding a return [] can be done in your implementations, but this is off course a bit silly.
Alter the docblock declaration. A return type void could also be added, but the latter is actually a BC break, thus should be done in a v3 version.
Fixed
2.0
Documentation
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This was merged and included in the latest release.
Automatically closed - issue fixed for 2 weeks with no activity.