Replaced the call to modx->getMicroTime() with microtime(true)