mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:25:55 +00:00
plugin cleanup re: phpstan 1.0 warnings
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<?php
|
||||
class Hotkeys_Swap_JK extends Plugin {
|
||||
|
||||
private $host;
|
||||
|
||||
function about() {
|
||||
return array(null,
|
||||
"Swap j and k hotkeys (for vi brethren)",
|
||||
@@ -10,8 +8,6 @@ class Hotkeys_Swap_JK extends Plugin {
|
||||
}
|
||||
|
||||
function init($host) {
|
||||
$this->host = $host;
|
||||
|
||||
$host->add_hook($host::HOOK_HOTKEY_MAP, $this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user