Everywhere yoda conditions are
This commit is contained in:
1 parent
d74f6d1a53
commit
be0ab98895
213 files changed
+691
-412
No files matched your search
@@ -101,6 +101,7 @@ class Current_Membership_Element extends Base_Element {
|
||||
|
||||
add_wubox();
|
||||
}
|
||||
|
||||
/**
|
||||
* The icon of the UI element.
|
||||
* e.g. return fa fa-search
|
||||
@@ -110,7 +111,7 @@ class Current_Membership_Element extends Base_Element {
|
||||
*/
|
||||
public function get_icon($context = 'block'): string {
|
||||
|
||||
if ($context === 'elementor') {
|
||||
if ('elementor' === $context) {
|
||||
return 'eicon-info-circle-o';
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user