1 | <?php |
||
20 | class SubdomainHtmlHelper extends HtmlHelper |
||
21 | { |
||
22 | |||
23 | /** |
||
24 | * @param string $title The content to be wrapped by `<a>` tags. |
||
25 | * @param string|array|null $url Cake-relative URL or array of URL parameters, or external URL (starts with http://) |
||
26 | * external URL (starts with http://) |
||
27 | * @param array $options Array of options and HTML attributes. |
||
28 | * @return string An `<a />` element. |
||
|
|||
29 | */ |
||
30 | public function link($title, $url = null, array $options = []) |
||
41 | } |
||
42 |
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.