Skip to content

Commit

Permalink
Fix php error #3
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-mike committed Oct 25, 2024
1 parent ef9684c commit 6cfab7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Hooks/DeviceHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class DeviceHook extends DeviceOverviewHook
{
public $view = 'nmscustomfields::device.overview';
public string $view = 'nmscustomfields::device.overview';

public function data($device): array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Hooks/MenuHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

class MenuHook extends MenuEntryHook
{
public $view = 'nmscustomfields::menu.main';
public string $view = 'nmscustomfields::menu.main';
}

0 comments on commit 6cfab7d

Please sign in to comment.