X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWatchedItemStore.php;h=69a9df2d579b5e1771265edf52f09f350d7c8a53;hb=b3becd3a6113d0dc03023df2dfeaf403bb6da814;hp=06f93c6b99270f4c7d526a7bda8ecf3f0de11a14;hpb=022d6ab817b3e66262d97317e25644fc5b4594af;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WatchedItemStore.php b/includes/WatchedItemStore.php index 06f93c6b99..69a9df2d57 100644 --- a/includes/WatchedItemStore.php +++ b/includes/WatchedItemStore.php @@ -104,7 +104,7 @@ class WatchedItemStore implements StatsdAwareInterface { } $previousValue = $this->deferredUpdatesAddCallableUpdateCallback; $this->deferredUpdatesAddCallableUpdateCallback = $callback; - return new ScopedCallback( function() use ( $previousValue ) { + return new ScopedCallback( function () use ( $previousValue ) { $this->deferredUpdatesAddCallableUpdateCallback = $previousValue; } ); } @@ -127,7 +127,7 @@ class WatchedItemStore implements StatsdAwareInterface { } $previousValue = $this->revisionGetTimestampFromIdCallback; $this->revisionGetTimestampFromIdCallback = $callback; - return new ScopedCallback( function() use ( $previousValue ) { + return new ScopedCallback( function () use ( $previousValue ) { $this->revisionGetTimestampFromIdCallback = $previousValue; } ); } @@ -821,7 +821,7 @@ class WatchedItemStore implements StatsdAwareInterface { // Calls DeferredUpdates::addCallableUpdate in normal operation call_user_func( $this->deferredUpdatesAddCallableUpdateCallback, - function() use ( $job ) { + function () use ( $job ) { $job->run(); } );