Switch to new array shorthand

This commit is contained in:
Alex Cabal 2021-10-06 18:03:28 -05:00
parent acdc7eb639
commit 7be2f18424
4 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ use function Safe\krsort;
use function Safe\preg_replace;
use function Safe\strtotime;
$longopts = array("webroot:", "weburl:");
$longopts = ["webroot:", "weburl:"];
$options = getopt("", $longopts);
$webRoot = $options["webroot"] ?? "/standardebooks.org/web";
$webUrl = $options["weburl"] ?? "https://standardebooks.org";