request->get('type') == 'always' ? ['away', 'busy'] : ['always']; if ($this->account->callForwardings()->whereIn('type', $filter)->where('enabled', true)->exists()) { $fail('type: always and type: always/busy cannot be enabled at the same time'); } } } }