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
@@ -10,7 +10,7 @@ class StickerFormDataRequest extends ApiFormRequest
{
parent::prepareForValidation();
if (!$this->has('class_section_id') && $this->has('class_id')) {
if (! $this->has('class_section_id') && $this->has('class_id')) {
$this->merge(['class_section_id' => $this->input('class_id')]);
}
}
@@ -11,7 +11,7 @@ class StickerPrintRequest extends ApiFormRequest
{
parent::prepareForValidation();
if (!$this->has('class_section_id') && $this->has('class_id')) {
if (! $this->has('class_section_id') && $this->has('class_id')) {
$this->merge(['class_section_id' => $this->input('class_id')]);
}
}
@@ -53,7 +53,7 @@ class StickerPrintRequest extends ApiFormRequest
$hasClass = $this->filled('class_section_id');
$printAll = (bool) $this->input('print_all', false);
if (!$hasStudent && !$hasClass && !$printAll) {
if (! $hasStudent && ! $hasClass && ! $printAll) {
$validator->errors()->add('selection', 'Please select a student or class, or set print_all.');
}
});
@@ -10,7 +10,7 @@ class StickerStudentsByClassRequest extends ApiFormRequest
{
parent::prepareForValidation();
if (!$this->has('class_section_id') && $this->has('class_id')) {
if (! $this->has('class_section_id') && $this->has('class_id')) {
$this->merge(['class_section_id' => $this->input('class_id')]);
}
}