mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -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
14
lib/Feed.php
14
lib/Feed.php
|
@ -1,18 +1,20 @@
|
|||
<?
|
||||
use Safe\DateTime;
|
||||
use function Safe\exec;
|
||||
use function Safe\file_get_contents;
|
||||
use function Safe\file_put_contents;
|
||||
use function Safe\tempnam;
|
||||
use function Safe\unlink;
|
||||
|
||||
/**
|
||||
* @param array<string> $Entries
|
||||
*/
|
||||
class Feed{
|
||||
public $Url;
|
||||
public $Title;
|
||||
public string $Url;
|
||||
public string $Title;
|
||||
public $Entries = [];
|
||||
public $Path = null;
|
||||
public $Stylesheet = null;
|
||||
protected $XmlString = null;
|
||||
public string $Path;
|
||||
public ?string $Stylesheet = null;
|
||||
protected ?string $XmlString = null;
|
||||
|
||||
/**
|
||||
* @param string $title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue