PluginProbe
Image Optimizer – Compress Images and Convert to WebP or AVIF / trunk
Image Optimizer – Compress Images and Convert to WebP or AVIF vtrunk
1.7.7 1.7.6 1.7.5 1.7.4 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.3.0 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 All 33 releases
← All changes | vendor/woocommerce/action-scheduler/classes/ActionScheduler_LogEntry.php +9 -3 1.5.4 → trunk View file →
@@ -5,18 +5,24 @@
5 5 */
6 6 class ActionScheduler_LogEntry {
7 7
8 8 /**
9 + * Action's ID for log entry.
10 + *
9 11 * @var int $action_id
10 12 */
11 - protected $action_id = '';
13 + protected $action_id = '';
12 14
13 15 /**
16 + * Log entry's message.
17 + *
14 18 * @var string $message
15 19 */
16 - protected $message = '';
20 + protected $message = '';
17 21
18 22 /**
23 + * Log entry's date.
24 + *
19 25 * @var Datetime $date
20 26 */
21 27 protected $date;
22 28
@@ -42,9 +48,9 @@
42 48 }
43 49
44 50 $this->action_id = $action_id;
45 51 $this->message = $message;
46 - $this->date = $date ? $date : new Datetime;
52 + $this->date = $date ? $date : new Datetime();
47 53 }
48 54
49 55 /**
50 56 * Returns the date when this log entry was created