More yoda conditions
This commit is contained in:
1 parent
d9122a410d
commit
0a4c81c105
97 files changed
+323
-289
No files matched your search
@@ -1089,7 +1089,7 @@ class Checkout_Form extends Base_Model {
|
||||
*/
|
||||
public function get_thank_you_page_id() {
|
||||
|
||||
if ($this->thank_you_page_id === null) {
|
||||
if (null === $this->thank_you_page_id) {
|
||||
$this->thank_you_page_id = $this->get_meta('wu_thank_you_page_id', '');
|
||||
}
|
||||
|
||||
@@ -1118,7 +1118,7 @@ class Checkout_Form extends Base_Model {
|
||||
*/
|
||||
public function get_conversion_snippets() {
|
||||
|
||||
if ($this->conversion_snippets === null) {
|
||||
if (null === $this->conversion_snippets) {
|
||||
$this->conversion_snippets = $this->get_meta('wu_conversion_snippets', '');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user