Skip to content

Commit

Permalink
mark classes as final
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanashi committed Aug 8, 2024
1 parent e9a4b6a commit 07f1b6e
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion files/lib/action/FaqSearchAction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/Question.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/QuestionAction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/QuestionEditor.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @method Question getDecoratedObject()
* @mixin Question
*/
class QuestionEditor extends DatabaseObjectEditor
final class QuestionEditor extends DatabaseObjectEditor
{
/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/QuestionList.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @method Question|null search($objectID)
* @property Question[] $objects
*/
class QuestionList extends DatabaseObjectList
final class QuestionList extends DatabaseObjectList
{
/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/category/FaqCategory.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/category/FaqCategoryNode.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @method FaqCategory getDecoratedObject()
* @mixin FaqCategory
*/
class FaqCategoryNode extends CategoryNode
final class FaqCategoryNode extends CategoryNode
{
/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion files/lib/data/faq/category/FaqCategoryNodeTree.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use wcf\data\category\CategoryNode;
use wcf\data\category\CategoryNodeTree;

class FaqCategoryNodeTree extends CategoryNodeTree
final class FaqCategoryNodeTree extends CategoryNodeTree
{
/**
* @inheritDoc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use wcf\system\WCF;

class FaqQuestionAttachmentObjectType extends AbstractAttachmentObjectType
final class FaqQuestionAttachmentObjectType extends AbstractAttachmentObjectType
{
/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion files/lib/system/bbcode/FaqBBCode.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use wcf\data\faq\Question;
use wcf\system\WCF;

class FaqBBCode extends AbstractBBCode
final class FaqBBCode extends AbstractBBCode
{
/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion files/lib/system/category/FaqCategoryType.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace wcf\system\category;

class FaqCategoryType extends AbstractCategoryType
final class FaqCategoryType extends AbstractCategoryType
{
/**
* @inheritDoc
Expand Down
2 changes: 1 addition & 1 deletion files/lib/system/search/FaqQuestionSearch.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07f1b6e

Please sign in to comment.