Add public keyword to methods
[MAILPOET-2413]
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
namespace MailPoet\WP;
|
||||
|
||||
class Readme {
|
||||
static function parseChangelog($readme_txt, $limit = null) {
|
||||
public static function parseChangelog($readme_txt, $limit = null) {
|
||||
// Extract changelog section of the readme.txt
|
||||
preg_match('/== Changelog ==(.*?)(\n==|$)/is', $readme_txt, $changelog);
|
||||
|
||||
|
Reference in New Issue
Block a user