@@ -38,26 +38,16 @@ final class ActivityInfo
3838 *
3939 * @see ActivityCompletionClientInterface::complete()
4040 *
41- * @var string
4241 */
4342 #[Marshal(name: 'TaskToken ' )]
4443 public string $ taskToken ;
4544
46- /**
47- * @var WorkflowType|null
48- */
4945 #[Marshal(name: 'WorkflowType ' , type: NullableType::class, of: WorkflowType::class)]
5046 public ?WorkflowType $ workflowType = null ;
5147
52- /**
53- * @var string
54- */
5548 #[Marshal(name: 'WorkflowNamespace ' )]
5649 public string $ workflowNamespace = 'default ' ;
5750
58- /**
59- * @var WorkflowExecution|null
60- */
6151 #[Marshal(name: 'WorkflowExecution ' , type: NullableType::class, of: WorkflowExecution::class)]
6252 public ?WorkflowExecution $ workflowExecution = null ;
6353
@@ -67,53 +57,44 @@ final class ActivityInfo
6757 *
6858 * @see ActivityCompletionClientInterface::complete()
6959 *
70- * @var string
7160 */
7261 #[Marshal(name: 'ActivityID ' )]
7362 public string $ id ;
7463
7564 /**
7665 * Type (name) of the activity.
7766 *
78- * @var ActivityType
7967 */
8068 #[Marshal(name: 'ActivityType ' , type: ObjectType::class, of: ActivityType::class)]
8169 public ActivityType $ type ;
8270
83- /**
84- * @var string
85- */
8671 #[Marshal(name: 'TaskQueue ' )]
8772 public string $ taskQueue = WorkerFactoryInterface::DEFAULT_TASK_QUEUE ;
8873
8974 /**
9075 * Maximum time between heartbeats. 0 means no heartbeat needed.
9176 *
92- * @var \DateInterval
9377 */
9478 #[Marshal(name: 'HeartbeatTimeout ' , type: DateIntervalType::class)]
9579 public \DateInterval $ heartbeatTimeout ;
9680
9781 /**
9882 * Time of activity scheduled by a workflow
9983 *
100- * @var \DateTimeInterface
10184 */
10285 #[Marshal(name: 'ScheduledTime ' , type: DateTimeType::class)]
10386 public \DateTimeInterface $ scheduledTime ;
10487
10588 /**
10689 * Time of activity start
10790 *
108- * @var \DateTimeInterface
10991 */
11092 #[Marshal(name: 'StartedTime ' , type: DateTimeType::class)]
11193 public \DateTimeInterface $ startedTime ;
11294
11395 /**
11496 * Time of activity timeout
11597 *
116- * @var \DateTimeInterface
11798 */
11899 #[Marshal(name: 'Deadline ' , type: DateTimeType::class)]
119100 public \DateTimeInterface $ deadline ;
@@ -122,7 +103,6 @@ final class ActivityInfo
122103 * Attempt starts from 1, and increased by 1 for every retry if
123104 * retry policy is specified.
124105 *
125- * @var int
126106 */
127107 #[Marshal(name: 'Attempt ' )]
128108 public int $ attempt = 1 ;
0 commit comments