Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
marco76tv authored and github-actions[bot] committed Jun 3, 2024
1 parent 4ddf33c commit 0bacaa7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 32 deletions.
40 changes: 17 additions & 23 deletions Filament/Widgets/OverlookWidget.php
Original file line number Diff line number Diff line change
@@ -1,39 +1,35 @@
<?php

declare(strict_types=1);
/**
* @see https://github.com/awcodes/overlook/blob/2.x/src/Widgets/OverlookWidget.php
*/

namespace Modules\UI\Filament\Widgets;

use Exception;
use NumberFormatter;
use Filament\Widgets\Widget;
use Awcodes\Overlook\OverlookPlugin;
use Modules\Quaeris\Actions\Dashboard\StatsAction;
use Awcodes\Overlook\Contracts\CustomizeOverlookWidget;

class OverlookWidget extends Widget
{
protected static string $view = 'ui::filament.widgets.overlook';

protected int | string | array $columnSpan = 1;

public string $icon='heroicon-o-envelope';
public string $title='';
protected int|string|array $columnSpan = 1;

public string $icon = 'heroicon-o-envelope';
public string $title = '';

/*
public array $grid = [
'default' => 6,
'sm' => 6,
'md' => 6,
'lg' => 6,
'xl' => 6,
'2xl' => null,
];
*/

public array $stats=[];
/*
public array $grid = [
'default' => 6,
'sm' => 6,
'md' => 6,
'lg' => 6,
'xl' => 6,
'2xl' => null,
];
*/

public array $stats = [];

/*
public function mount(array $filter): void
Expand All @@ -54,6 +50,4 @@ public function mount(array $filter): void
}
}
*/


}
12 changes: 3 additions & 9 deletions Filament/Widgets/RowWidget.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
<?php

declare(strict_types=1);
/**
* @see https://github.com/awcodes/overlook/blob/2.x/src/Widgets/OverlookWidget.php
*/

namespace Modules\Quaeris\Filament\Widgets;

use Exception;
use NumberFormatter;
use Filament\Widgets\Widget;
use Awcodes\Overlook\OverlookPlugin;
use Modules\Quaeris\Actions\Dashboard\StatsAction;
use Awcodes\Overlook\Contracts\CustomizeOverlookWidget;

class RowWidget extends Widget
{
protected static string $view = 'ui::filament.widgets.row';

protected int | string | array $columnSpan = 'full';
protected int|string|array $columnSpan = 'full';

public array $grid = [];

public array $widgets = [];



}

0 comments on commit 0bacaa7

Please sign in to comment.