Skip to content

Commit

Permalink
fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Feb 5, 2025
1 parent d16134a commit 08d749d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ public function getModifiedTime(bool $gmt = false): int
/**
* @inheritDoc
*/
public function getDateTimestamp(): int
public function getArchiveDateTimestamp(): int
{
return $this->postObject->getDateTimestamp();
return $this->postObject->getArchiveDateTimestamp();
}
}
4 changes: 2 additions & 2 deletions library/PostObject/Decorators/IconResolvingPostObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public function getModifiedTime(bool $gmt = false): int
/**
* @inheritDoc
*/
public function getDateTimestamp(): int
public function getArchiveDateTimestamp(): int
{
return $this->postObject->getDateTimestamp();
return $this->postObject->getArchiveDateTimestamp();
}
}
4 changes: 2 additions & 2 deletions library/PostObject/Decorators/PostObjectFromOtherBlog.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ public function getModifiedTime(bool $gmt = false): int
/**
* @inheritDoc
*/
public function getDateTimestamp(): int
public function getArchiveDateTimestamp(): int
{
return $this->postObject->getDateTimestamp();
return $this->postObject->getArchiveDateTimestamp();
}
}
4 changes: 2 additions & 2 deletions library/PostObject/Decorators/PostObjectFromWpPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ public function getModifiedTime(bool $gmt = false): int
/**
* @inheritDoc
*/
public function getDateTimestamp(): int
public function getArchiveDateTimestamp(): int
{
return $this->getPublishedTime();
return $this->postObject->getArchiveDateTimestamp();
}
}
4 changes: 2 additions & 2 deletions library/PostObject/Decorators/PostObjectWithSeoRedirect.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ public function getModifiedTime(bool $gmt = false): int
/**
* @inheritDoc
*/
public function getDateTimestamp(): int
public function getArchiveDateTimestamp(): int
{
return $this->postObject->getDateTimestamp();
return $this->postObject->getArchiveDateTimestamp();
}
}
2 changes: 1 addition & 1 deletion library/PostObject/PostObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getModifiedTime(bool $gmt = false): int
/**
* @inheritDoc
*/
public function getDateTimestamp(): int
public function getArchiveDateTimestamp(): int
{
return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion library/PostObject/PostObjectInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ public function getModifiedTime(bool $gmt = false): int;
*
* @return int
*/
public function getDateTimestamp(): int;
public function getArchiveDateTimestamp(): int;
}

0 comments on commit 08d749d

Please sign in to comment.