Some php 8.4 deprecation fixes
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 27s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 1m29s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 4m35s
Create Docker Image / Final Docker Image Manifest (push) Successful in 9s

This commit is contained in:
2025-02-16 14:09:30 +11:00
parent 7e0d1eb0e3
commit 7950cc3404
12 changed files with 12 additions and 12 deletions

View File

@@ -17,7 +17,7 @@ class Attribute extends Component
/**
* Create a new component instance.
*/
public function __construct(?LDAPAttribute $o,bool $edit=FALSE,bool $old=FALSE,bool $new=FALSE,string $na=NULL)
public function __construct(?LDAPAttribute $o,bool $edit=FALSE,bool $old=FALSE,bool $new=FALSE,?string $na=NULL)
{
$this->o = $o;
$this->edit = $edit;

View File

@@ -18,7 +18,7 @@ class AttributeType extends Component
/**
* Create a new component instance.
*/
public function __construct(LDAPAttribute $o,bool $new=FALSE,Collection $oc=NULL)
public function __construct(LDAPAttribute $o,bool $new=FALSE,?Collection $oc=NULL)
{
$this->o = $o;
$this->oc = $oc;