Skip to content

Commit

Permalink
Add AllowDynamicProperties attribute to xPDO class (#252)
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 authored Jun 13, 2023
1 parent d6cc140 commit 4544d16
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 4544d16

Please sign in to comment.