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;