There was an error while loading. Please reload this page.
The example
class ClassName { public function foo($bar = [ 1, 2, ]) { // method body } }
should not produce any warnings related to multi-line method definition.
Because there is no split argument list.
See section 3.1 of PSR-2-meta and 4.4 of PSR-2