Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing lines in enumerations.xml #265

Merged

Conversation

negi141
Copy link
Contributor

@negi141 negi141 commented Mar 4, 2025

列挙型(Enum)>定数式における列挙型の値 に書かれているサンプルコード内に
英語版では存在していますが、日本語版では不足している行がありました。
英語版からその行を移植したPRです。
https://github.com/php/doc-en/blob/master/language/enumerations.xml#L617

$x = Direction::Up['short'];という行は英語版enumerations.xmlの初期コミットから存在していました。
php/doc-en@9fe8103#diff-57723d13442b7d9760b6993403b07a90ff451e1cb9d6a3ecc7d6e40ac393bdb4R564

Copy link
Collaborator

@KentarouTakeda KentarouTakeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます!

@KentarouTakeda KentarouTakeda merged commit 9773152 into php:master Mar 5, 2025
akinoriakatsuka pushed a commit to akinoriakatsuka/doc-ja that referenced this pull request Mar 7, 2025
akinoriakatsuka pushed a commit to akinoriakatsuka/doc-ja that referenced this pull request Mar 7, 2025
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