Skip to content

Commit

Permalink
fixup! fixed validating of time set to crons
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasLudvik committed Nov 20, 2023
1 parent ad4d61b commit 8c1c75b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/framework/src/Component/DateTimeHelper/DateTimeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,6 @@

class DateTimeHelper
{
/**
* @return \DateTime
*/
public static function createTodayMidnightDateTime(): DateTime
{
$todayMidnight = new DateTime();
$todayMidnight->setTime(0, 0, 0);

return $todayMidnight;
}

/**
* @param string $format
* @param string $time
Expand Down

0 comments on commit 8c1c75b

Please sign in to comment.