Add type hints for remaining classes

This commit is contained in:
Alex Cabal 2024-01-08 14:11:53 -06:00
parent d7718218ad
commit 783c09864f
35 changed files with 212 additions and 210 deletions

View file

@ -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);