php - PSR for nested IF condition -
i migrate code in psr standard. not sure how write inside nested condition. confused line spacing. can use 1 line space after if condition ? below example code.
if ($this->value) { if ($this->value === 'abc') { $x = $this->x(); } $x = 'lababala'; if ($this->value === '123') { $x = $this->y(); } $end = new object(); }
Comments
Post a Comment