Skip to content

Commit

Permalink
Merge pull request #179 from Mark-Lister/master
Browse files Browse the repository at this point in the history
Fix PHP 8.2 dynamic properties deprecation notices
  • Loading branch information
markstory authored Apr 23, 2023
2 parents b6978d9 + 3bae87d commit c72edae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Adapter/DbAcl.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
use Cake\Controller\Component;
use Cake\Core\App;
use Cake\ORM\TableRegistry;
use Acl\Model\Table\PermissionsTable;
use Acl\Model\Table\ArosTable;
use Acl\Model\Table\AcosTable;

/**
* DbAcl implements an ACL control system in the database. ARO's and ACO's are
Expand All @@ -40,6 +43,9 @@
*/
class DbAcl implements AclInterface
{
private PermissionsTable $Permission;
private ArosTable $Aro;
private AcosTable $Aco;

/**
* Constructor
Expand Down
4 changes: 4 additions & 0 deletions src/Model/Table/PermissionsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,17 @@
use Cake\Core\Exception\Exception;
use Cake\ORM\Table;
use Cake\Utility\Hash;
use Acl\Model\Table\ArosTable;
use Acl\Model\Table\AcosTable;

/**
* Permissions linking AROs with ACOs
*
*/
class PermissionsTable extends AclNodesTable
{
private ArosTable $Aro;
private AcosTable $Aco;

/**
* {@inheritDoc}
Expand Down

0 comments on commit c72edae

Please sign in to comment.