diff --git a/plugins/baser-core/src/Model/Table/ContentFoldersTable.php b/plugins/baser-core/src/Model/Table/ContentFoldersTable.php index 233050892a..490efb130a 100644 --- a/plugins/baser-core/src/Model/Table/ContentFoldersTable.php +++ b/plugins/baser-core/src/Model/Table/ContentFoldersTable.php @@ -87,7 +87,7 @@ public function validationDefault(Validator $validator): Validator * @param EventInterface $event * @param EntityInterface $entity * @param ArrayObject $options - * @return bool + * @return void * @checked * @noTodo * @unitTest @@ -99,7 +99,6 @@ public function beforeSave(EventInterface $event, EntityInterface $entity, Array $this->isMovableTemplate = false; $this->setBeforeRecord($entity->id); } - return parent::beforeSave($event, $entity, $options); } /** diff --git a/plugins/baser-core/src/Model/Table/ContentsTable.php b/plugins/baser-core/src/Model/Table/ContentsTable.php index 42272b3044..e54ba472d4 100644 --- a/plugins/baser-core/src/Model/Table/ContentsTable.php +++ b/plugins/baser-core/src/Model/Table/ContentsTable.php @@ -433,7 +433,7 @@ public function getUniqueName($name, $parentId, $contentId = null) * @param EventInterface $event * @param EntityInterface $entity * @param ArrayObject $options - * @return bool + * @return void * @checked * @noTodo * @unitTest @@ -446,7 +446,6 @@ public function beforeSave(EventInterface $event, EntityInterface $entity, Array if (!empty($entity->name)) { $entity->name = $this->urlEncode(mb_substr(rawurldecode($entity->name), 0, 230, 'UTF-8')); } - return parent::beforeSave($event, $entity, $options); } /** diff --git a/plugins/bc-custom-content/src/Model/Table/CustomLinksTable.php b/plugins/bc-custom-content/src/Model/Table/CustomLinksTable.php index edc6cc9e33..554b34d928 100644 --- a/plugins/bc-custom-content/src/Model/Table/CustomLinksTable.php +++ b/plugins/bc-custom-content/src/Model/Table/CustomLinksTable.php @@ -128,7 +128,6 @@ public function setTreeScope(int $tableId): void */ public function beforeSave(EventInterface $event, EntityInterface $entity, ArrayObject $options) { - parent::beforeSave($event, $entity, $options); if ($entity->isNew()) { $entity->name = $this->getUniqueName($entity->name, $entity->custom_table_id); }