mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-23 05:16: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)
|
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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user