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
@@ -9,9 +9,7 @@ use Illuminate\Support\Facades\Schema;
class SchoolYearContextService
{
public function __construct(private SchoolYearResolver $resolver)
{
}
public function __construct(private SchoolYearResolver $resolver) {}
public function currentSchoolYear(?string $requested = null): string
{
@@ -95,7 +93,7 @@ class SchoolYearContextService
}
foreach ($this->legacySchoolYearNames() as $name) {
if (!isset($seen[$name])) {
if (! isset($seen[$name])) {
$years[] = [
'id' => null,
'name' => $name,
@@ -111,7 +109,7 @@ class SchoolYearContextService
}
$include = trim((string) $include);
if ($include !== '' && !isset($seen[$include])) {
if ($include !== '' && ! isset($seen[$include])) {
array_unshift($years, [
'id' => null,
'name' => $include,
@@ -131,7 +129,7 @@ class SchoolYearContextService
{
$names = ['Fall', 'Spring'];
$current = trim((string) $include);
if ($current !== '' && !in_array($current, $names, true)) {
if ($current !== '' && ! in_array($current, $names, true)) {
array_unshift($names, $current);
}
@@ -153,7 +151,7 @@ class SchoolYearContextService
$names = [];
foreach ($tables as $table) {
if (!Schema::hasTable($table) || !Schema::hasColumn($table, 'school_year')) {
if (! Schema::hasTable($table) || ! Schema::hasColumn($table, 'school_year')) {
continue;
}