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

@ -1,12 +1,11 @@
<?
use function Safe\preg_replace;
class Collection{
public $Name;
public $Url;
public $SequenceNumber = null;
public $Type = null;
public string $Name;
public string $Url;
public ?int $SequenceNumber = null;
public ?string $Type = null;
public function __construct(string $name){
$this->Name = $name;