Closed (fixed)
Project:
Drupal core
Version:
9.4.x-dev
Component:
documentation
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Jun 2022 at 11:04 UTC
Updated:
23 Aug 2022 at 09:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #4
immaculatexavier commentedAttached the patch
Comment #5
joachim commentedThanks for the patch!
This is removing the description, which isn't the right thing to do.
It should say something like 'An array of components, keyed by the component UUID.'
Comment #6
immaculatexavier commentedAddressed #5
Comment #7
immaculatexavier commentedNow the code will be as below:
Comment #8
joachim commentedNow you're leaving the original line in, even though the new line is repeating its meaning.
It should still say it's components, but it shouldn't say it twice.
The complete description can just be:
> An array of components, keyed by the component UUID.
That tells us that it's an array, what is in the array, and what the keys are.
Comment #9
ashutosh ahirwal commentedAttach this patch.
Comment #10
joachim commentedThanks!
The wording is fine now, but the indentation has been changed.
Comment #11
mrinalini9 commentedHi,
I have uploaded the patch by fixing above mentioned indentation issue in #10, please review it.
Thanks & Regards,
Mrinalini
Comment #13
joachim commentedTest failure is unrelated, and this is a docs-only patch.
This looks perfect. Thanks!
Comment #15
rassoni commentedDue to test failure unrelated to this issue converted to need to work.
I have added a throw statement and added interdiff.
Comment #16
joachim commentedAdding the @throws is outside of this issue's scope, sorry. Also, IIRC, a @throws tag needs a line after it explaining when the exception is thrown.
Comment #17
joachim commentedComment #18
ravi.shankar commentedRemoved @throws from patch #15 as per comment #16, please review.
Comment #19
joachim commentedThat's great, thanks!
(And feel free to file a new issue for the @throws!)
Comment #20
alexpottCommitted and pushed f667b7d0ef to 10.1.x and ffb69c6b96 to 10.0.x and 226bec73b9 to 9.5.x and 05d1c39075 to 9.4.x. Thanks!