Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
fix(oop): remove baseclass and review start session
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSchwarz-cnic committed Sep 29, 2021
1 parent f7b8ee5 commit 46d4f74
Show file tree
Hide file tree
Showing 30 changed files with 1,553 additions and 1,709 deletions.
10 changes: 8 additions & 2 deletions WHMCS/Module/abstractwidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ abstract class AbstractWidget
protected $requiredPermission = "";
/** @var bool */
protected $draggable = true;
/** @var null */
protected $adminUser = null;
/** @var \stdClass */
protected $adminUser;

abstract public function getData(); /** @phpstan-ignore-line */
abstract public function generateOutput(string $data); /** @phpstan-ignore-line */

public function __construct()
{
$this->adminUser = new \stdClass();
$this->adminUser->hiddenWidgets = [];
}
}
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function doZip() {
.pipe(dest("./pkg"));
}

exports.lint = series(doLint);
exports.lint = doLint;

exports.copy = series(doDistClean, doCopyFiles);

Expand Down
Loading

0 comments on commit 46d4f74

Please sign in to comment.