Skip to content

Commit

Permalink
Error fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Arno2005 committed Jul 26, 2024
1 parent 3971a40 commit bd41540
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Libraries/Module/ModuleManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ModuleManager{
private $modulePath;
private $templatePath;

function __construct(string $moduleName, string $template, string $demo, bool $enabled){
function __construct(string $moduleName, string $template, string $demo, $enabled){
$this->moduleName = $moduleName;

$this->template = $template;
Expand All @@ -25,8 +25,6 @@ function __construct(string $moduleName, string $template, string $demo, bool $e

$this->optionEnabled = $enabled;

dd($this->demo);

$type = $this->demo == "yes" ? "Demo" : "Default";

$this->templatePath = __DIR__ . DS . "Templates" . DS . $type . DS . ucfirst($this->template);
Expand Down

0 comments on commit bd41540

Please sign in to comment.