Fix php82 deprecation warnings (#121)

* Fixing deprecation message in php 8.2

* Fixing deprecation message in php 8.2 (context: https://php.watch/versions/8.2/dynamic-properties-deprecated)

---------

Co-authored-by: Sanic <sanic@users.noreply.github.com>
This commit is contained in:
Sanic
2023-03-07 15:30:31 +01:00
committed by GitHub
co-authored by Sanic
parent f02349154f
commit fcb2078576
+7
View File
@@ -777,6 +777,10 @@ class XMLPrettyPrinter extends ParserDelegate {
/** represents @string{k=v} */
class StringEntry {
public $filename;
public $name;
public $value;
function __construct($k, $v, $filename) {
$this->name=$k;
$this->value=$v;
@@ -3368,6 +3372,9 @@ usage:
</pre>
*/
class AcademicDisplay {
public $db;
public $entries;
public $title;
function getTitle() { return $this->title; }
function setTitle($title) { $this->title = $title; return $this; }