Merge "Declare visibility on log class related properties"
[lhc/web/wiklou.git] / includes / logging / LogEntry.php
index 0099136..a725402 100644 (file)
@@ -477,7 +477,7 @@ class ManualLogEntry extends LogEntryBase {
        public function insert( IDatabase $dbw = null ) {
                global $wgContLang;
 
-               $dbw = $dbw ? : wfGetDB( DB_MASTER );
+               $dbw = $dbw ?: wfGetDB( DB_MASTER );
                $id = $dbw->nextSequenceValue( 'logging_log_id_seq' );
 
                if ( $this->timestamp === null ) {