mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-03-15 03:39:50 +01:00
[CS] Space after ternary operator
This commit is contained in:
parent
2499534729
commit
f6617e6d25
@ -553,7 +553,7 @@ class Standard extends PrettyPrinterAbstract
|
||||
return ($node->static ? 'static ' : '')
|
||||
. 'function ' . ($node->byRef ? '&' : '')
|
||||
. '(' . $this->pCommaSeparated($node->params) . ')'
|
||||
. (!empty($node->uses) ? ' use(' . $this->pCommaSeparated($node->uses) . ')': '')
|
||||
. (!empty($node->uses) ? ' use(' . $this->pCommaSeparated($node->uses) . ')' : '')
|
||||
. (null !== $node->returnType ? ' : ' . $this->p($node->returnType) : '')
|
||||
. ' {' . $this->pStmts($node->stmts) . $this->nl . '}';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user