mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/17010] Resolve phing sniff issues
PHPBB3-17010
This commit is contained in:
parent
af29f388da
commit
5fba4682c3
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue