Fix: Change controller properties from private to protected (base class constraint)

This commit is contained in:
WLTBAgent
2026-02-16 16:23:08 +00:00
parent 922f36d686
commit 983ccabd8a
3 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@@ -18,9 +18,9 @@ use OCA\AnalyticsHub\AppInfo\Application;
*/
class AdminController {
private $appName;
private $request;
private $config;
protected $appName;
protected $request;
protected $config;
public function __construct(string $appName, IRequest $request, IConfig $config) {
$this->appName = $appName;

View File

@@ -19,10 +19,10 @@ use OCA\AnalyticsHub\Service\LLMService;
*/
class PageController extends \OCP\AppFramework\Controller {
private $appName;
private $config;
private $gaService;
private $llmService;
protected $appName;
protected $config;
protected $gaService;
protected $llmService;
public function __construct(
string $appName,