mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17414] Extend unit test coverage for base class
PHPBB-17414
This commit is contained in:
@@ -198,11 +198,11 @@ class legacy_wrapper implements plugin_interface
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function garbage_collect(int $confirm_type = 0): void
|
||||
public function garbage_collect(confirm_type $confirm_type = confirm_type::UNDEFINED): void
|
||||
{
|
||||
if (method_exists($this->legacy_captcha, 'garbage_collect'))
|
||||
{
|
||||
$this->legacy_captcha->garbage_collect($confirm_type);
|
||||
$this->legacy_captcha->garbage_collect($confirm_type->value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user