Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexPopaCode4 committed Dec 3, 2024
1 parent 6551f9a commit 9b74906
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion app/Filament/Organizations/Pages/ReportsPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected function getFormSchema(): array
DatePicker::make('start_date')
->label(__('report.labels.start_date'))
->default(now()->startOfMonth())
->maxDate(fn (Get $get) => $get('end_date') ? debug($get('end_date')) : now())
->maxDate(fn (Get $get) => $get('end_date') ? $get('end_date') : now())
->live(),

DatePicker::make('end_date')
Expand Down
6 changes: 0 additions & 6 deletions app/Infolists/Components/EnumEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ protected function setUp(): void
$reflectionClass = new \ReflectionEnum($this->enumClass);
$returnType = $reflectionClass->getBackingtype();

debug($returnType->getName(), $this->enumClass);

return $state->map(
function ($item) use ($returnType) {
$item = match ($returnType->getName()) {
Expand All @@ -46,10 +44,6 @@ function ($item) use ($returnType) {
return $this->enumClass::tryFrom($item)?->getLabel();
}
)->join(', ');

debug($state);

return $state;
}

return $state;
Expand Down

0 comments on commit 9b74906

Please sign in to comment.