Skip to content

PHP 8.4 deprecation warning #7448

@doehry

Description

@doehry

Description

I got a deprecation warning using PHP 8.4 with pods.

Deprecated: Pods\Container\Container_DI52::bind(): Implicitly marking parameter $afterBuildMethods as nullable is deprecated, the explicit nullable type must be used instead in /wp-content/plugins/pods/src/Pods/Container/Container_DI52.php on line 55

Deprecated: Pods\Container\Container_DI52::singleton(): Implicitly marking parameter $afterBuildMethods as nullable is deprecated, the explicit nullable type must be used instead in /wp-content/plugins/pods/src/Pods/Container/Container_DI52.php on line 83

I saw this has been already mentioned in #7401 together with other deprecation warnings. A lot has been fixed, but this two lines in Container_DI52.php have probably been forgotten. The fix is a easy one.

Version

3.3.2

Testing Instructions

No response

Screenshots / Screencast

No response

Possible Workaround

No response

Site Health Information


Pods Package

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions