Upgrade to 3.5 fails with errors

After replacing the old version of dhtmlx with version 3.5 grids and trees no longer work as they did.

Grid connector gives me this error:
Declaration of GridConnector::fill_collections() should be compatible with that of Connector::fill_collections()

The very same code was working with the old version of Dhtmlx

If I go back to the old version then everything works like a charm.

Unfortunately the issue cannot be reconstructed locally.
Please, provide us with any kind of sample of your code or a complete demo where the issue can be reproduced.