From 1c0fc409571488b047beb0fd84283977ee175559 Mon Sep 17 00:00:00 2001 From: Scott Thompson <1902906+scottpthompson@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:22:39 -0500 Subject: [PATCH] Until Main fixes: https://github.com/PHPOffice/PHPPresentation/issues/798 --- src/PhpPresentation/Style/Font.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/PhpPresentation/Style/Font.php b/src/PhpPresentation/Style/Font.php index 2975df4ef..a18a9923f 100644 --- a/src/PhpPresentation/Style/Font.php +++ b/src/PhpPresentation/Style/Font.php @@ -214,10 +214,6 @@ public function getPanose(): string */ public function setPanose(string $pValue): self { - if (mb_strlen($pValue) !== 10) { - throw new InvalidParameterException('pValue', $pValue, 'The length is not equals to 10'); - } - $allowedChars = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']; foreach (mb_str_split($pValue) as $char) { if (!in_array($char, $allowedChars)) {