1 | <?php |
||
9 | class Contacts extends PaginatedListResource |
||
10 | { |
||
11 | /** {@inheritdoc} */ |
||
12 | protected function getEndpoint() |
||
16 | |||
17 | /** |
||
18 | * @param int $page |
||
19 | * |
||
20 | * @return Page |
||
|
|||
21 | */ |
||
22 | public function all($page = 1) |
||
26 | |||
27 | /** {@inheritdoc} */ |
||
28 | public function create(DetachedResource $resource, array $fieldNames = [], $useKey = true) |
||
57 | } |
||
58 |
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.