PSR-2 Coding standard for arrays and method chaining?

Viewed 9308

What's the PSR-2 Standard coding convention for initialization of arrays and method chaining?

$foo = array(
    'one' => 1,
    'two' => 2
);

$rows = DB::select('mytable')
    ->where_id($id)
    ->get_one();
2 Answers
Related