Thank you for the suggestion.
Actually @method
is meant for documenting "magic" methods inside the class - i.e. those handled by the magic __call
and __callStatic
methods.
In the example above, the use of @method
is unnecessary. Also, it is ambiguous and does not make much sense, since it documents the same method twice.
Is there any reason, the actual PHPDoc for setWeekdays
is documented incorrectly?