Skip to content

Commit

Permalink
#2407 - Change to require
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Oct 29, 2023
1 parent 0945f04 commit d319046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Class/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Entry
public function __construct(string $className, private CompilationContext $compilationContext)
{
$this->classname = $this->compilationContext->getFullName($className);
$this->classEntries = require_once __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'config/class-entries.php';
$this->classEntries = require __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'config/class-entries.php';

foreach ($this->classEntries as $key => $val) {
unset($this->classEntries[$key]);
Expand Down

0 comments on commit d319046

Please sign in to comment.