Skip to content

Commit 9574f5b

Browse files
committed
fixup! Add types
Remove string types to satisfy existing `ipl-html` base implementation of `isValidEvent()`. This commit will be squashed into the original commit later.
1 parent 9cbb77e commit 9574f5b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

library/Vspheredb/Web/Form/PerfdataConsumerForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function assemble(): void
5454
$this->addButtons(isset($implementation), 'implementation');
5555
}
5656

57-
public function isValidEvent(string $event): bool
57+
public function isValidEvent($event): bool
5858
{
5959
if ($event === self::ON_DELETE) {
6060
return true;

library/Vspheredb/Web/Form/VCenterShipMetricsForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function addConsumerConfig($consumer): void
113113
}
114114
}
115115

116-
public function isValidEvent(string $event): bool
116+
public function isValidEvent($event): bool
117117
{
118118
if ($event === self::ON_DELETE) {
119119
return true;

0 commit comments

Comments
 (0)