We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 17 | class NewslettersController extends PluginHandler implements Installable |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Return the icon associated with this plugin. |
||
| 21 | */ |
||
| 22 | public function icon() |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Return the version for this plugin. |
||
| 29 | */ |
||
| 30 | public function version() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * The steps required for this plugin product to fully |
||
| 37 | * integrate into the webservice. |
||
| 38 | * |
||
| 39 | * @return bool |
||
|
|
|||
| 40 | */ |
||
| 41 | public function install() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * The steps required for this plugin product to fully |
||
| 48 | * remove itself from the webservice. |
||
| 49 | * |
||
| 50 | * @return bool |
||
| 51 | */ |
||
| 52 | public function uninstall() |
||
| 56 | } |
||
| 57 |
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.