[Formatting Bug]:
mankowitz opened this issue · comments
Scott Mankowitz commented
Platform
Windows
Template before formatting
($role??null)?->permissions->contains($permission->id) ? 'checked' : ''
Template after formatting
**ERROR**
Expected Behaviour
This is valid php syntax
Relevant log output
Parse Error : syntax error, unexpected '?->' (T_NULLSAFE_OBJECT_OPERATOR), expecting ';' on line 1 > 1 | <?php echo ($role??null)?->permissions->contains($permission->id) ? 'checked' : '' ?> | ^
Shuhei Hayashibara commented
Duplicated #746