Skip to content

Add missing string type for $title property in Asymmetric Property inheritance example#4833

Merged
Crell merged 1 commit into
php:masterfrom
LuckyFellow:Fix-Asymmetric-Property-inheritance-example
Oct 3, 2025
Merged

Add missing string type for $title property in Asymmetric Property inheritance example#4833
Crell merged 1 commit into
php:masterfrom
LuckyFellow:Fix-Asymmetric-Property-inheritance-example

Conversation

@LuckyFellow
Copy link
Copy Markdown
Contributor

Add the missing string type to $title property in the SpecialBook class. The parent defines $title as string; the child must not drop the declared type.

… example

Add the missing string type to $title in the SpecialBook class. The parent defines $title as string; the child must not drop the declared type.
@Crell
Copy link
Copy Markdown
Contributor

Crell commented Oct 3, 2025

Thanks!

@Crell Crell merged commit 5c04cf0 into php:master Oct 3, 2025
2 checks passed
Crell pushed a commit to Crell/doc-en that referenced this pull request Dec 15, 2025
… example (php#4833)

Add the missing string type to $title in the SpecialBook class. The parent defines $title as string; the child must not drop the declared type.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants