| Total Complexity | 5 | 
| Total Lines | 37 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 11 | abstract class ValidationRule  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var string */  | 
            ||
| 14 | protected $name;  | 
            ||
| 15 | |||
| 16 | public function getName()  | 
            ||
| 17 |     { | 
            ||
| 18 | return $this->name ?: static::class;  | 
            ||
| 19 | }  | 
            ||
| 20 | |||
| 21 | public function __invoke(ValidationContext $context)  | 
            ||
| 24 | }  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * Returns structure suitable for GraphQL\Language\Visitor  | 
            ||
| 28 | *  | 
            ||
| 29 | * @see \GraphQL\Language\Visitor  | 
            ||
| 30 | *  | 
            ||
| 31 | * @return mixed[]  | 
            ||
| 32 | */  | 
            ||
| 33 | public function getVisitor(ValidationContext $context)  | 
            ||
| 34 |     { | 
            ||
| 35 | return [];  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * Returns structure suitable for GraphQL\Language\Visitor  | 
            ||
| 40 | *  | 
            ||
| 41 | * @see \GraphQL\Language\Visitor  | 
            ||
| 42 | *  | 
            ||
| 43 | * @return mixed[]  | 
            ||
| 44 | */  | 
            ||
| 45 | public function getSDLVisitor(SDLValidationContext $context)  | 
            ||
| 48 | }  | 
            ||
| 49 | }  | 
            ||
| 52 |