[ticket/17010] Resolve phing sniff issues

PHPBB3-17010
This commit is contained in:
Marc Alexander 2022-09-20 17:14:15 +02:00
parent af29f388da
commit 5fba4682c3
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 1 additions and 4 deletions

View file

@ -13,7 +13,6 @@
namespace phpbb\db\migration\data\v400; namespace phpbb\db\migration\data\v400;
use Minishlink\WebPush\VAPID;
use phpbb\db\migration\migration; use phpbb\db\migration\migration;
class add_webpush extends migration class add_webpush extends migration

View file

@ -15,7 +15,6 @@ namespace phpbb\notification\method;
use phpbb\config\config; use phpbb\config\config;
use phpbb\db\driver\driver_interface; use phpbb\db\driver\driver_interface;
use phpbb\json\sanitizer;
use phpbb\notification\type\type_interface; use phpbb\notification\type\type_interface;
use phpbb\user; use phpbb\user;
use phpbb\user_loader; use phpbb\user_loader;
@ -54,7 +53,7 @@ class webpush extends \phpbb\notification\method\messenger_base
* @param string $notification_webpush_table * @param string $notification_webpush_table
* @param string $push_subscriptions_table * @param string $push_subscriptions_table
*/ */
public function __construct(user_loader $user_loader, user $user, config $config, driver_interface $db,string $phpbb_root_path, public function __construct(user_loader $user_loader, user $user, config $config, driver_interface $db, string $phpbb_root_path,
string $php_ext, string $notification_webpush_table, string $push_subscriptions_table) string $php_ext, string $notification_webpush_table, string $push_subscriptions_table)
{ {
parent::__construct($user_loader, $phpbb_root_path, $php_ext); parent::__construct($user_loader, $phpbb_root_path, $php_ext);
@ -250,7 +249,6 @@ class webpush extends \phpbb\notification\method\messenger_base
// @todo: write to log // @todo: write to log
} }
// We're done, empty the queue // We're done, empty the queue
$this->empty_queue(); $this->empty_queue();
} }