Bsitu has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/102358


Change subject: Declare getRevisionType() as abstract in base revision class
......................................................................

Declare getRevisionType() as abstract in base revision class

Every subclass of AbstractRevision should implement this method

Change-Id: I40f52c0206565e3d310c7274f49e9d31dae6c2da
---
M includes/Model/AbstractRevision.php
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/58/102358/1

diff --git a/includes/Model/AbstractRevision.php 
b/includes/Model/AbstractRevision.php
index e9c4ea6..47c4165 100644
--- a/includes/Model/AbstractRevision.php
+++ b/includes/Model/AbstractRevision.php
@@ -149,6 +149,11 @@
        }
 
        /**
+        * Get the revision type
+        */
+       abstract public function getRevisionType();
+
+       /**
         * NOTE: No guarantee is made here regarding if $this is the newest 
revision.  Validation
         * must happen externally.  DB *will* throw an exception if this 
attempts to write to db
         * and it is not the most recent revision.

-- 
To view, visit https://gerrit.wikimedia.org/r/102358
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I40f52c0206565e3d310c7274f49e9d31dae6c2da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to