Adamw has submitted this change and it was merged. Change subject: TypesafeEnum PHPDoc: better explanation of final ......................................................................
TypesafeEnum PHPDoc: better explanation of final Change-Id: I4af101c0b223b5892ed8495a387a9c7907185776 --- M includes/TypesafeEnum.php 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: Adamw: Looks good to me, approved jenkins-bot: Verified diff --git a/includes/TypesafeEnum.php b/includes/TypesafeEnum.php index d26c5a9..e4447de 100644 --- a/includes/TypesafeEnum.php +++ b/includes/TypesafeEnum.php @@ -8,8 +8,9 @@ /** * To create some typesafe enums, just extend this class, declare some public - * static properties without setting thier values, then call - * YourClass::setUp(). Also, make your subclass final. + * static properties without setting their values, then call YourClass::setUp(). + * If you want to prevent additional enums of the same type from being created, + * you can make your subclass final. * @see ITypesafeEnum */ abstract class TypesafeEnum implements ITypesafeEnum { -- To view, visit https://gerrit.wikimedia.org/r/133877 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4af101c0b223b5892ed8495a387a9c7907185776 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Campaigns Gerrit-Branch: wip/editorcampaigns Gerrit-Owner: AndyRussG <andrew.green...@gmail.com> Gerrit-Reviewer: Adamw <awi...@wikimedia.org> Gerrit-Reviewer: Ragesoss <rages...@gmail.com> Gerrit-Reviewer: Swalling <swall...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits