| Conditions | 4 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function loadOverrides($names) { |
||
| 37 | if (in_array('language.types', $names)) { |
||
| 38 | if ($config = $this->baseStorage->read('language.types')) { |
||
| 39 | foreach (array_keys($config['negotiation']) as $type) { |
||
| 40 | $config['negotiation'][$type]['enabled']['language-graphql'] = -999; |
||
| 41 | asort($config['negotiation'][$type]['enabled']); |
||
| 42 | } |
||
| 43 | return ['language.types' => $config]; |
||
| 44 | } |
||
| 45 | } |
||
| 46 | return []; |
||
| 47 | } |
||
| 48 | |||
| 71 |