This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
20
*/
21
3
public static function create(string $value, string $purpose, int $usages): self
22
{
23
3
return new self(
24
3
sprintf(
25
3
'The "%s" token with value "%s" was used times "%s".',
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.