Closed (fixed)
Project:
Drupal core
Version:
8.4.x-dev
Component:
other
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2017 at 12:04 UTC
Updated:
9 Aug 2017 at 17:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gaurav.kapoor commentedComment #3
dawehnerFair point :)
Comment #4
alexpottThe only other instance of a constructor returning a value in core is \Drupal\Core\Archiver\ArchiveTar::__construct() - and that's not really 100% Drupal code and it is ancient and the returns are unreachable so... let's ignore that.
We could consider adding a check to the coder project for this but consider that there is only 1 case in core that is probably unnecessary.
Committed and pushed 37500c9 to 8.4.x and 4652263 to 8.3.x. Thanks!
Comment #8
gaurav.kapoor commented.
Comment #9
gaurav.kapoor commentedoops my bad.