| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function typeFields(): array |
||
| 30 | { |
||
| 31 | return array_merge(parent::typeFields(), [ |
||
| 32 | 'email' => [ |
||
| 33 | 'type' => Type::nonNull(Type::string()), |
||
| 34 | 'description' => 'User email', |
||
| 35 | ], |
||
| 36 | 'token' => [ |
||
| 37 | 'type' => Type::string(), |
||
| 38 | 'description' => 'Authenticated user token', |
||
| 39 | ], |
||
| 40 | ]); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |