Closed (fixed)
Project:
Feeds
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Dec 2018 at 16:19 UTC
Updated:
11 Jan 2019 at 11:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
thallesFollow the patch!
Comment #3
megachrizThanks for the patch!
It is a best practice to require interfaces instead of classes in methods, if available.
I think instead of assigning
$this->rendererto$renderer, the whole method might as well just use$this->rendererinstead of$renderer.I'm not sure about this change. I thought
=& $variablehas a different meaning than= &$variable, but I don't remember what it was (have to wrap up now, I look it up later).Comment #4
thallesFollow the patch!
Comment #6
megachrizThanks! I moved the date formatter parameter in the constructor a bit further to the back to emphasize that the first two parameters are more important for FeedTypeForm. Not sure if there are coding standards for ordering constructor parameters, maybe it's just my personal preference to have more important parameters at the front.
Comment #7
thallesok!