function test19 in Coder 8.2
Same name in this branch
Same name and namespace in other branches
Another example of correct object operator indentation.
File
- coder_sniffer/
Drupal/ Test/ good/ good.php, line 1465 - This file contains all the valid notations for the drupal coding standard.
Code
function test19($key, $value, $connection) {
$connection
->merge('foo')
->keys(array(
'name' => $key,
'collection' => 'collection',
))
->fields(array(
'value' => $value,
))
->execute();
}