Skip to content

Commit a532a29

Browse files
committed
Workaround for an IDE validation bug
1 parent 7e6aa94 commit a532a29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

wcfsetup/install/files/lib/form/AbstractFormBuilderForm.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ protected function setFormAction()
239239
$parameters['object'] = $this->formObject;
240240
} else {
241241
$object = $this->formObject;
242+
\assert($object instanceof IStorableObject);
242243

243244
$parameters['id'] = $object->{$object::getDatabaseTableIndexName()};
244245
}

0 commit comments

Comments
 (0)