1 Commits
2 changed files with 2 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ class ApiActionLog implements EntityInterface, \JsonSerializable
public int $id; public int $id;
#[Field\ForeignKey(name: "object_id"), EntityField(field: "object_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")] #[Field(name: "object_type"), EntityField(field: "object_type")]
public string $objectType; public string $objectType;
+1 -1
View File
@@ -22,7 +22,7 @@ class ActionLogContext extends FormContext
public string $method; public string $method;
#[ContextField(mandatory: true)] #[ContextField(mandatory: true)]
public int|array $object_id; public mixed $object_id;
#[ContextField(mandatory: true)] #[ContextField(mandatory: true)]
public string $object_type; public string $object_type;