Skip to content

Commit af6d7bc

Browse files
Fix FamilyTreeOverviewWidget.php
1 parent de2ab8a commit af6d7bc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/Filament/App/Widgets/FamilyTreeOverviewWidget.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
class FamilyTreeOverviewWidget extends Widget
99
{
10-
protected static string $view = 'filament.app.widgets.family-tree-overview';
11-
10+
protected string $view = 'filament.app.widgets.family-tree-overview';
11+
1212
protected int | string | array $columnSpan = 'full';
13-
13+
1414
protected static ?int $sort = 4;
1515

1616
public function getViewData(): array
@@ -65,4 +65,4 @@ private function calculateGenerations(): int
6565
return Person::selectRaw('MAX(CASE WHEN deathday IS NULL THEN 0 ELSE YEAR(CURDATE()) - YEAR(birthday) END) / 25 as generations')
6666
->value('generations') ?? 1;
6767
}
68-
}
68+
}

0 commit comments

Comments
 (0)