@@ -66,9 +66,9 @@ class WorkflowClient implements WorkflowClientInterface
6666
6767 public function __construct (
6868 ServiceClientInterface $ serviceClient ,
69- ClientOptions $ options = null ,
70- DataConverterInterface $ converter = null ,
71- PipelineProvider $ interceptorProvider = null ,
69+ ? ClientOptions $ options = null ,
70+ ? DataConverterInterface $ converter = null ,
71+ ? PipelineProvider $ interceptorProvider = null ,
7272 ) {
7373 $ this ->client = $ serviceClient ;
7474 $ this ->interceptorPipeline = ($ interceptorProvider ?? new SimplePipelineProvider ())
@@ -83,9 +83,9 @@ public function __construct(
8383 */
8484 public static function create (
8585 ServiceClientInterface $ serviceClient ,
86- ClientOptions $ options = null ,
87- DataConverterInterface $ converter = null ,
88- PipelineProvider $ interceptorProvider = null ,
86+ ? ClientOptions $ options = null ,
87+ ? DataConverterInterface $ converter = null ,
88+ ? PipelineProvider $ interceptorProvider = null ,
8989 ): self {
9090 return new self ($ serviceClient , $ options , $ converter , $ interceptorProvider );
9191 }
@@ -207,7 +207,7 @@ public function startWithSignal(
207207
208208 public function newWorkflowStub (
209209 string $ class ,
210- WorkflowOptions $ options = null ,
210+ ? WorkflowOptions $ options = null ,
211211 ): object {
212212 $ workflow = $ this ->reader ->fromClass ($ class );
213213
@@ -220,7 +220,7 @@ public function newWorkflowStub(
220220
221221 public function newUntypedWorkflowStub (
222222 string $ workflowType ,
223- WorkflowOptions $ options = null ,
223+ ? WorkflowOptions $ options = null ,
224224 ): WorkflowStubInterface {
225225 $ options ??= new WorkflowOptions ();
226226
0 commit comments