Fix PHPCS issues

This commit is contained in:
Gerhard 2018-11-16 08:29:13 +02:00
parent 92bf56cde0
commit f7f7eebc1c
1 changed files with 17 additions and 11 deletions

View File

@ -358,6 +358,7 @@ class WC_Install {
* Add more cron schedules. * Add more cron schedules.
* *
* @param array $schedules List of WP scheduled cron jobs. * @param array $schedules List of WP scheduled cron jobs.
*
* @return array * @return array
*/ */
public static function cron_schedules( $schedules ) { public static function cron_schedules( $schedules ) {
@ -900,6 +901,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_termmeta (
* Uninstall tables when MU blog is deleted. * Uninstall tables when MU blog is deleted.
* *
* @param array $tables List of tables that will be deleted by WP. * @param array $tables List of tables that will be deleted by WP.
*
* @return string[] * @return string[]
*/ */
public static function wpmu_drop_tables( $tables ) { public static function wpmu_drop_tables( $tables ) {
@ -1170,6 +1172,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_termmeta (
* Show action links on the plugin screen. * Show action links on the plugin screen.
* *
* @param mixed $links Plugin Action links. * @param mixed $links Plugin Action links.
*
* @return array * @return array
*/ */
public static function plugin_action_links( $links ) { public static function plugin_action_links( $links ) {
@ -1185,6 +1188,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_termmeta (
* *
* @param mixed $links Plugin Row Meta. * @param mixed $links Plugin Row Meta.
* @param mixed $file Plugin Base file. * @param mixed $file Plugin Base file.
*
* @return array * @return array
*/ */
public static function plugin_row_meta( $links, $file ) { public static function plugin_row_meta( $links, $file ) {
@ -1220,6 +1224,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_termmeta (
* *
* @param string $plugin_to_install_id Plugin ID. * @param string $plugin_to_install_id Plugin ID.
* @param array $plugin_to_install Plugin information. * @param array $plugin_to_install Plugin information.
*
* @throws Exception If unable to proceed with plugin installation. * @throws Exception If unable to proceed with plugin installation.
* @since 2.6.0 * @since 2.6.0
*/ */
@ -1375,6 +1380,7 @@ CREATE TABLE {$wpdb->prefix}woocommerce_termmeta (
* Install a theme from .org in the background via a cron job (used by installer - opt in). * Install a theme from .org in the background via a cron job (used by installer - opt in).
* *
* @param string $theme_slug Theme slug. * @param string $theme_slug Theme slug.
*
* @throws Exception If unable to proceed with theme installation. * @throws Exception If unable to proceed with theme installation.
* @since 3.1.0 * @since 3.1.0
*/ */