Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Since v0.10.0 this project adheres to [Semantic Versioning](http://semver.org/)
#### Fixed

* Removed null returns from destructors & fixed PHPDoc comments ([#114])
* Fixed sections object initialization warning in PHP 7.4+ ([#118])

### Version 0.13.0 - 2021-07-05

Expand Down Expand Up @@ -130,3 +131,4 @@ Since v0.10.0 this project adheres to [Semantic Versioning](http://semver.org/)
[#109]: https://github.com/hamstar/Wikimate/pull/109
[#111]: https://github.com/hamstar/Wikimate/pull/111
[#114]: https://github.com/hamstar/Wikimate/pull/114
[#118]: https://github.com/hamstar/Wikimate/pull/118
1 change: 1 addition & 0 deletions Wikimate.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ public function __construct($title, $wikimate)
{
$this->wikimate = $wikimate;
$this->title = $title;
$this->sections = new stdClass();
$this->text = $this->getText(true);

if ($this->invalid) {
Expand Down