File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
33namespace DirectoryTree \ImapEngine \Laravel \Commands ;
44
5+ use Carbon \CarbonInterface ;
56use DirectoryTree \ImapEngine \Laravel \Events \MessageReceived ;
67use DirectoryTree \ImapEngine \MessageInterface ;
7- use Illuminate \Support \Carbon ;
88use Illuminate \Support \Facades \Date ;
99use Illuminate \Support \Facades \Event ;
1010
@@ -16,7 +16,7 @@ class HandleMessageReceived
1616 public function __construct (
1717 protected WatchMailbox $ command ,
1818 protected int &$ attempts = 0 ,
19- protected ?Carbon &$ lastReceivedAt = null ,
19+ protected ?CarbonInterface &$ lastReceivedAt = null ,
2020 ) {}
2121
2222 /**
Original file line number Diff line number Diff line change 22
33namespace DirectoryTree \ImapEngine \Laravel \Events ;
44
5- use Carbon \Carbon ;
5+ use Carbon \CarbonInterface ;
66use Exception ;
77
88class MailboxWatchAttemptsExceeded
@@ -14,6 +14,6 @@ public function __construct(
1414 public string $ mailbox ,
1515 public int $ attempts ,
1616 public Exception $ exception ,
17- public ?Carbon $ lastReceivedAt = null ,
17+ public ?CarbonInterface $ lastReceivedAt = null ,
1818 ) {}
1919}
You can’t perform that action at this time.
0 commit comments