Skip to content

Commit

Permalink
Deprecate 'datetimeStored' property in a Group
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew72ru committed Nov 5, 2023
1 parent 4c9d1b1 commit 9d68c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public function getDatetimeCreated(): ?\DateTimeInterface

public function getDatetimeStored(): ?\DateTimeInterface
{
/** @psalm-suppress DeprecatedMethod */
return $this->inner->getDatetimeStored();
}

Expand Down
1 change: 1 addition & 0 deletions src/Interfaces/GroupInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function getDatetimeCreated(): ?\DateTimeInterface;

/**
* Date and time when files in a group were stored.
* @deprecated
*/
public function getDatetimeStored(): ?\DateTimeInterface;

Expand Down

0 comments on commit 9d68c0c

Please sign in to comment.