diff --git a/class/Common/BlockActionsHandler.php b/class/Common/BlockActionsHandler.php index 2e12d18..5106015 100644 --- a/class/Common/BlockActionsHandler.php +++ b/class/Common/BlockActionsHandler.php @@ -21,16 +21,18 @@ Helper }; -//require __DIR__ . '/admin_header.php'; - -// BlockActionsHandler.php - +/** + * class BlockActionsHandler + */ class BlockActionsHandler { private $blocksadmin; private $helper; private $request; + /** + * @param $blocksadmin + */ public function __construct($blocksadmin) { $this->blocksadmin = $blocksadmin; @@ -162,7 +164,12 @@ public function processOrderBlockAction(BlockData $blockData) //for testing mocking - public function setRequest($request) + + /** + * @param $request + * @return void + */ + public function setRequest($request): void { $this->request = $request; } diff --git a/class/Common/Breadcrumb.php b/class/Common/Breadcrumb.php index b9ca60e..3ed2229 100644 --- a/class/Common/Breadcrumb.php +++ b/class/Common/Breadcrumb.php @@ -32,7 +32,7 @@ class Breadcrumb { public string $dirname; - private array $bread = []; + public array $bread = []; public function __construct() { diff --git a/class/Option.php b/class/Option.php index 55cf841..fadf63d 100644 --- a/class/Option.php +++ b/class/Option.php @@ -47,12 +47,12 @@ */ class Option extends XoopsObject { - private int $option_id; - private int $poll_id; + private int $option_id; + private int $poll_id; private string $option_text; - private int $option_count; + private int $option_count; private string $option_color; - private mixed $optHandler; + private mixed $optHandler; /** * database connection object diff --git a/class/Poll.php b/class/Poll.php index e5b1f05..b1b4328 100644 --- a/class/Poll.php +++ b/class/Poll.php @@ -27,22 +27,22 @@ */ class Poll extends \XoopsObject { - private int $poll_id; + private int $poll_id; private string $question; private string $description; - private int $user_id; - private int $start_time; - private int $end_time; - private int $votes; - private int $voters; - private int $display; - private int $visibility; - private int $anonymous; - private int $weight; - private int $multiple; - private int $multilimit; - private int $mail_status; - private int $mail_voter; + private int $user_id; + private int $start_time; + private int $end_time; + private int $votes; + private int $voters; + private int $display; + private int $visibility; + private int $anonymous; + private int $weight; + private int $multiple; + private int $multilimit; + private int $mail_status; + private int $mail_voter; /** * Poll::__construct() diff --git a/class/plugin/userlog.php b/class/plugin/userlog.php index 1e0daeb..d824c3f 100644 --- a/class/plugin/userlog.php +++ b/class/plugin/userlog.php @@ -20,7 +20,7 @@ */ // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); -class userlog extends \Userlog_Module_Plugin_Abstract implements \UserlogPluginInterface +class Userlog extends \Userlog_Module_Plugin_Abstract implements \UserlogPluginInterface { /** * @param string $subscribe_from Name of the script diff --git a/docs/changelog.txt b/docs/changelog.txt index 5c66cfc..f51d961 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,3 +1,7 @@ +