Skip to content

Commit

Permalink
Updated require to be used as a keyword instead of a function.
Browse files Browse the repository at this point in the history
  • Loading branch information
hexydec committed Jun 5, 2023
1 parent 3ebf108 commit 85677e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
require(__DIR__.'/vendor/autoload.php');
require __DIR__.'/vendor/autoload.php';

$base = empty($_POST['base']) ? '' : $_POST['base'];
$input = '';
Expand Down
2 changes: 1 addition & 1 deletion src/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
'hexydec\\css\\value' => __DIR__.'/tokens/value.php'
];
if (isset($classes[$class])) {
require($classes[$class]);
require $classes[$class];
}
});

0 comments on commit 85677e4

Please sign in to comment.