Skip to content

Commit 69cea8e

Browse files
authored
Update testing.md
1 parent efef0a6 commit 69cea8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MyWorkflow extends Workflow
2626
The above workflow can be tested by first calling `WorkflowStub::fake()` and then mocking the activity.
2727

2828
```
29-
public function testWorkflow(): void
29+
public function testWorkflow()
3030
{
3131
WorkflowStub::fake();
3232
@@ -42,7 +42,7 @@ public function testWorkflow(): void
4242
You can also provide a callback instead of a result value to ` WorkflowStub::mock()`.
4343

4444
```
45-
public function testWorkflow(): void
45+
public function testWorkflow()
4646
{
4747
WorkflowStub::fake();
4848
@@ -84,7 +84,7 @@ class MyTimerWorkflow extends Workflow
8484
The above workflow waits 60 seconds before executing the activity. Using `$this->travel()` and `$workflow->resume()` allows us to skip this waiting period.
8585

8686
```
87-
public function testTimeTravelWorkflow(): void
87+
public function testTimeTravelWorkflow()
8888
{
8989
WorkflowStub::fake();
9090

0 commit comments

Comments
 (0)