@@ -8,6 +8,9 @@ |
||
8 | 8 | private $state; // The state of the object, eg `is_just_published` |
9 | 9 | private $trigger; // The action that triggers the sync operation, eg `save_post` |
10 | 10 | |
11 | + /** |
|
12 | + * @param string $trigger |
|
13 | + */ |
|
11 | 14 | function __construct( $trigger, $object = null ) { |
12 | 15 | $this->trigger = $trigger; |
13 | 16 | if ( $object ) { |