Browse Source

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>
pull/122/head
Sanic 2 years ago
committed by GitHub
parent
commit
fcb2078576
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      bibtexbrowser.php

7
bibtexbrowser.php

@ -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; }

Loading…
Cancel
Save