Skip to content

Commit 36422d9

Browse files
committed
Use ipl\Stdlib\Events in form subclasses
Recent versions of Icinga PHP Library introduce strict typing that is not satisfied by using `EventEmitterTrait` directly.
1 parent 836498f commit 36422d9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

library/Vspheredb/Web/Table/Objects/VCenterServersTable.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@
1212
use Icinga\Module\Vspheredb\Web\Table\BaseTable;
1313
use Icinga\Module\Vspheredb\Web\Table\SimpleColumn;
1414
use ipl\Html\Html;
15+
use ipl\Stdlib\Events;
1516
use Psr\Http\Message\RequestInterface;
1617

17-
class VCenterServersTable extends BaseTable implements EventEmitterInterface
18+
class VCenterServersTable extends BaseTable
1819
{
19-
use EventEmitterTrait;
20+
use Events;
2021

2122
public const ON_FORM_ACTION = 'formAction';
2223

0 commit comments

Comments
 (0)