Fix: Change controller properties from private to protected (base class constraint)
This commit is contained in:
Binary file not shown.
@@ -18,9 +18,9 @@ use OCA\AnalyticsHub\AppInfo\Application;
|
|||||||
*/
|
*/
|
||||||
class AdminController {
|
class AdminController {
|
||||||
|
|
||||||
private $appName;
|
protected $appName;
|
||||||
private $request;
|
protected $request;
|
||||||
private $config;
|
protected $config;
|
||||||
|
|
||||||
public function __construct(string $appName, IRequest $request, IConfig $config) {
|
public function __construct(string $appName, IRequest $request, IConfig $config) {
|
||||||
$this->appName = $appName;
|
$this->appName = $appName;
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ use OCA\AnalyticsHub\Service\LLMService;
|
|||||||
*/
|
*/
|
||||||
class PageController extends \OCP\AppFramework\Controller {
|
class PageController extends \OCP\AppFramework\Controller {
|
||||||
|
|
||||||
private $appName;
|
protected $appName;
|
||||||
private $config;
|
protected $config;
|
||||||
private $gaService;
|
protected $gaService;
|
||||||
private $llmService;
|
protected $llmService;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
string $appName,
|
string $appName,
|
||||||
|
|||||||
Reference in New Issue
Block a user