We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 21 | class ArticlesController extends PluginHandler implements Installable |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Return the icon associated with this plugin. |
||
| 26 | */ |
||
| 27 | public function icon() |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Return the version for this plugin. |
||
| 34 | */ |
||
| 35 | public function version() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * The steps required for this plugin product to fully |
||
| 42 | * integrate into the webservice. |
||
| 43 | * |
||
| 44 | * @return boolean |
||
| 45 | */ |
||
| 46 | public function install() |
||
| 60 | |||
| 61 | /** |
||
| 62 | * The steps required for this plugin product to fully |
||
| 63 | * remove itself from the webservice. |
||
| 64 | * |
||
| 65 | * @return boolean |
||
|
|
|||
| 66 | * @throws \Exception |
||
| 67 | */ |
||
| 68 | public function uninstall() |
||
| 79 | } |
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.