File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function withSubscription($planId = null)
34
34
}
35
35
```
36
36
37
- Once you have define the state method, you may use it when creating models via your factory:
37
+ Once you have defined the state method, you may use it when creating models via your factory:
38
38
39
39
``` php
40
40
$user = User::factory()->withSubscription($planId = 1000)->create();
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function withSubscription($planId = null)
37
37
}
38
38
```
39
39
40
- Once you have define the state method, you may use it when creating models via your factory:
40
+ Once you have defined the state method, you may use it when creating models via your factory:
41
41
42
42
``` php
43
43
$user = User::factory()->withSubscription('plan_id')->create();
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function withSubscription($planId = null)
34
34
}
35
35
```
36
36
37
- Once you have define the state method, you may use it when creating models via your factory:
37
+ Once you have defined the state method, you may use it when creating models via your factory:
38
38
39
39
``` php
40
40
$user = User::factory()->withSubscription($planId = 1000)->create();
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function withSubscription($planId = null)
38
38
}
39
39
```
40
40
41
- Once you have define the state method, you may use it when creating models via your factory:
41
+ Once you have defined the state method, you may use it when creating models via your factory:
42
42
43
43
``` php
44
44
$user = User::factory()->withSubscription('price_id')->create();
You can’t perform that action at this time.
0 commit comments