aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-11-03 08:42:11 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-11-03 08:42:11 +0100
commitbf008465ad36797f2349ad2bcea00bdd84f4fcfb (patch)
tree3fb388a89769238bca456a36a593f1da682f0673 /Zotlabs
parenta29a1c768dd71464748efd3c620d167504f23aa7 (diff)
downloadvolse-hubzilla-bf008465ad36797f2349ad2bcea00bdd84f4fcfb.tar.gz
volse-hubzilla-bf008465ad36797f2349ad2bcea00bdd84f4fcfb.tar.bz2
volse-hubzilla-bf008465ad36797f2349ad2bcea00bdd84f4fcfb.zip
Zotlabs\Web\HttpMeta: Declare and init properties.
The $ogproperty was not declared, which triggered a warning in PHP 8.2. Also fixed the initialization of the properties, and removed the now superfluous constructor.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Web/HttpMeta.php13
1 files changed, 3 insertions, 10 deletions
diff --git a/Zotlabs/Web/HttpMeta.php b/Zotlabs/Web/HttpMeta.php
index 7cf93dda9..d12037a51 100644
--- a/Zotlabs/Web/HttpMeta.php
+++ b/Zotlabs/Web/HttpMeta.php
@@ -5,16 +5,9 @@ namespace Zotlabs\Web;
class HttpMeta {
- private $vars = null;
- private $og = null;
-
- function __construct() {
-
- $this->vars = [];
- $this->og = [];
- $this->ogproperties = [];
-
- }
+ private $vars = [];
+ private $og = [];
+ private $ogproperties = [];
//Set Meta Value
// Mode: