← All changes
|
vendor/woocommerce/action-scheduler/classes/ActionScheduler_ActionClaim.php
+12
-3
1.5.4
→
trunk
View file →
| @@ -3,11 +3,20 @@ | ||
| 3 | 3 | /** |
| 4 | 4 | * Class ActionScheduler_ActionClaim |
| 5 | 5 | */ |
| 6 | 6 | class ActionScheduler_ActionClaim { |
| 7 | - /** @var string */ | |
| 7 | + /** | |
| 8 | + * Claim ID. | |
| 9 | + * | |
| 10 | + * @var string | |
| 11 | + */ | |
| 8 | 12 | private $id = ''; |
| 9 | - /** @var int[] */ | |
| 13 | + | |
| 14 | + /** | |
| 15 | + * Claimed action IDs. | |
| 16 | + * | |
| 17 | + * @var int[] | |
| 18 | + */ | |
| 10 | 19 | private $action_ids = array(); |
| 11 | 20 | |
| 12 | 21 | /** |
| 13 | 22 | * Construct. |
| @@ -15,9 +24,9 @@ | ||
| 15 | 24 | * @param string $id Claim ID. |
| 16 | 25 | * @param int[] $action_ids Action IDs. |
| 17 | 26 | */ |
| 18 | 27 | public function __construct( $id, array $action_ids ) { |
| 19 | - $this->id = $id; | |
| 28 | + $this->id = $id; | |
| 20 | 29 | $this->action_ids = $action_ids; |
| 21 | 30 | } |
| 22 | 31 | |
| 23 | 32 | /** |