mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 17:42:29 -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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue