Skip to content

Commit

Permalink
Allow CarbonImmutable instances
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Dec 10, 2024
1 parent ed9161d commit 39ecf29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Entries/MinuteEntries.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
namespace Statamic\Entries;

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

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

Expand Down

0 comments on commit 39ecf29

Please sign in to comment.