From b5a684e83a2df0481654748f0da0189c70465a8b Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Sun, 25 Nov 2012 10:25:40 +0700 Subject: [PATCH] changeed it back 'consist' => the 'must' should be applied to all parts of the sentence --- src/Header/GenericHeader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Header/GenericHeader.php b/src/Header/GenericHeader.php index 945d8cfa..60df4fbc 100644 --- a/src/Header/GenericHeader.php +++ b/src/Header/GenericHeader.php @@ -84,7 +84,7 @@ public function setFieldName($fieldName) // Validate what we have if (!preg_match('/^[a-z][a-z0-9-]*$/i', $fieldName)) { throw new Exception\InvalidArgumentException( - 'Header name must start with a letter, and consists of only letters, numbers and dashes.' + 'Header name must start with a letter, and consist of only letters, numbers and dashes.' ); }