Skip to content

Commit

Permalink
Fixed dynamic properties deprecation in PHP 8.2 (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
meirzamoodle authored Mar 9, 2023
1 parent b08ca76 commit 389a551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion h5peditor-file.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
class H5peditorFile {
private $result, $field, $interface;
public $type, $name, $path, $mime, $size;
public $type, $name, $path, $mime, $size, $extension;

/**
* Constructor. Process data for file uploaded through the editor.
Expand Down
2 changes: 1 addition & 1 deletion h5peditor.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class H5peditor {
'ckeditor/ckeditor.js',
);
private $h5p, $storage;
public $ajax, $ajaxInterface;
public $ajax, $ajaxInterface, $content;

/**
* Constructor for the core editor library.
Expand Down

0 comments on commit 389a551

Please sign in to comment.