We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 19 | class ArticlesController extends PluginHandler implements Installable |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Return the icon associated with this plugin. |
||
| 23 | */ |
||
| 24 | public function icon() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Return the version for this plugin. |
||
| 31 | */ |
||
| 32 | public function version() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The steps required for this plugin product to fully |
||
| 39 | * integrate into the webservice. |
||
| 40 | * |
||
| 41 | * @return bool |
||
| 42 | */ |
||
| 43 | public function install() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * The steps required for this plugin product to fully |
||
| 60 | * remove itself from the webservice. |
||
| 61 | * |
||
| 62 | * @return bool |
||
|
|
|||
| 63 | * @throws \Exception |
||
| 64 | */ |
||
| 65 | public function uninstall() |
||
| 76 | } |
||
| 77 |
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.