Skip to content

[Sync-En] spl, reflection: replace deprecated SplObjectStorage methods in examples, clarify ReflectionAttribute::getTarget - #1680

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/spl-reflection-examples
Open

lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/spl-reflection-examples

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#6137 (SplObjectStorage examples use offsetSet(), offsetExists() and offsetUnset() instead of the deprecated methods), php/doc-en#6150 (examples that emitted deprecation notices) and php/doc-en#6145 (ReflectionAttribute::getTarget() description, return value and new example). EN-Revision updated.

Also dropped the <xi:fallback/> in the SplObjectStorage class page and the leftover fold markers in offsetget.xml, to match doc-en.

Fixes: #1667
Fixes: #1679
Fixes: #1669

…s in examples, clarify ReflectionAttribute::getTarget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant