Skip to content

description field is always empty #2

@Jellyfrog

Description

@Jellyfrog

When using the example tree.php, $node-description is always NULL

It seems its empty even from the ffi data, if we add a var_dump($tree->description) in this function it also prints NULL:

private function buildNode(
\FFI\CData $tree,
int $softHeapLimit = \PHP_INT_MAX,
int $hardHeapLimit = self::DEFAULT_MAX_DEPTH
): TreeNode {
if ($hardHeapLimit <= 0) {
throw new HeapTooDeepException('Too many nesting levels while processing tree');
}
$node = new TreeNode($tree->type, $tree->subid, \FFI::string($tree->label), $tree->access);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions