ternary should be in a single line. Also you can remove the brackets sourounding the isset

```php
$setting = !empty($vocabularies[$vocab_name]['settings']) ? $vocabularies[$vocab_name]['settings'] : array();
```