File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function loadAll($POST, $skippedRelations = [])
5151 $ condition = [];
5252 $ condition [$ relPKAttr [0 ]] = $ this ->primaryKey ;
5353 foreach ($ relPost as $ relAttr => $ relAttrVal ) {
54- if (in_array ($ relAttr , $ relPKAttr )){
54+ if (in_array ($ relAttr , $ relPKAttr )) {
5555 $ condition [$ relAttr ] = $ relAttrVal ;
5656 }
5757 }
@@ -104,7 +104,7 @@ public function saveAll($skippedRelations = [])
104104 /* @var $records ActiveRecord */
105105 foreach ($ this ->relatedRecords as $ name => $ records ) {
106106
107- if (in_array ($ name , $ skippedRelations )){
107+ if (in_array ($ name , $ skippedRelations )) {
108108 continue ;
109109 }
110110
@@ -397,7 +397,7 @@ public function initI18N()
397397 ];
398398 $ globalConfig = ArrayHelper::getValue (Yii::$ app ->i18n ->translations , "mtrelt* " , []);
399399 if (!empty ($ globalConfig )) {
400- $ config = array_merge ($ config , is_array ($ globalConfig ) ? $ globalConfig : (array )$ globalConfig );
400+ $ config = array_merge ($ config , is_array ($ globalConfig ) ? $ globalConfig : (array ) $ globalConfig );
401401 }
402402 Yii::$ app ->i18n ->translations ["mtrelt* " ] = $ config ;
403403 }
You can’t perform that action at this time.
0 commit comments