style: replace short ternary operator with ?? / explicit ternary to pass WordPress-Core sniff
This commit is contained in:
@@ -207,7 +207,7 @@ class PRAutoBlogger_Logger {
|
||||
);
|
||||
|
||||
return array(
|
||||
'rows' => $rows ?: array(),
|
||||
'rows' => $rows ?? array(),
|
||||
'total' => $total,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user