From fc9ad7e37a925e53e3a58b4ceb1efbaed0fbaf63 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Tue, 4 Jul 2017 14:02:35 +0700 Subject: [PATCH] Unify wording in error messages --- src/Validator/Rules/UniqueFragmentNames.php | 2 +- src/Validator/Rules/UniqueOperationNames.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Validator/Rules/UniqueFragmentNames.php b/src/Validator/Rules/UniqueFragmentNames.php index 20422e3..12e92a5 100644 --- a/src/Validator/Rules/UniqueFragmentNames.php +++ b/src/Validator/Rules/UniqueFragmentNames.php @@ -13,7 +13,7 @@ class UniqueFragmentNames { static function duplicateFragmentNameMessage($fragName) { - return "There can only be one fragment named \"$fragName\"."; + return "There can be only one fragment named \"$fragName\"."; } public $knownFragmentNames; diff --git a/src/Validator/Rules/UniqueOperationNames.php b/src/Validator/Rules/UniqueOperationNames.php index 27122b5..30e494f 100644 --- a/src/Validator/Rules/UniqueOperationNames.php +++ b/src/Validator/Rules/UniqueOperationNames.php @@ -12,7 +12,7 @@ class UniqueOperationNames { static function duplicateOperationNameMessage($operationName) { - return "There can only be one operation named \"$operationName\"."; + return "There can be only one operation named \"$operationName\"."; } public $knownOperationNames;