aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-01-13 17:38:31 +0000
committerMario <mario@mariovavti.com>2024-01-13 17:38:31 +0000
commitc59701740294ee8986942579abe18f82c4dee176 (patch)
treeb56ac326571ea9e09be0df0cd3d990089b4c873e
parent9cb95f6065353ac93e2ec84c7fe009ee3b26a72b (diff)
downloadvolse-hubzilla-c59701740294ee8986942579abe18f82c4dee176.tar.gz
volse-hubzilla-c59701740294ee8986942579abe18f82c4dee176.tar.bz2
volse-hubzilla-c59701740294ee8986942579abe18f82c4dee176.zip
fix some deprecation warnings
-rw-r--r--Zotlabs/Lib/DReport.php1
-rw-r--r--library/jsonld/jsonld.php17
2 files changed, 18 insertions, 0 deletions
diff --git a/Zotlabs/Lib/DReport.php b/Zotlabs/Lib/DReport.php
index e22ed65be..f4f098d19 100644
--- a/Zotlabs/Lib/DReport.php
+++ b/Zotlabs/Lib/DReport.php
@@ -6,6 +6,7 @@ class DReport {
private $location;
private $sender;
private $recipient;
+ private $name;
private $message_id;
private $status;
private $date;
diff --git a/library/jsonld/jsonld.php b/library/jsonld/jsonld.php
index bc3ca7a31..db4f4ae06 100644
--- a/library/jsonld/jsonld.php
+++ b/library/jsonld/jsonld.php
@@ -5805,6 +5805,12 @@ jsonld_register_rdf_parser(
* A JSON-LD Exception.
*/
class JsonLdException extends Exception {
+
+ protected $type;
+ protected $code;
+ protected $details;
+ protected $cause;
+
public function __construct(
$msg, $type, $code='error', $details=null, $previous=null) {
$this->type = $type;
@@ -5839,6 +5845,12 @@ class UniqueNamer {
*
* @param prefix the prefix to use ('<prefix><counter>').
*/
+
+ private $prefix;
+ private $counter;
+ private $existing;
+ private $order;
+
public function __construct($prefix) {
$this->prefix = $prefix;
$this->counter = 0;
@@ -5984,6 +5996,11 @@ class ActiveContextCache {
*
* @param int size the maximum size of the cache, defaults to 100.
*/
+
+ private $order;
+ private $cache;
+ private $size;
+
public function __construct($size=100) {
$this->order = array();
$this->cache = new stdClass();