style: Pint 포맷팅 적용
This commit is contained in:
@@ -74,8 +74,8 @@ public function getDomainLabelAttribute(): string
|
||||
public function getAiAnalysisSummaryAttribute(): string
|
||||
{
|
||||
$lines = [];
|
||||
$lines[] = "=== SAM 시스템 알림 분석 요청 ===";
|
||||
$lines[] = "";
|
||||
$lines[] = '=== SAM 시스템 알림 분석 요청 ===';
|
||||
$lines[] = '';
|
||||
$lines[] = "■ 심각도: {$this->severity} ({$this->severity_label})";
|
||||
$lines[] = "■ 도메인: {$this->domain} ({$this->domain_label})";
|
||||
$lines[] = "■ 알림 유형: {$this->alert_type}";
|
||||
@@ -83,20 +83,20 @@ public function getAiAnalysisSummaryAttribute(): string
|
||||
$lines[] = "■ 발생 시간: {$this->created_at?->format('Y-m-d H:i:s')}";
|
||||
|
||||
if ($this->message) {
|
||||
$lines[] = "";
|
||||
$lines[] = "■ 상세 메시지:";
|
||||
$lines[] = '';
|
||||
$lines[] = '■ 상세 메시지:';
|
||||
$lines[] = $this->message;
|
||||
}
|
||||
|
||||
if ($this->current_value || $this->threshold_value) {
|
||||
$lines[] = "";
|
||||
$lines[] = '';
|
||||
$lines[] = "■ 현재값: {$this->current_value}";
|
||||
$lines[] = "■ 임계값: {$this->threshold_value}";
|
||||
}
|
||||
|
||||
$lines[] = "";
|
||||
$lines[] = "위 시스템 알림의 원인과 해결 방법을 분석해주세요.";
|
||||
$lines[] = '';
|
||||
$lines[] = '위 시스템 알림의 원인과 해결 방법을 분석해주세요.';
|
||||
|
||||
return implode("\n", $lines);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user