From 53dded8cff678c6fee4163f91ceac12b6c960a77 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Fri, 15 Jun 2018 13:14:42 +1200 Subject: [PATCH] API Remove @internal from new 4.2 methods --- src/ORM/FieldType/DBDate.php | 4 ---- src/ORM/FieldType/DBDatetime.php | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/ORM/FieldType/DBDate.php b/src/ORM/FieldType/DBDate.php index 13716b7eb..4bb948350 100644 --- a/src/ORM/FieldType/DBDate.php +++ b/src/ORM/FieldType/DBDate.php @@ -37,8 +37,6 @@ class DBDate extends DBField /** * Fixed locale to use for ISO date formatting. This is necessary to prevent * locale-specific numeric localisation breaking internal date strings. - * - * @internal (remove internal in 4.2) */ const ISO_LOCALE = 'en_US'; @@ -216,8 +214,6 @@ class DBDate extends DBField /** * Return formatter in a given locale. Useful if localising in a format other than the current locale. * - * @internal (Remove internal in 4.2) - * * @param string|null $locale The current locale, or null to use default * @param string|null $pattern Custom pattern to use for this, if required * @param int $dateLength diff --git a/src/ORM/FieldType/DBDatetime.php b/src/ORM/FieldType/DBDatetime.php index dd9c97607..74c688625 100644 --- a/src/ORM/FieldType/DBDatetime.php +++ b/src/ORM/FieldType/DBDatetime.php @@ -232,8 +232,6 @@ class DBDatetime extends DBDate implements TemplateGlobalProvider /** * Return formatter in a given locale. Useful if localising in a format other than the current locale. * - * @internal (Remove internal in 4.2) - * * @param string|null $locale The current locale, or null to use default * @param string|null $pattern Custom pattern to use for this, if required * @param int $dateLength