From 1b81ce9921dd5d2b6a58870ccc1e9ca7a70a035c Mon Sep 17 00:00:00 2001 From: Brown Date: Sun, 26 Jul 2020 19:55:49 -0400 Subject: [PATCH] Revert string changes --- src/Psalm/Type/Atomic/TNonEmptyLowercaseString.php | 8 ++++++++ src/Psalm/Type/Atomic/TNonEmptyString.php | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Psalm/Type/Atomic/TNonEmptyLowercaseString.php b/src/Psalm/Type/Atomic/TNonEmptyLowercaseString.php index f3263ce6a..021a1ef1f 100644 --- a/src/Psalm/Type/Atomic/TNonEmptyLowercaseString.php +++ b/src/Psalm/Type/Atomic/TNonEmptyLowercaseString.php @@ -15,4 +15,12 @@ class TNonEmptyLowercaseString extends TNonEmptyString { return 'non-empty-lowercase-string'; } + + /** + * @return false + */ + public function canBeFullyExpressedInPhp() + { + return false; + } } diff --git a/src/Psalm/Type/Atomic/TNonEmptyString.php b/src/Psalm/Type/Atomic/TNonEmptyString.php index f4f6b0634..6caa05d6f 100644 --- a/src/Psalm/Type/Atomic/TNonEmptyString.php +++ b/src/Psalm/Type/Atomic/TNonEmptyString.php @@ -13,12 +13,4 @@ class TNonEmptyString extends TString { return 'non-empty-string'; } - - /** - * @return false - */ - public function canBeFullyExpressedInPhp() - { - return false; - } }