More yoda conditions
This commit is contained in:
@ -1026,7 +1026,7 @@ class Product_Edit_Admin_Page extends Edit_Admin_Page {
|
||||
*/
|
||||
public function get_object() {
|
||||
|
||||
if ($this->object !== null) {
|
||||
if (null !== $this->object) {
|
||||
return $this->object;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user