return explode(';', $content);
}
}
- return array();
+ return [];
}
/**
$res = file_put_contents($updatesFilepath, implode(';', $updates));
if ($res === false) {
- throw new \Exception('Unable to write updates in '. $updatesFilepath . '.');
+ throw new \Exception('Unable to write updates in ' . $updatesFilepath . '.');
}
}
}