Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
murdercode authored and github-actions[bot] committed Mar 7, 2024
1 parent 2e52c95 commit 7048df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Abstract/GoogleAnalyticsCounter.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GoogleAnalyticsCounter extends Value
{
public $name;

public function __construct(string $name = null)
public function __construct(?string $name = null)
{
parent::__construct();
$this->name = $name ?? __($this->title);
Expand All @@ -30,7 +30,7 @@ public function ranges()
30 => Nova::__('30 Days'),
60 => Nova::__('60 Days'),
90 => Nova::__('90 Days'),
365 => Nova::__('365 Days')
365 => Nova::__('365 Days'),
];
}

Expand Down
2 changes: 1 addition & 1 deletion src/Abstract/GoogleAnalyticsLineChart.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GoogleAnalyticsLineChart extends Trend
{
public $name;

public function __construct(string $name = null)
public function __construct(?string $name = null)
{
parent::__construct();
$this->name = $name ?? __($this->title);
Expand Down

0 comments on commit 7048df5

Please sign in to comment.