style: Laravel Pint 코드 포맷팅 적용

- PSR-12 스타일 가이드 준수
- 302개 파일 스타일 이슈 자동 수정
- 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
2025-11-06 17:45:49 +09:00
parent 48e76432ee
commit cc206fdbed
294 changed files with 4476 additions and 2561 deletions

View File

@@ -2,9 +2,9 @@
namespace App\Models\Boards;
use App\Models\Commons\File;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use App\Models\Commons\File;
/**
* @mixin IdeHelperPost
@@ -14,18 +14,24 @@ class Post extends Model
use SoftDeletes;
protected $table = 'posts';
protected $fillable = [
'tenant_id', 'board_id', 'user_id', 'title', 'content', 'editor_type',
'ip_address', 'is_notice', 'is_secret', 'views', 'status'
'ip_address', 'is_notice', 'is_secret', 'views', 'status',
];
public function files() {
public function files()
{
return $this->morphMany(File::class, 'fileable');
}
public function comments() {
public function comments()
{
return $this->hasMany(BoardComment::class, 'post_id')->whereNull('parent_id')->where('status', 'active');
}
public function board() {
public function board()
{
return $this->belongsTo(Board::class, 'board_id');
}
}