private static function doUpdate() { $domains = self::getNewDomainList(); // Don't panic if updating the file throws an error of some kind if (trim($domains) !== '') { @file_put_contents(self::getBlocklistFilename(), $domains); } }