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...
39
*/
40
public function assert(array $jsonData): self;
41
42
/**
43
* @param string $index
44
* @param string $name
45
* @param array $jsonData
46
*
47
* @return bool
48
*/
49
public function parseRelationship(string $index, string $name, array $jsonData): bool;
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...
57
*/
58
public function assertRelationship(string $index, string $name, array $jsonData): self;
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.