Skip to content

Commit

Permalink
Fix: Remove unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 4, 2023
1 parent e3469dc commit 8f2bfb2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Faker/Core/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,6 @@ private function getTimestampDateTime(int $timestamp): \DateTime
return new \DateTime('@' . $timestamp);
}

private function setDefaultTimezone(string $timezone = null): void
{
$this->defaultTimezone = $timezone;
}

private function getDefaultTimezone(): ?string
{
return $this->defaultTimezone;
}

private function resolveTimezone(?string $timezone): string
{
if ($timezone !== null) {
Expand Down

0 comments on commit 8f2bfb2

Please sign in to comment.