Error double checkbox
Error double checkbox

Hi guys, i want implement new checkbox in my table but i have this error:
i tried to move the "comma" to another place but i can't fix it, maybe i made another mistake ?!
Field::inst( 'hub' )
->setFormatter( function ( $val, $data, $opts ) {
return ! $val ? 0 : 1;
} )
), ---------------> line 112
Field::inst( 'active' )
->setFormatter( function ( $val, $data, $opts ) {
return ! $val ? 0 : 1;
} )
)
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Okay i'm stupid thanks man!