@@ -105,7 +105,6 @@ |
||
105 | 105 | * |
106 | 106 | * Based on Crontrol::interval() function by Edward Dale: https://wordpress.org/plugins/wp-crontrol/ |
107 | 107 | * |
108 | - * @param int $interval A interval in seconds. |
|
109 | 108 | * @return string A human friendly string representation of the interval. |
110 | 109 | */ |
111 | 110 | public static function admin_notices() { |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | } |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param boolean $is_authorized |
|
56 | + */ |
|
54 | 57 | protected function set_authorized( $is_authorized ) { |
55 | 58 | $this->is_authorized = $is_authorized; |
56 | 59 | } |
@@ -59,6 +62,9 @@ discard block |
||
59 | 62 | return $this->is_authorized; |
60 | 63 | } |
61 | 64 | |
65 | + /** |
|
66 | + * @param string $function |
|
67 | + */ |
|
62 | 68 | public function try_soap( $function ) { |
63 | 69 | $args = func_get_args(); |
64 | 70 | array_shift( $args ); |
@@ -12,6 +12,9 @@ discard block |
||
12 | 12 | */ |
13 | 13 | protected $store; |
14 | 14 | |
15 | + /** |
|
16 | + * @param ActionScheduler_Store $store |
|
17 | + */ |
|
15 | 18 | function __construct( $store ) { |
16 | 19 | $this->store = $store; |
17 | 20 | } |
@@ -61,7 +64,7 @@ discard block |
||
61 | 64 | * |
62 | 65 | * @param string $status Action status label/name string. |
63 | 66 | * @param string $date_type Oldest or Newest. |
64 | - * @return DateTime |
|
67 | + * @return string |
|
65 | 68 | */ |
66 | 69 | protected function get_action_status_date( $status, $date_type = 'oldest' ) { |
67 | 70 |