@@ -555,7 +555,7 @@ discard block |
||
| 555 | 555 | * |
| 556 | 556 | * @param int $time Unix timestamp. |
| 557 | 557 | * |
| 558 | - * @return int|float |
|
| 558 | + * @return double |
|
| 559 | 559 | */ |
| 560 | 560 | private function get_minutes( $time ) { |
| 561 | 561 | return round( ( (int) $time / 60 ), 2 ); |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | * |
| 568 | 568 | * @param int $time Unix timestamp. |
| 569 | 569 | * |
| 570 | - * @return int|float |
|
| 570 | + * @return double |
|
| 571 | 571 | */ |
| 572 | 572 | private function get_hours( $time ) { |
| 573 | 573 | return round( ( (int) $time / 3600 ), 2 ); |
@@ -88,14 +88,14 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | private $_core_cron_hooks = array( |
| 90 | 90 | 'do_pings', |
| 91 | - 'importer_scheduled_cleanup', // WP 3.1+. |
|
| 91 | + 'importer_scheduled_cleanup', // WP 3.1+. |
|
| 92 | 92 | 'publish_future_post', |
| 93 | - 'update_network_counts', // WP 3.1+. |
|
| 94 | - 'upgrader_scheduled_cleanup', // WP 3.3+. |
|
| 95 | - 'wp_maybe_auto_update', // WP 3.7+. |
|
| 93 | + 'update_network_counts', // WP 3.1+. |
|
| 94 | + 'upgrader_scheduled_cleanup', // WP 3.3+. |
|
| 95 | + 'wp_maybe_auto_update', // WP 3.7+. |
|
| 96 | 96 | 'wp_scheduled_auto_draft_delete', // WP 3.4+. |
| 97 | - 'wp_scheduled_delete', // WP 2.9+. |
|
| 98 | - 'wp_split_shared_term_batch', // WP 4.3+. |
|
| 97 | + 'wp_scheduled_delete', // WP 2.9+. |
|
| 98 | + 'wp_split_shared_term_batch', // WP 4.3+. |
|
| 99 | 99 | 'wp_update_plugins', |
| 100 | 100 | 'wp_update_themes', |
| 101 | 101 | 'wp_version_check', |
@@ -255,10 +255,10 @@ discard block |
||
| 255 | 255 | $this->_total_crons += count( $data ); |
| 256 | 256 | |
| 257 | 257 | if ( in_array( $hook, $this->_core_cron_hooks, true ) ) { |
| 258 | - $this->_core_crons[ $time ][ $hook ] = $data; |
|
| 258 | + $this->_core_crons[$time][$hook] = $data; |
|
| 259 | 259 | $this->_total_core_crons += count( $data ); |
| 260 | 260 | } else { |
| 261 | - $this->_user_crons[ $time ][ $hook ] = $data; |
|
| 261 | + $this->_user_crons[$time][$hook] = $data; |
|
| 262 | 262 | $this->_total_user_crons += count( $data ); |
| 263 | 263 | } |
| 264 | 264 | } |