Fixed type annotations
Tested: FluentDOM\Query::append() with callback on node, call DOM operations statically