@lukecarbis Might even be cleaner to just use a single `return` in the method here:

```php
$ext_type_label = isset( $context_labels[ $ext_type ] ) ? $context_labels[ $ext_type ] : $context_labels['document'];

return $ext_type_label;
```