$table of type null|object<NilPortug...uilder\Syntax\Table>, but the function expects a string