mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Unify wording in error messages
This commit is contained in:
parent
76e182e616
commit
fc9ad7e37a
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user