value !== null; } public function sourceLabel(): string { return match ($this->source) { self::CONFIRMED => 'bestätigt'.($this->confirmedBy ? ' von '.$this->confirmedBy : '').($this->confirmedAt ? ' am '.substr($this->confirmedAt, 8, 2).'.'.substr($this->confirmedAt, 5, 2).'.'.substr($this->confirmedAt, 0, 4) : ''), self::DERIVED => 'abgeleitet aus Ihrer bisherigen Einstellung'.($this->note ? ' („'.$this->note.'“)' : '').' – bitte bestätigen oder korrigieren', self::SUGGESTED => 'Vorschlag des Kanalprofils – bitte bestätigen', default => 'noch nicht bekannt – bitte bestätigen', }; } }