Unify wording in error messages

This commit is contained in:
Vladimir Razuvaev 2017-07-04 14:02:35 +07:00
parent 76e182e616
commit fc9ad7e37a
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class UniqueFragmentNames
{ {
static function duplicateFragmentNameMessage($fragName) static function duplicateFragmentNameMessage($fragName)
{ {
return "There can only be one fragment named \"$fragName\"."; return "There can be only one fragment named \"$fragName\".";
} }
public $knownFragmentNames; public $knownFragmentNames;

View File

@ -12,7 +12,7 @@ class UniqueOperationNames
{ {
static function duplicateOperationNameMessage($operationName) static function duplicateOperationNameMessage($operationName)
{ {
return "There can only be one operation named \"$operationName\"."; return "There can be only one operation named \"$operationName\".";
} }
public $knownOperationNames; public $knownOperationNames;