- Fixed ActionLogContext object_id, now allowing compound keys
This commit is contained in:
1 parent
a54930b6c6
commit
d71fac0f88
2 files changed
+2
-2
No files matched your search
@@ -21,7 +21,7 @@ class ApiActionLog implements EntityInterface, \JsonSerializable
|
||||
public int $id;
|
||||
|
||||
#[Field\ForeignKey(name: "object_id"), EntityField(field: "object_id")]
|
||||
public int|array $objectId;
|
||||
public array|int|string $objectId;
|
||||
|
||||
#[Field(name: "object_type"), EntityField(field: "object_type")]
|
||||
public string $objectType;
|
||||
|
||||
@@ -22,7 +22,7 @@ class ActionLogContext extends FormContext
|
||||
public string $method;
|
||||
|
||||
#[ContextField(mandatory: true)]
|
||||
public int|array $object_id;
|
||||
public mixed $object_id;
|
||||
|
||||
#[ContextField(mandatory: true)]
|
||||
public string $object_type;
|
||||
|
||||
Reference in new issue
Block a user