Having ...
<?php
interface ModelRepositoryInterface
{
public function get(array $params,): ?array;
}
... if you type /** and empty doc is generated. But if you remove trailing comma ( , after array $params) and you try again, proper phpdoc is generated.
Same error for classes, interfaces, traits...