- PHP foreach 참조(&)와 ?? 연산자 조합 시 임시 복사본이 생성되어 원본 배열 수정 불가 - `$category['subItems'] ?? []` → `empty() + continue` + `$category['subItems']` 로 변경 - 토글 API가 항상 is_completed: true 반환하던 문제 해결 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- checklist_templates 테이블 마이그레이션 + 기본 시딩 - ChecklistTemplate 모델 (BelongsToTenant, Auditable, SoftDeletes) - ChecklistTemplateService: 조회/저장/파일 업로드/삭제 - SaveChecklistTemplateRequest: 중첩 JSON 검증 - ChecklistTemplateController: 5개 엔드포인트 - 라우트 등록 (quality/checklist-templates, quality/qms-documents)