style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -61,17 +61,17 @@ public function getParsedOsVersionAttribute(): ?string
// Android 버전 추출
if (preg_match('/Android\s+([\d.]+)/', $this->device_name, $matches)) {
return 'Android ' . $matches[1];
return 'Android '.$matches[1];
}
// iOS 버전 추출
if (preg_match('/iPhone\s+OS\s+([\d_]+)/', $this->device_name, $matches)) {
return 'iOS ' . str_replace('_', '.', $matches[1]);
return 'iOS '.str_replace('_', '.', $matches[1]);
}
// iPad 버전 추출
if (preg_match('/CPU\s+OS\s+([\d_]+)/', $this->device_name, $matches)) {
return 'iOS ' . str_replace('_', '.', $matches[1]);
return 'iOS '.str_replace('_', '.', $matches[1]);
}
return null;
@@ -94,6 +94,7 @@ private function parseUserAgent(string $userAgent): string
if (($pos = strpos($model, ' Build')) !== false) {
$model = substr($model, 0, $pos);
}
return $model ?: 'Android Device';
}