Skip to content

Commit 736c9f1

Browse files
committed
Fix tests
1 parent 8c3dd7b commit 736c9f1

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

notification/method/webpush.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use phpbb\controller\helper;
1616
use phpbb\db\driver\driver_interface;
1717
use phpbb\log\log_interface;
18+
use phpbb\notification\method\base;
1819
use phpbb\notification\type\type_interface;
1920
use phpbb\path_helper;
2021
use phpbb\user;
@@ -26,7 +27,7 @@
2627
* Web Push notification method class
2728
* This class handles sending push messages for notifications
2829
*/
29-
class webpush extends \phpbb\notification\method\base implements extended_method_interface
30+
class webpush extends base implements extended_method_interface
3031
{
3132
/** @var config */
3233
protected $config;
@@ -72,8 +73,6 @@ class webpush extends \phpbb\notification\method\base implements extended_method
7273
public function __construct(config $config, driver_interface $db, log_interface $log, user_loader $user_loader, user $user, path_helper $path_helper,
7374
string $phpbb_root_path, string $php_ext, string $notification_webpush_table, string $push_subscriptions_table)
7475
{
75-
parent::__construct($user_loader, $phpbb_root_path, $php_ext);
76-
7776
$this->config = $config;
7877
$this->db = $db;
7978
$this->log = $log;

0 commit comments

Comments
 (0)