fix: switch updatedAt to datetime_immutable

This commit is contained in:
Maël Gangloff
2024-09-04 18:33:02 +02:00
parent b4aef61de2
commit 71173306d6
6 changed files with 40 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ readonly class RDAPService
*
* @throws \Exception
*/
public static function isToBeWatchClosely(Domain $domain, \DateTimeImmutable $updatedAt): bool
public static function isToBeWatchClosely(Domain $domain): bool
{
$status = $domain->getStatus();
if (!empty($status) && count(array_intersect($status, self::IMPORTANT_STATUS))) {