From 73f3b56ec13f2890830a7d042c69a4e4470c4df3 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 24 Nov 2025 16:33:26 +0100 Subject: [PATCH] Update TextArray.php: Making `TYPE_NAME` `public` If those name `const`s were public, people could use them in their mappings: ```php #[ORM\Column(type: TextArray::TYPE_NAME)] ``` --- src/MartinGeorgiev/Doctrine/DBAL/Types/TextArray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MartinGeorgiev/Doctrine/DBAL/Types/TextArray.php b/src/MartinGeorgiev/Doctrine/DBAL/Types/TextArray.php index 2152f5bf..350f0550 100644 --- a/src/MartinGeorgiev/Doctrine/DBAL/Types/TextArray.php +++ b/src/MartinGeorgiev/Doctrine/DBAL/Types/TextArray.php @@ -21,7 +21,7 @@ class TextArray extends BaseType /** * @var string */ - protected const TYPE_NAME = 'text[]'; + public const TYPE_NAME = 'text[]'; /** * Converts a value from its PHP representation to its database representation of the type.