final class Spacing
Restricted visibility: declared "@visibility SqlFormatter". Code outside that scope must not name this declaration.

Separates tokens without rewriting their contents or merging adjacent operators.

Methods§

public static function between(?Token $previous, Token $token, bool $unary = false): string

Chooses an inline separator without changing lexical boundaries.

Parameters

$previous?Token
$tokenToken
$unarybool

Returns

string
Test cases 2
Called from 1
Calls 1

Test cases 11§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 2
Other tests reaching this symbol 9

Relations§

Static calls 1