From 7fb3b772126c5c8a95bb8ff062aae7417588c916 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 1 Sep 2023 22:53:49 +0200 Subject: [PATCH] Declare class properties for php 8.2 (#182) --- src/AclExtras.php | 7 +++++++ src/Adapter/IniAcl.php | 7 +++++++ src/Model/Table/PermissionsTable.php | 5 +++++ 3 files changed, 19 insertions(+) diff --git a/src/AclExtras.php b/src/AclExtras.php index 82f78654..8a14545a 100644 --- a/src/AclExtras.php +++ b/src/AclExtras.php @@ -42,6 +42,13 @@ class AclExtras */ public $Acl; + /** + * Aco object + * + * @var string + */ + public $Aco; + /** * Contains arguments parsed from the command line. * diff --git a/src/Adapter/IniAcl.php b/src/Adapter/IniAcl.php index 94e0a4cd..16a1a370 100644 --- a/src/Adapter/IniAcl.php +++ b/src/Adapter/IniAcl.php @@ -43,6 +43,13 @@ class IniAcl implements AclInterface */ protected $_defaultConfig = []; + /** + * Active config for this class + * + * @var array + */ + private $options = []; + /** * Constructor * diff --git a/src/Model/Table/PermissionsTable.php b/src/Model/Table/PermissionsTable.php index 05c71810..12f96536 100644 --- a/src/Model/Table/PermissionsTable.php +++ b/src/Model/Table/PermissionsTable.php @@ -26,6 +26,11 @@ class PermissionsTable extends AclNodesTable private ArosTable $Aro; private AcosTable $Aco; + /** + * @var int + */ + private $id; + /** * {@inheritDoc} *