Skip to content

Commit

Permalink
Add AllowDynamicProperties attribute to xPDO class (#251)
Browse files Browse the repository at this point in the history
This will avoid any compatibility issues with PHP >= 8.2 when using the deprecated getService() method in legacy applications.
  • Loading branch information
opengeek committed Jun 13, 2023
1 parent 37a529e commit 743dba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xPDO/xPDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
*
* @package xpdo
*/
#[\AllowDynamicProperties]
class xPDO {
/**#@+
* Constants
Expand Down

0 comments on commit 743dba9

Please sign in to comment.