Document diff/DifferenceEngine.php function
authorYuri Astrakhan <yurik@wikimedia.org>
Mon, 31 Oct 2016 00:26:08 +0000 (20:26 -0400)
committerYuri Astrakhan <yurik@wikimedia.org>
Mon, 31 Oct 2016 00:26:08 +0000 (20:26 -0400)
Change-Id: I999824d8ce569de93fe4c9a889edea582d07611c

includes/diff/DifferenceEngine.php

index 16e9a44..73408ab 100644 (file)
@@ -882,6 +882,10 @@ class DifferenceEngine extends ContextSource {
                        return $result;
                };
 
+               /**
+                * @param Status $status
+                * @throws FatalError
+                */
                $error = function( $status ) {
                        throw new FatalError( $status->getWikiText() );
                };