Use Yoda conditions (and strict comparisons), we must

This commit is contained in:
Ben Goldsworthy 2021-02-21 11:57:56 +00:00
parent 1b084bb52c
commit 2e311ed267
5 changed files with 32 additions and 32 deletions

View file

@ -1057,7 +1057,7 @@ class MCI_Footnotes_Settings {
*/
public static function instance() {
// No instance defined yet, load it.
if ( self::$a_obj_instance === null ) {
if ( ! self::$a_obj_instance ) {
self::$a_obj_instance = new self();
}
// Return a singleton of this class.