Alignment of function parameters

To support readability, parameters in subsequent calls to the same function/method may be aligned by parameter name:

<?php

$this
->callSomeFunction('param1',     'second',        true);
$this->callSomeFunction('parameter2''third',         false);
$this->callSomeFunction('3',          'verrrrrrylong'true);
?>
Ternary operators (Previous) Alignment of assignments (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.