Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
+5 -6
View File
@@ -2,8 +2,6 @@
namespace App\Models;
use App\Models\BaseModel;
class GradingLock extends BaseModel
{
protected $table = 'grading_locks';
@@ -24,9 +22,9 @@ class GradingLock extends BaseModel
protected $casts = [
'class_section_id' => 'integer',
'is_locked' => 'boolean',
'locked_by' => 'integer',
'locked_at' => 'datetime',
'is_locked' => 'boolean',
'locked_by' => 'integer',
'locked_at' => 'datetime',
];
/* Optional relationships */
@@ -63,6 +61,7 @@ class GradingLock extends BaseModel
public static function isLocked(int $classSectionId, string $semester, string $schoolYear): bool
{
$row = static::getLock($classSectionId, $semester, $schoolYear);
return (bool) ($row?->is_locked ?? false);
}
}
}