Skip to content

Commit

Permalink
ADD TO: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 30, 2024
1 parent 4224215 commit 9d523e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ function checkRequirements()
throw new Exception($error, 3);
}

$requiredExtensions = [
$requiredExtensions = array(
'tokenizer',
'xmlwriter',
'SimpleXML',
];
$missingExtensions = [];
);
$missingExtensions = array();

foreach ($requiredExtensions as $extension) {
if (extension_loaded($extension) === false) {
Expand Down

0 comments on commit 9d523e1

Please sign in to comment.