mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
Add type hints for remaining classes
This commit is contained in:
parent
d7718218ad
commit
783c09864f
35 changed files with 212 additions and 210 deletions
|
@ -2,9 +2,9 @@
|
|||
use Safe\DateTimeImmutable;
|
||||
|
||||
class GitCommit{
|
||||
public $Created;
|
||||
public $Message;
|
||||
public $Hash;
|
||||
public DateTimeImmutable $Created;
|
||||
public string $Message;
|
||||
public string $Hash;
|
||||
|
||||
public function __construct(string $unixTimestamp, string $hash, string $message){
|
||||
$this->Created = new DateTimeImmutable('@' . $unixTimestamp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue