build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0 and make pass
[lhc/web/wiklou.git] / includes / jobqueue / jobs / ActivityUpdateJob.php
index 9b08510..4de72a9 100644 (file)
@@ -59,9 +59,7 @@ class ActivityUpdateJob extends Job {
        }
 
        protected function updateWatchlistNotification() {
-               $casTimestamp = ( $this->params['notifTime'] !== null )
-                       ? $this->params['notifTime']
-                       : $this->params['curTime'];
+               $casTimestamp = $this->params['notifTime'] ?? $this->params['curTime'];
 
                $dbw = wfGetDB( DB_MASTER );
                $dbw->update( 'watchlist',