@@ -94,17 +94,16 @@ public static function create(
9494 return new self ($ serviceClient , $ options , $ converter , $ interceptorProvider );
9595 }
9696
97+ /**
98+ * @inheritDoc
99+ */
97100 public function getServiceClient (): ServiceClientInterface
98101 {
99102 return $ this ->client ;
100103 }
101104
102105 /**
103- * Starts workflow in async mode. Returns WorkflowRun object which can be used to wait for the execution result.
104- * WorkflowRun objects created by typed workflow stubs will attempt to type the execution result as well.
105- *
106- * @param object|WorkflowStubInterface $workflow
107- * @param mixed ...$args
106+ * @inheritDoc
108107 */
109108 public function start ($ workflow , ...$ args ): WorkflowRunInterface
110109 {
@@ -148,6 +147,9 @@ public function start($workflow, ...$args): WorkflowRunInterface
148147 );
149148 }
150149
150+ /**
151+ * @inheritDoc
152+ */
151153 public function signalWithStart (
152154 $ workflow ,
153155 string $ signal ,
@@ -206,6 +208,9 @@ public function signalWithStart(
206208 );
207209 }
208210
211+ /**
212+ * @inheritDoc
213+ */
209214 #[Deprecated(replacement: '%class%->signalWithStart(%parametersList%) ' )]
210215 public function startWithSignal (
211216 $ workflow ,
@@ -216,6 +221,9 @@ public function startWithSignal(
216221 return $ this ->signalWithStart ($ workflow , $ signal , $ signalArgs , $ startArgs );
217222 }
218223
224+ /**
225+ * @inheritDoc
226+ */
219227 public function updateWithStart (
220228 $ workflow ,
221229 string |UpdateOptions $ update ,
@@ -250,6 +258,9 @@ public function updateWithStart(
250258 : $ handle ;
251259 }
252260
261+ /**
262+ * @inheritDoc
263+ */
253264 public function newWorkflowStub (
254265 string $ class ,
255266 ?WorkflowOptions $ options = null ,
@@ -263,6 +274,9 @@ public function newWorkflowStub(
263274 );
264275 }
265276
277+ /**
278+ * @inheritDoc
279+ */
266280 public function newUntypedWorkflowStub (
267281 string $ workflowType ,
268282 ?WorkflowOptions $ options = null ,
@@ -279,6 +293,9 @@ public function newUntypedWorkflowStub(
279293 );
280294 }
281295
296+ /**
297+ * @inheritDoc
298+ */
282299 public function newRunningWorkflowStub (string $ class , string $ workflowID , ?string $ runID = null ): object
283300 {
284301 $ workflow = $ this ->reader ->fromClass ($ class );
@@ -290,6 +307,9 @@ public function newRunningWorkflowStub(string $class, string $workflowID, ?strin
290307 );
291308 }
292309
310+ /**
311+ * @inheritDoc
312+ */
293313 public function newUntypedRunningWorkflowStub (
294314 string $ workflowID ,
295315 ?string $ runID = null ,
@@ -307,11 +327,17 @@ public function newUntypedRunningWorkflowStub(
307327 return $ untyped ;
308328 }
309329
330+ /**
331+ * @inheritDoc
332+ */
310333 public function newActivityCompletionClient (): ActivityCompletionClientInterface
311334 {
312335 return new ActivityCompletionClient ($ this ->client , $ this ->clientOptions , $ this ->converter );
313336 }
314337
338+ /**
339+ * @inheritDoc
340+ */
315341 public function listWorkflowExecutions (
316342 string $ query ,
317343 ?string $ namespace = null ,
@@ -348,6 +374,9 @@ public function listWorkflowExecutions(
348374 return Paginator::createFromGenerator ($ loader ($ request ), $ counter );
349375 }
350376
377+ /**
378+ * @inheritDoc
379+ */
351380 public function countWorkflowExecutions (
352381 string $ query ,
353382 ?string $ namespace = null ,
@@ -363,6 +392,9 @@ public function countWorkflowExecutions(
363392 );
364393 }
365394
395+ /**
396+ * @inheritDoc
397+ */
366398 public function getWorkflowHistory (
367399 WorkflowExecution $ execution ,
368400 ?string $ namespace = null ,
0 commit comments