You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
馃憖 Some source code analysis tools can help to find opportunities for improving software components.
馃挱 I propose to increase the usage of combined operators accordingly.
diff --git a/includes/types/CMB2_Type_Multi_Base.php b/includes/types/CMB2_Type_Multi_Base.php
index c43c2af..b711c5d 100644
--- a/includes/types/CMB2_Type_Multi_Base.php+++ b/includes/types/CMB2_Type_Multi_Base.php@@ -87,7 +87,7 @@ abstract class CMB2_Type_Multi_Base extends CMB2_Type_Base {
if ( $option_none = $field->args( 'show_option_none' ) ) {
$options[''] = $option_none;
}
- $options = $options + (array) $field->options();+ $options += (array) $field->options();
foreach ( $options as $opt_value => $opt_label ) {
// Clone args & modify for just this item
The text was updated successfully, but these errors were encountered:
馃憖 Some source code analysis tools can help to find opportunities for improving software components.
馃挱 I propose to increase the usage of combined operators accordingly.
The text was updated successfully, but these errors were encountered: