| Conditions | 2 |
| Paths | 2 |
| Total Lines | 17 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function __construct() |
||
| 14 | { |
||
| 15 | // webonyx/graphql-php v0.12 |
||
| 16 | if (!property_exists(__CLASS__, 'fieldDefinition')) { |
||
| 17 | return; |
||
| 18 | } |
||
| 19 | // webonyx/graphql-php v14 |
||
| 20 | parent::__construct( |
||
| 21 | FieldDefinition::create(['name' => 'fake', 'type' => Type::string()]), |
||
| 22 | [], |
||
| 23 | new ObjectType(['name' => 'fake']), |
||
| 24 | [], |
||
| 25 | new Schema([]), |
||
| 26 | [], |
||
| 27 | '', |
||
| 28 | null, |
||
| 29 | [] |
||
| 30 | ); |
||
| 33 |