Repository navigation
spl を原文の変更に追従 (6ファイル) - #561
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
spl の 6 ファイルを原文の変更に追従しました。これで spl モジュールの未訳・要更新はなくなります。
原文では次の変更がありました。
SplFixedArrayに整数でないキーを使うと、PHP 8.1.0 からRuntimeExceptionではなくTypeErrorがスローされることが追記され、例が直されました(php/doc-en@a833060、Fix SplFixedArray example for non-integer key error type doc-en#5227)RecursiveIteratorIteratorのページで、getChildren()を参照していた箇所がcallGetChildren()に直され、クラスに無いメソッドの呼び出しが現在の深さのイテレータに転送されることが追記されました(php/doc-en@60c33b2、RecursiveIteratorIterator: refer to callGetChildren() instead of getChildren() doc-en#5979)SplPriorityQueue::getExtractFlags()に説明と戻り値になるフラグが書かれ、SplPriorityQueue::setExtractFlags()とともに参考の一覧が追加されました(php/doc-en@75d7844、SplPriorityQueue::getExtractFlags(): describe the flags and add see also links doc-en#5981)あわせて、
SplPriorityQueue::getExtractFlags()の戻り値にあった extraction の誤訳を修正しました。対象ファイル
reference/spl/ (6) — recursiveiteratoriterator.xml, recursiveiteratoriterator/beginchildren.xml, recursiveiteratoriterator/construct.xml, splfixedarray.xml, splpriorityqueue/getextractflags.xml, splpriorityqueue/setextractflags.xml