mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-23 12:56:04 +02:00
24 lines
346 B
PHP
24 lines
346 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Definition\Fields;
|
|
|
|
use GraphQL\Type\Definition\Type;
|
|
|
|
/**
|
|
* Class StringField.
|
|
*/
|
|
abstract class StringField extends Field
|
|
{
|
|
/**
|
|
* The type returned by the field.
|
|
*
|
|
* @return Type
|
|
*/
|
|
protected function type(): Type
|
|
{
|
|
return Type::string();
|
|
}
|
|
}
|