Cast Structure Spacing

A type cast should be preceded by whitespace. There is only one exception to this rule: when the cast is preceded by the spread operator there should be no space between the spread operator and the cast.

Valid: space before typecast.

$a =<em> </em>(int) '420';

// No space between spread operator and cast. $a = function_call( <em>...(array)</em> $mixed );

Invalid: no space before typecast.

$a <em>=(</em>int) '420';