diff --git a/files/lib/action/FaqSearchAction.class.php b/files/lib/action/FaqSearchAction.class.php index c6bd041..7f1444a 100644 --- a/files/lib/action/FaqSearchAction.class.php +++ b/files/lib/action/FaqSearchAction.class.php @@ -11,7 +11,7 @@ use wcf\http\Helper; use wcf\system\WCF; -class FaqSearchAction implements RequestHandlerInterface +final class FaqSearchAction implements RequestHandlerInterface { public function handle(ServerRequestInterface $request): ResponseInterface { diff --git a/files/lib/data/faq/Question.class.php b/files/lib/data/faq/Question.class.php index efd34f2..b832767 100644 --- a/files/lib/data/faq/Question.class.php +++ b/files/lib/data/faq/Question.class.php @@ -24,7 +24,7 @@ * @property-read int $hasEmbeddedObjects is `1` if the question has embedded objects, otherwise `0` * @property-read int $isMultilingual */ -class Question extends DatabaseObject implements IRouteController, ISearchResultObject +final class Question extends DatabaseObject implements IRouteController, ISearchResultObject { protected FaqCategory $category; diff --git a/files/lib/data/faq/QuestionAction.class.php b/files/lib/data/faq/QuestionAction.class.php index fef5009..6c76387 100644 --- a/files/lib/data/faq/QuestionAction.class.php +++ b/files/lib/data/faq/QuestionAction.class.php @@ -18,7 +18,7 @@ * @method QuestionEditor[] getObjects() * @method QuestionEditor getSingleObject() */ -class QuestionAction extends AbstractDatabaseObjectAction implements ISortableAction, IToggleAction +final class QuestionAction extends AbstractDatabaseObjectAction implements ISortableAction, IToggleAction { use TDatabaseObjectToggle; diff --git a/files/lib/data/faq/QuestionEditor.class.php b/files/lib/data/faq/QuestionEditor.class.php index 1f156a0..148d8f7 100644 --- a/files/lib/data/faq/QuestionEditor.class.php +++ b/files/lib/data/faq/QuestionEditor.class.php @@ -10,7 +10,7 @@ * @method Question getDecoratedObject() * @mixin Question */ -class QuestionEditor extends DatabaseObjectEditor +final class QuestionEditor extends DatabaseObjectEditor { /** * @inheritDoc diff --git a/files/lib/data/faq/QuestionList.class.php b/files/lib/data/faq/QuestionList.class.php index 5e04783..fd01f5d 100644 --- a/files/lib/data/faq/QuestionList.class.php +++ b/files/lib/data/faq/QuestionList.class.php @@ -12,7 +12,7 @@ * @method Question|null search($objectID) * @property Question[] $objects */ -class QuestionList extends DatabaseObjectList +final class QuestionList extends DatabaseObjectList { /** * @inheritDoc diff --git a/files/lib/data/faq/category/FaqCategory.class.php b/files/lib/data/faq/category/FaqCategory.class.php index 68c99af..f9c37a5 100644 --- a/files/lib/data/faq/category/FaqCategory.class.php +++ b/files/lib/data/faq/category/FaqCategory.class.php @@ -17,7 +17,7 @@ * @method FaqCategory[] getParentCategories() * @method static FaqCategory|null getCategory($categoryID) */ -class FaqCategory extends AbstractDecoratedCategory implements IAccessibleObject, ITitledLinkObject +final class FaqCategory extends AbstractDecoratedCategory implements IAccessibleObject, ITitledLinkObject { public const OBJECT_TYPE_NAME = 'dev.tkirch.wsc.faq.category'; diff --git a/files/lib/data/faq/category/FaqCategoryNode.class.php b/files/lib/data/faq/category/FaqCategoryNode.class.php index 30462fd..715bc63 100644 --- a/files/lib/data/faq/category/FaqCategoryNode.class.php +++ b/files/lib/data/faq/category/FaqCategoryNode.class.php @@ -8,7 +8,7 @@ * @method FaqCategory getDecoratedObject() * @mixin FaqCategory */ -class FaqCategoryNode extends CategoryNode +final class FaqCategoryNode extends CategoryNode { /** * @inheritDoc diff --git a/files/lib/data/faq/category/FaqCategoryNodeTree.class.php b/files/lib/data/faq/category/FaqCategoryNodeTree.class.php index a22fde2..c530a49 100644 --- a/files/lib/data/faq/category/FaqCategoryNodeTree.class.php +++ b/files/lib/data/faq/category/FaqCategoryNodeTree.class.php @@ -5,7 +5,7 @@ use wcf\data\category\CategoryNode; use wcf\data\category\CategoryNodeTree; -class FaqCategoryNodeTree extends CategoryNodeTree +final class FaqCategoryNodeTree extends CategoryNodeTree { /** * @inheritDoc diff --git a/files/lib/system/attachment/FaqQuestionAttachmentObjectType.class.php b/files/lib/system/attachment/FaqQuestionAttachmentObjectType.class.php index 160674c..2c9efbe 100644 --- a/files/lib/system/attachment/FaqQuestionAttachmentObjectType.class.php +++ b/files/lib/system/attachment/FaqQuestionAttachmentObjectType.class.php @@ -4,7 +4,7 @@ use wcf\system\WCF; -class FaqQuestionAttachmentObjectType extends AbstractAttachmentObjectType +final class FaqQuestionAttachmentObjectType extends AbstractAttachmentObjectType { /** * @inheritDoc diff --git a/files/lib/system/bbcode/FaqBBCode.class.php b/files/lib/system/bbcode/FaqBBCode.class.php index bd7d78e..5b2abdf 100644 --- a/files/lib/system/bbcode/FaqBBCode.class.php +++ b/files/lib/system/bbcode/FaqBBCode.class.php @@ -6,7 +6,7 @@ use wcf\data\faq\Question; use wcf\system\WCF; -class FaqBBCode extends AbstractBBCode +final class FaqBBCode extends AbstractBBCode { /** * @inheritDoc diff --git a/files/lib/system/category/FaqCategoryType.class.php b/files/lib/system/category/FaqCategoryType.class.php index 880bca6..94c4aac 100644 --- a/files/lib/system/category/FaqCategoryType.class.php +++ b/files/lib/system/category/FaqCategoryType.class.php @@ -2,7 +2,7 @@ namespace wcf\system\category; -class FaqCategoryType extends AbstractCategoryType +final class FaqCategoryType extends AbstractCategoryType { /** * @inheritDoc diff --git a/files/lib/system/search/FaqQuestionSearch.class.php b/files/lib/system/search/FaqQuestionSearch.class.php index 00296d2..db7ff3b 100644 --- a/files/lib/system/search/FaqQuestionSearch.class.php +++ b/files/lib/system/search/FaqQuestionSearch.class.php @@ -7,7 +7,7 @@ use wcf\system\page\PageLocationManager; use wcf\system\WCF; -class FaqQuestionSearch extends AbstractSearchProvider +final class FaqQuestionSearch extends AbstractSearchProvider { protected array $faqCache = []; diff --git a/files/lib/system/worker/FaqQuestionSearchIndexRebuildDataWorker.class.php b/files/lib/system/worker/FaqQuestionSearchIndexRebuildDataWorker.class.php index d3ea918..006634c 100644 --- a/files/lib/system/worker/FaqQuestionSearchIndexRebuildDataWorker.class.php +++ b/files/lib/system/worker/FaqQuestionSearchIndexRebuildDataWorker.class.php @@ -7,7 +7,7 @@ use wcf\data\language\item\LanguageItemList; use wcf\system\search\SearchIndexManager; -class FaqQuestionSearchIndexRebuildDataWorker extends AbstractRebuildDataWorker +final class FaqQuestionSearchIndexRebuildDataWorker extends AbstractRebuildDataWorker { /** * class name for DatabaseObjectList