mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -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,12 @@
|
|||
<?
|
||||
class Contributor{
|
||||
public $Name;
|
||||
public $UrlName;
|
||||
public $SortName;
|
||||
public $WikipediaUrl;
|
||||
public $MarcRole;
|
||||
public $FullName;
|
||||
public $NacoafUrl;
|
||||
public string $Name;
|
||||
public string $UrlName;
|
||||
public ?string $SortName;
|
||||
public ?string $WikipediaUrl;
|
||||
public ?string $MarcRole;
|
||||
public ?string $FullName;
|
||||
public ?string $NacoafUrl;
|
||||
|
||||
public function __construct(string $name, string $sortName = null, string $fullName = null, string $wikipediaUrl = null, string $marcRole = null, string $nacoafUrl = null){
|
||||
$this->Name = str_replace('\'', '’', $name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue