Closed (fixed)
Project:
Drupal core
Version:
8.5.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Oct 2017 at 09:39 UTC
Updated:
5 Feb 2018 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tresti88Hi
See attached patch, hope it's ok.
Thanks
Comment #3
tresti88Comment #4
dinesh18 commentedI looked into the API mentioned above. I also tried to compare the structure with the other APIs.
I checked some API under "https://api.drupal.org/api/drupal/core%21includes%21bootstrap.inc/8.5.x" but none of them is having @return.
I don't think so we require @return. It is as per designed.
Comment #5
adriancidMaybe this is related to #2571965: [meta] Fix PHP coding standards in core, stage 1
I think that we should search to see is there is an issue more general or change the scope here to fix all the coding standards problems in the namespace or in the file.
Comment #6
joachim commented#2571965: [meta] Fix PHP coding standards in core, stage 1 appears to be more about coding standards rather than docs -- though there might be a similar issue for docs.
> I think that we should search to see is there is an issue more general or change the scope here to fix all the coding standards problems in the namespace or in the file.
Yup, good idea. Though bigger patches take longer to do and are harder to get reviewed and committed.
Comment #7
adriancid@joachim maybe we can fix at least all the @return in the file, if you want you can do the patch and I can reviewed or vice versa.
Comment #8
ivan berezhnov commentedComment #9
andypostComment #10
snehi commentedPlease review.
Comment #11
dev.patrick commentedPatch applies cleanly, marking RTBC.
Comment #15
catchNot entirely sure about the scoping here, but since the original reported issue can't be automated I don't think it makes sense to do this as if it was a coding standards issue. Committed/pushed to 8.6.x and cherry-picked to 8.5.x. Thanks!