Skip to content

Commit

Permalink
Merge pull request #54 from aaemnnosttv/release/1.3.1
Browse files Browse the repository at this point in the history
Fix dynamic property deprecation notices
  • Loading branch information
aaemnnosttv committed Feb 5, 2023
2 parents 4020ea7 + d8bc9b3 commit 1c52157
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Author: Evan Mattson
* Author URI: https://aaemnnost.tv
* Plugin URI: https://github.com/aaemnnosttv/wp-sqlite-db
* Version: 1.2.0
* Version: 1.3.1
* Requires PHP: 5.6
*
* This file must be placed in wp-content/db.php.
Expand Down Expand Up @@ -2474,6 +2474,7 @@ public function rollBack()
*
* @author kjm
*/
#[\AllowDynamicProperties]
class ObjectArray
{
function __construct($data = null, &$node = null)
Expand All @@ -2483,7 +2484,7 @@ function __construct($data = null, &$node = null)
if (! $node) {
$node =& $this;
}
$node->$key = new stdClass();
$node->$key = new \stdClass();
self::__construct($value, $node->$key);
} else {
if (! $node) {
Expand Down

0 comments on commit 1c52157

Please sign in to comment.