Merge "Clarify release notes for Opera 12.0-12.10 being Grade C"
[lhc/web/wiklou.git] / includes / rcfeed / RedisPubSubFeedEngine.php
index b9023b6..4c011be 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /**
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -20,7 +19,7 @@
  */
 
 /**
- * Emit a recent change notification via Redis Pub/Sub
+ * Send recent change notifications via Redis Pub/Sub
  *
  * If the feed URI contains a path component, it will be used to generate a
  * channel name by stripping the leading slash and replacing any remaining
  *
  * @since 1.22
  */
-class RedisPubSubFeedEngine implements RCFeedEngine {
+class RedisPubSubFeedEngine extends RCFeedEngine {
 
        /**
-        * @see RCFeedEngine::send
+        * @see FormattedRCFeed::send
         */
        public function send( array $feed, $line ) {
                $parsed = wfParseUrl( $feed['uri'] );
                $server = $parsed['host'];
-               $options = array( 'serializer' => 'none' );
+               $options = [ 'serializer' => 'none' ];
                $channel = 'rc';
 
                if ( isset( $parsed['port'] ) ) {