File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ final class Action extends AbstractEntity
30
30
31
31
public ?string $ completedAt ;
32
32
33
- public string $ resourceId ;
33
+ public int $ resourceId ;
34
34
35
35
public string $ resourceType ;
36
36
@@ -43,7 +43,7 @@ public function build(array $parameters): void
43
43
parent ::build ($ parameters );
44
44
45
45
foreach ($ parameters as $ property => $ value ) {
46
- if ('region ' === $ property && \is_object ( $ value ) ) {
46
+ if ('region ' === $ property ) {
47
47
$ this ->region = new Region ($ value );
48
48
}
49
49
}
Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ public function build(array $parameters): void
67
67
parent ::build ($ parameters );
68
68
69
69
foreach ($ parameters as $ property => $ value ) {
70
- if ('connection ' === $ property && \is_object ( $ value ) ) {
70
+ if ('connection ' === $ property ) {
71
71
$ this ->connection = new DatabaseConnection ($ value );
72
72
}
73
73
74
- if ('private_connection ' === $ property && \is_object ( $ value ) ) {
74
+ if ('private_connection ' === $ property ) {
75
75
$ this ->privateConnection = new DatabaseConnection ($ value );
76
76
}
77
77
@@ -84,7 +84,7 @@ public function build(array $parameters): void
84
84
}
85
85
}
86
86
87
- if ('maintenance_window ' === $ property && \is_object ( $ value ) ) {
87
+ if ('maintenance_window ' === $ property ) {
88
88
$ this ->maintenanceWindow = new DatabaseMaintenanceWindow ($ value );
89
89
}
90
90
}
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ public function build(array $parameters): void
38
38
parent ::build ($ parameters );
39
39
40
40
foreach ($ parameters as $ property => $ value ) {
41
- if ('connection ' === $ property && \is_object ( $ value ) ) {
41
+ if ('connection ' === $ property ) {
42
42
$ this ->connection = new DatabaseConnection ($ value );
43
43
}
44
44
45
- if ('private_connection ' === $ property && \is_object ( $ value ) ) {
45
+ if ('private_connection ' === $ property ) {
46
46
$ this ->privateConnection = new DatabaseConnection ($ value );
47
47
}
48
48
}
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ public function build(array $parameters): void
43
43
parent ::build ($ parameters );
44
44
45
45
foreach ($ parameters as $ property => $ value ) {
46
- if ('connection ' === $ property && \is_object ( $ value ) ) {
46
+ if ('connection ' === $ property ) {
47
47
$ this ->connection = new DatabaseConnection ($ value );
48
48
}
49
49
50
- if ('private_connection ' === $ property && \is_object ( $ value ) ) {
50
+ if ('private_connection ' === $ property ) {
51
51
$ this ->privateConnection = new DatabaseConnection ($ value );
52
52
}
53
53
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function build(array $parameters): void
32
32
parent ::build ($ parameters );
33
33
34
34
foreach ($ parameters as $ property => $ value ) {
35
- if ('mysql_settings ' === $ property && \is_object ( $ value ) ) {
35
+ if ('mysql_settings ' === $ property ) {
36
36
$ this ->mysqlSettings = new DatabaseMysqlSettings ($ value );
37
37
}
38
38
}
Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ public function build(array $parameters): void
30
30
parent ::build ($ parameters );
31
31
32
32
foreach ($ parameters as $ property => $ value ) {
33
- if ('droplet ' === $ property && \is_object ( $ value ) ) {
33
+ if ('droplet ' === $ property ) {
34
34
$ this ->droplet = new Droplet ($ value );
35
35
}
36
36
37
- if ('region ' === $ property && \is_object ( $ value ) ) {
37
+ if ('region ' === $ property ) {
38
38
$ this ->region = new Region ($ value );
39
39
}
40
40
}
You can’t perform that action at this time.
0 commit comments