Skip to content

Commit

Permalink
Use the interface instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Dec 10, 2024
1 parent 39ecf29 commit 017d35d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Entries/MinuteEntries.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

namespace Statamic\Entries;

use Carbon\Carbon;
use Carbon\CarbonImmutable;
use Carbon\CarbonInterface;
use Statamic\Facades\Collection;
use Statamic\Facades\Entry;

class MinuteEntries
{
public function __construct(private readonly Carbon|CarbonImmutable $minute)
public function __construct(private readonly CarbonInterface $minute)
{
}

Expand Down

0 comments on commit 017d35d

Please sign in to comment.