Hi,
The latest PHPStan release seems to check @internal phpdoc comments.
get_terms() has such a comment, meant to address a parameter.
I believe it should be removed, since it makes phpstan to fail as soon as the function is used, with the following error:
 ------ ---------------------------------------- 
  126    Call to internal function get_terms().  
         🪪  function.internal                   
 ------ ------------------------