Skip to content

Commit f46553a

Browse files
committed
Fix method scope
1 parent f7da2f4 commit f46553a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Mvc/Controller/AIErrorAnalysisController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424
class AIErrorAnalysisController extends ModelController
2525
{
26-
protected $model = 'AIErrorAnalysis';
26+
public $model = 'AIErrorAnalysis';
2727
protected $allowableActions = ['get', 'delete', 'applyFix', 'rejectFix', 'reanalyze', 'rollback', 'getByError', 'getPending', 'getApplied'];
2828
protected $requireAuth = true;
2929
protected $requireAccount = true;

src/Mvc/Controller/AIErrorCorrectionConfigController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
class AIErrorCorrectionConfigController extends ModelController
1919
{
20-
protected $model = 'AIErrorCorrectionConfig';
20+
public $model = 'AIErrorCorrectionConfig';
2121
protected $allowableActions = ['new', 'update', 'get', 'delete', 'enable', 'disable', 'resetStats', 'getStats'];
2222
protected $requireAuth = true;
2323
protected $requireAccount = true;

src/Mvc/Controller/AIErrorDeduplicationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
*/
2020
class AIErrorDeduplicationController extends ModelController
2121
{
22-
protected $model = 'AIErrorDeduplication';
22+
public $model = 'AIErrorDeduplication';
2323
protected $allowableActions = ['get', 'delete', 'markResolved', 'markUnresolved', 'resetCooldown', 'getTopErrors', 'getUnresolved'];
2424
protected $requireAuth = true;
2525
protected $requireAccount = true;

0 commit comments

Comments
 (0)