Skip to content

Commit 743dba9

Browse files
authored
Add AllowDynamicProperties attribute to xPDO class (#251)
This will avoid any compatibility issues with PHP >= 8.2 when using the deprecated getService() method in legacy applications.
1 parent 37a529e commit 743dba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xPDO/xPDO.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
*
5656
* @package xpdo
5757
*/
58+
#[\AllowDynamicProperties]
5859
class xPDO {
5960
/**#@+
6061
* Constants

0 commit comments

Comments
 (0)