Closed stof closed 5 years ago
wouldn't this "break" ide info bubbles and phpdocumentor (i.e. not being completely useless)?
IDEs are able to read PHP typehints since years (they are even able to generate this phpdoc for you when you have a requirement to keep it).
and phpdocumentor also supports using the native typehints AFAIK.
FYI: closing this one off - let's continue this issue in #120.
If all arguments of the method are typehinted, duplicating the info in the phpdoc does not make sense. currently, the sniff requires either adding all
@param
or removing the phpdoc entirely. But this second option forces to remove the description too.