diff --git a/config/dashboard.php b/config/dashboard.php index b283918..60ca918 100644 --- a/config/dashboard.php +++ b/config/dashboard.php @@ -33,4 +33,4 @@ 'stylesheets' => [ 'inter' => 'https://rsms.me/inter/inter.css', ], -]; \ No newline at end of file +]; diff --git a/src/Components/DashboardComponent.php b/src/Components/DashboardComponent.php index 7987477..3397616 100644 --- a/src/Components/DashboardComponent.php +++ b/src/Components/DashboardComponent.php @@ -12,7 +12,7 @@ class DashboardComponent extends Component public string $initialMode = ''; - public ?HtmlString $assets = null; + public ?HtmlString $assets = null; public function mount(Dashboard $dashboard) { @@ -27,4 +27,4 @@ public function render() { return view('dashboard::dashboard'); } -} \ No newline at end of file +} diff --git a/src/Components/DashboardTileComponent.php b/src/Components/DashboardTileComponent.php index 6a66196..c356fcd 100644 --- a/src/Components/DashboardTileComponent.php +++ b/src/Components/DashboardTileComponent.php @@ -18,8 +18,8 @@ class DashboardTileComponent extends Component public function __construct( string $position, - ?int $refreshInterval = null, - ?string $title = null, + int $refreshInterval = null, + string $title = null, bool $fade = true, bool $show = true ) { @@ -72,4 +72,4 @@ private function indexInAlphabet(string $character): int return $index + 1; } -} \ No newline at end of file +} diff --git a/src/Components/UpdateModeComponent.php b/src/Components/UpdateModeComponent.php index 928b3b5..a383d5d 100644 --- a/src/Components/UpdateModeComponent.php +++ b/src/Components/UpdateModeComponent.php @@ -16,4 +16,4 @@ public function render() return view('dashboard::components.updateMode'); } -} \ No newline at end of file +} diff --git a/src/Dashboard.php b/src/Dashboard.php index ab547e5..8be1775 100644 --- a/src/Dashboard.php +++ b/src/Dashboard.php @@ -98,4 +98,4 @@ protected function isValidTheme(string $theme): bool { return in_array($theme, self::THEMES); } -} \ No newline at end of file +} diff --git a/src/DashboardServiceProvider.php b/src/DashboardServiceProvider.php index dff74dd..80f8bfd 100644 --- a/src/DashboardServiceProvider.php +++ b/src/DashboardServiceProvider.php @@ -86,4 +86,4 @@ protected function registerLivewireComponents(): self return $this; } -} \ No newline at end of file +}