Merge "Type hint against LinkTarget in WatchedItemStore"
[lhc/web/wiklou.git] / includes / session / SessionManagerInterface.php
index 3ab0f43..7c05cfc 100644 (file)
@@ -91,11 +91,14 @@ interface SessionManagerInterface extends LoggerAwareInterface {
         *
         * The return value is such that someone could theoretically do this:
         * @code
-        *  foreach ( $provider->getVaryHeaders() as $header => $options ) {
-        *      $outputPage->addVaryHeader( $header, $options );
-        *  }
+        * foreach ( $provider->getVaryHeaders() as $header => $options ) {
+        *   $outputPage->addVaryHeader( $header, $options );
+        * }
         * @endcode
         *
+        * Note that the $options argument to OutputPage::addVaryHeader() has
+        * been deprecated and should always be null.
+        *
         * @return array
         */
        public function getVaryHeaders();