mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 02:21:55 -04:00
Improve type hints
This commit is contained in:
parent
f21783d1f8
commit
fbcafb8f1d
17 changed files with 45 additions and 45 deletions
|
@ -22,9 +22,9 @@ use function Safe\shell_exec;
|
|||
* @property ?array<string> $TocEntries A list of non-Roman ToC entries *only if* the work has the `se:is-a-collection` metadata element; `null` otherwise.
|
||||
* @property string $Url The relative URL of this ebook, like `/ebooks/...`.
|
||||
* @property string $FullUrl The absolute URL of this ebook, like `https://standardebooks.org/ebooks/...`.
|
||||
* @property string $EditUrl
|
||||
* @property string $DeleteUrl
|
||||
* @property bool $HasDownloads
|
||||
* @property-read string $EditUrl
|
||||
* @property-read string $DeleteUrl
|
||||
* @property-read bool $HasDownloads
|
||||
* @property string $UrlSafeIdentifier
|
||||
* @property string $HeroImageUrl
|
||||
* @property string $HeroImageAvifUrl
|
||||
|
@ -45,10 +45,10 @@ use function Safe\shell_exec;
|
|||
* @property string $TextSinglePageUrl
|
||||
* @property string $TextSinglePageSizeFormatted
|
||||
* @property ?EbookPlaceholder $EbookPlaceholder
|
||||
* @property array<Project> $Projects
|
||||
* @property array<Project> $PastProjects
|
||||
* @property ?Project $ProjectInProgress
|
||||
* @property ?Artwork $Artwork
|
||||
* @property-read array<Project> $Projects
|
||||
* @property-read array<Project> $PastProjects
|
||||
* @property-read ?Project $ProjectInProgress
|
||||
* @property-read ?Artwork $Artwork
|
||||
*/
|
||||
final class Ebook{
|
||||
use Traits\Accessor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue