Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX #3885 Node::countChildNodes($nodeTypeConstraints) filter doesn…
…'t work `findChildNodes` is corrently implemented, but `countChildNodes` doesnt transform the argument $nodeTypeConstraints NodeTypeConstraints to a string for the legacy api: either this snipped must be included: ```php $filter = $nodeTypeConstraints !== null ? $nodeTypeConstraints->asLegacyNodeTypeFilterString() : null; ``` or we must use `$this->findChildNodes` without that, the `NodeTypeConstraints` is passed further down, and due to lack of typesafety it fails at the last moment: ```php Argument 2 passed to Neos\Utility\Arrays::trimExplode() must be of the type string, object given, called in /tmp/neos/Development/SubContextddev/Cache/Code/Flow_Object_Classes/Neos_ContentRepository_Domain_Repository_NodeDataRepository.php on line 1127 ```
- Loading branch information