Merge "Avoid theoretical division by zero"
[lhc/web/wiklou.git] / includes / deferred / CallableUpdate.php
index c52bb7d..808626d 100644 (file)
@@ -5,12 +5,13 @@
  */
 class MWCallableUpdate implements DeferrableUpdate {
        /**
-        * @var closure/callabck
+        * @var Closure|callable
         */
        private $callback;
 
        /**
         * @param callable $callback
+        * @throws MWException
         */
        public function __construct( $callback ) {
                if ( !is_callable( $callback ) ) {