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 -5
View File
@@ -2,7 +2,6 @@
namespace App\Models;
use App\Models\BaseModel;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
@@ -32,7 +31,7 @@ class Permission extends BaseModel
try {
return static::query()->get();
} catch (\Throwable $e) {
Log::error('Error fetching permissions: ' . $e->getMessage());
Log::error('Error fetching permissions: '.$e->getMessage());
throw $e;
}
}
@@ -53,12 +52,12 @@ class Permission extends BaseModel
->map(fn ($r) => (array) $r)
->all();
Log::info('Role permissions fetched: ' . print_r($rows, true));
Log::info('Role permissions fetched: '.print_r($rows, true));
return $rows;
} catch (\Throwable $e) {
Log::error("Error fetching role permissions for role ID {$roleId}: " . $e->getMessage());
Log::error("Error fetching role permissions for role ID {$roleId}: ".$e->getMessage());
throw $e;
}
}
}
}