When calling a static method of a class whose instance is a property of a class whose instance is returned by a function, the syntax highlighting breaks from that line
Core()->helpers->open_grid()
works while Core()->helpers::open_grid()
breaks
here is the link to use the code for testing https://pastebin.com/XeFubSTm