aboutsummaryrefslogtreecommitdiffstats
path: root/includes/logging/DatabaseLogEntry.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/logging/DatabaseLogEntry.php')
-rw-r--r--includes/logging/DatabaseLogEntry.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/logging/DatabaseLogEntry.php b/includes/logging/DatabaseLogEntry.php
index 7aa85d7b71f3..a5624727d5e1 100644
--- a/includes/logging/DatabaseLogEntry.php
+++ b/includes/logging/DatabaseLogEntry.php
@@ -133,7 +133,7 @@ class DatabaseLogEntry extends LogEntryBase {
/** @var UserIdentity */
protected $performer;
- /** @var array Parameters for log entry */
+ /** @var array|null Parameters for log entry */
protected $params;
/** @var int A rev id associated to the log entry */
@@ -180,7 +180,7 @@ class DatabaseLogEntry extends LogEntryBase {
}
public function getParameters() {
- if ( !isset( $this->params ) ) {
+ if ( $this->params === null ) {
$blob = $this->getRawParameters();
AtEase::suppressWarnings();
$params = LogEntryBase::extractParams( $blob );