new LogicException check...

if(is_array($xToken)){
//$xToken SHOULD HAVE [1]
//if not, something is very wrong..
}

probably doesn't even need this check, BUT may help debugging -.-'
idk