mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Change 'timestamp' properties on objects to more descriptive names
This commit is contained in:
parent
18f761929a
commit
dbefba6b94
32 changed files with 74 additions and 74 deletions
|
@ -2,12 +2,12 @@
|
|||
use Safe\DateTimeImmutable;
|
||||
|
||||
class GitCommit{
|
||||
public $Timestamp;
|
||||
public $Created;
|
||||
public $Message;
|
||||
public $Hash;
|
||||
|
||||
public function __construct(string $unixTimestamp, string $hash, string $message){
|
||||
$this->Timestamp = new DateTimeImmutable('@' . $unixTimestamp);
|
||||
$this->Created = new DateTimeImmutable('@' . $unixTimestamp);
|
||||
$this->Message = $message;
|
||||
$this->Hash = $hash;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue