Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
plugin system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jul 2013 at 10:01 UTC
Updated:
29 Jul 2014 at 22:37 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehner.
Comment #2
yesct commentednote, there is also: > core/lib/Drupal/Component/Diff/DiffEngine.php:1244: function render() {
separate issue?
Comment #3
yesct commenteddone by
there were 64 files that were effected.
Comment #4
dawehnerAwesome work!
Comment #5
alexpottCommitted 31efff2 and pushed to 8.x. Thanks!
Comment #6
mondrakeSo this is fixed
Comment #7
benjifisherDo we care that AreaPluginBase and PagerPluginBase have inconsistent declarations? The former has
and the latter has
BTW, what is the "ag" utility mentioned in #3, some "grep -r" variant?
Comment #8
dawehnerRegarding ag: Have a look at https://github.com/ggreer/the_silver_searcher
Yes it is okay to have different arguments on the render method, as they do something different.
Comment #9
benjifisherThanks for the pointer to ag.
I was wondering more about declaring just one as abstract. Both classes are declared as abstract, so why does one method get declared as abstract and not the other? I do not know PHP well enough to know whether this is a significant difference, or entirely equivalent. If the latter, then consistency would be clearer.
Comment #10.0
(not verified) commentedadded the parent issue