diff --git a/docs/en/reference/attributes-reference.rst b/docs/en/reference/attributes-reference.rst index ce781220aff..1dc27cc36a1 100644 --- a/docs/en/reference/attributes-reference.rst +++ b/docs/en/reference/attributes-reference.rst @@ -628,7 +628,7 @@ Examples: #[Entity] #[InheritanceType("SINGLE_TABLE")] #[DiscriminatorColumn(name: "discr", type: "string")] - #[DiscriminatorMap({"person" = "Person", "employee" = "Employee"})] + #[DiscriminatorMap(["person" => "Person", "employee" => "Employee"])] class Person { // ... @@ -637,7 +637,7 @@ Examples: #[Entity] #[InheritanceType("JOINED")] #[DiscriminatorColumn(name: "discr", type: "string")] - #[DiscriminatorMap({"person" = "Person", "employee" = "Employee"})] + #[DiscriminatorMap(["person" => "Person", "employee" => "Employee"])] class Person { // ...