File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 3333
3434/**
3535 * Plugin install process
36- *
37- * @return boolean
3836 */
39- function plugin_advancedforms_install ()
37+ function plugin_advancedforms_install (): bool
4038{
4139 return true ;
4240}
4341
4442/**
4543 * Plugin uninstall process
46- *
47- * @return boolean
4844 */
49- function plugin_advancedforms_uninstall ()
45+ function plugin_advancedforms_uninstall (): bool
5046{
5147 return true ;
5248}
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ parameters:
99 bootstrapFiles :
1010 - ../../stubs/glpi_constants.php
1111 - ../../vendor/autoload.php
12-
12+ treatPhpDocTypesAsCertain : false
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ function plugin_version_advancedforms(): array
8585
8686/**
8787 * Check pre-requisites before install
88- * OPTIONNAL, but recommanded
88+ * OPTIONNAL, but recommended
8989 */
9090function plugin_advancedforms_check_prerequisites (): bool
9191{
@@ -95,9 +95,9 @@ function plugin_advancedforms_check_prerequisites(): bool
9595/**
9696 * Check configuration process
9797 *
98- * @param boolean $verbose Whether to display message on failure. Defaults to false
98+ * @param bool $verbose Whether to display message on failure. Defaults to false.
9999 */
100- function plugin_advancedforms_check_config ($ verbose = false ): bool
100+ function plugin_advancedforms_check_config (bool $ verbose = false ): bool
101101{
102102 return true ;
103103}
You can’t perform that action at this time.
0 commit comments