Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
+4 -3
View File
@@ -14,15 +14,16 @@ class PolicyContentService
public function getPolicy(string $type): array
{
$type = strtolower(trim($type));
if (!isset(self::TYPES[$type])) {
if (! isset(self::TYPES[$type])) {
throw new \InvalidArgumentException('Unsupported policy type.');
}
$filename = self::TYPES[$type];
$path = resource_path('policies/' . $filename);
$path = resource_path('policies/'.$filename);
if (!is_file($path)) {
if (! is_file($path)) {
Log::warning('Policy file missing.', ['type' => $type, 'path' => $path]);
return [
'type' => $type,
'title' => $this->titleFor($type),