Fix static
This commit is contained in:
parent
55ae6368ee
commit
aed710af88
2 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ final class TTRSS_APIExtension extends Minz_Extension {
|
||||||
|
|
||||||
#[Override]
|
#[Override]
|
||||||
public function init(): void {
|
public function init(): void {
|
||||||
$this->registerHook('post_update', [self::class, 'postUpdateHook']);
|
$this->registerHook('post_update', [$this, 'postUpdateHook']);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Override]
|
#[Override]
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ final class YouTubeExtension extends Minz_Extension
|
||||||
#[Override]
|
#[Override]
|
||||||
public function init(): void
|
public function init(): void
|
||||||
{
|
{
|
||||||
$this->registerHook('entry_before_display', [self::class, 'embedYouTubeVideo']);
|
$this->registerHook('entry_before_display', [$this, 'embedYouTubeVideo']);
|
||||||
$this->registerHook('check_url_before_add', [self::class, 'convertYoutubeFeedUrl']);
|
$this->registerHook('check_url_before_add', [$this, 'convertYoutubeFeedUrl']);
|
||||||
$this->registerTranslates();
|
$this->registerTranslates();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue