You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/testing.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ class MyWorkflow extends Workflow
26
26
The above workflow can be tested by first calling `WorkflowStub::fake()` and then mocking the activity.
27
27
28
28
```
29
-
public function testWorkflow(): void
29
+
public function testWorkflow()
30
30
{
31
31
WorkflowStub::fake();
32
32
@@ -42,7 +42,7 @@ public function testWorkflow(): void
42
42
You can also provide a callback instead of a result value to ` WorkflowStub::mock()`.
43
43
44
44
```
45
-
public function testWorkflow(): void
45
+
public function testWorkflow()
46
46
{
47
47
WorkflowStub::fake();
48
48
@@ -84,7 +84,7 @@ class MyTimerWorkflow extends Workflow
84
84
The above workflow waits 60 seconds before executing the activity. Using `$this->travel()` and `$workflow->resume()` allows us to skip this waiting period.
0 commit comments