File tree 7 files changed +22
-14
lines changed
7 files changed +22
-14
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ public function __construct(
23
23
public string $ mobile_country_code ,
24
24
public string $ mobile_network_code ,
25
25
public string $ type ,
26
- ) {}
26
+ ) {
27
+ }
27
28
28
29
public static function fake (
29
30
?string $ error_code = null ,
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ public static function fromJson(array $lookup): ?self
17
17
);
18
18
}
19
19
20
- public function __construct (public Carrier $ carrier ) {}
20
+ public function __construct (public Carrier $ carrier )
21
+ {
22
+ }
21
23
22
24
public static function fake (?Carrier $ carrier = null ): self
23
25
{
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ public function __construct(
24
24
public Carbon $ time ,
25
25
public string $ channel ,
26
26
public string $ attempt_sid ,
27
- ) {}
27
+ ) {
28
+ }
28
29
29
30
public static function fake (
30
31
?Carbon $ time = null ,
@@ -34,7 +35,7 @@ public static function fake(
34
35
return new static (
35
36
time: $ time ?? now (),
36
37
channel: $ channel ?? 'sms ' ,
37
- attempt_sid: $ attempt_sid ?? 'VL ' . Str::random (32 ),
38
+ attempt_sid: $ attempt_sid ?? 'VL ' . Str::random (32 ),
38
39
);
39
40
}
40
41
}
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ public function __construct(
33
33
public bool $ valid ,
34
34
public Carbon $ created_at ,
35
35
public Carbon $ updated_at ,
36
- ) {}
36
+ ) {
37
+ }
37
38
38
39
public static function fake (
39
40
?string $ sid = null ,
@@ -47,9 +48,9 @@ public static function fake(
47
48
?string $ updated_at = null ,
48
49
): self {
49
50
return new static (
50
- sid: $ sid ?? 'VE ' . Str::random (32 ),
51
- service_sid: $ service_sid ?? 'VA ' . Str::random (32 ),
52
- account_sid: $ account_sid ?? 'AC ' . Str::random (32 ),
51
+ sid: $ sid ?? 'VE ' . Str::random (32 ),
52
+ service_sid: $ service_sid ?? 'VA ' . Str::random (32 ),
53
+ account_sid: $ account_sid ?? 'AC ' . Str::random (32 ),
53
54
to: $ to ?? '+41795555825 ' ,
54
55
channel: $ channel ?? 'sms ' ,
55
56
status: $ status ?? 'approved ' ,
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ public function __construct(
43
43
public ?Lookup $ lookup ,
44
44
public Collection $ send_code_attempts ,
45
45
public string $ url ,
46
- ) {}
46
+ ) {
47
+ }
47
48
48
49
public static function fake (
49
50
?string $ sid = null ,
@@ -59,12 +60,12 @@ public static function fake(
59
60
?Collection $ send_code_attempts = null ,
60
61
?string $ url = null ,
61
62
): self {
62
- $ service = 'VA ' . Str::random (32 );
63
+ $ service = 'VA ' . Str::random (32 );
63
64
64
65
return new static (
65
- sid: $ sid ?? 'VE ' . Str::random (32 ),
66
+ sid: $ sid ?? 'VE ' . Str::random (32 ),
66
67
service_sid: $ service_sid ?? $ service ,
67
- account_sid: $ account_sid ?? 'AC ' . Str::random (32 ),
68
+ account_sid: $ account_sid ?? 'AC ' . Str::random (32 ),
68
69
to: $ to ?? '+41795555825 ' ,
69
70
channel: $ channel ?? 'sms ' ,
70
71
status: $ status ?? 'pending ' ,
Original file line number Diff line number Diff line change @@ -13,5 +13,7 @@ class TwilioVerifyResponseLog
13
13
use InteractsWithSockets;
14
14
use SerializesModels;
15
15
16
- public function __construct (public Response $ response ) {}
16
+ public function __construct (public Response $ response )
17
+ {
18
+ }
17
19
}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ protected function setUp(): void
13
13
parent ::setUp ();
14
14
15
15
Factory::guessFactoryNamesUsing (
16
- fn (string $ modelName ) => 'Spatie \\TwilioVerify \\Database \\Factories \\' . class_basename ($ modelName ). 'Factory ' ,
16
+ fn (string $ modelName ) => 'Spatie \\TwilioVerify \\Database \\Factories \\' . class_basename ($ modelName ) . 'Factory ' ,
17
17
);
18
18
}
19
19
You can’t perform that action at this time.
0 commit comments