for some reason the presence of the type problems were reported as problems on ChunkUtils.php, despite being outside of the project scope and the errors not applying to the polyfill.
this isn't a perfect fix, but it's better than it whining about all the things.