Skip to content

Commit 042f42a

Browse files
committed
Fix PHP 8.2 dynamic properties deprecation notice
1 parent b6978d9 commit 042f42a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Adapter/DbAcl.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
use Cake\Controller\Component;
2020
use Cake\Core\App;
2121
use Cake\ORM\TableRegistry;
22+
use Cake\ORM\Table;
2223

2324
/**
2425
* DbAcl implements an ACL control system in the database. ARO's and ACO's are
@@ -40,6 +41,9 @@
4041
*/
4142
class DbAcl implements AclInterface
4243
{
44+
private Table $Permission;
45+
private Table $Aro;
46+
private Table $Aco;
4347

4448
/**
4549
* Constructor

src/Model/Table/PermissionsTable.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
*/
2828
class PermissionsTable extends AclNodesTable
2929
{
30+
private Table $Aro;
31+
private Table $Aco;
3032

3133
/**
3234
* {@inheritDoc}

0 commit comments

Comments
 (0)