Completed
Push — master ( 519ebd...89ffae )
by Sidney
01:26
created
messages/es/messages.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-	'You must fill at least {min} of the attributes {attributes}.' => 'Se debe completar al menos {min} de los campos {attributes}.',
5
-	' or ' => ' o ',
4
+    'You must fill at least {min} of the attributes {attributes}.' => 'Se debe completar al menos {min} de los campos {attributes}.',
5
+    ' or ' => ' o ',
6 6
 ];
7 7
 
Please login to merge, or discard this patch.
AtLeastValidator.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -82,13 +82,13 @@
 block discarded – undo
82 82
         } elseif (! is_array($this->in) && count(preg_split('/\s*,\s*/', $this->in, -1, PREG_SPLIT_NO_EMPTY)) <= 1) {
83 83
             throw new InvalidConfigException('The `in` parameter must have at least 2 attributes.');
84 84
         }
85
-		if (!isset(Yii::$app->get('i18n')->translations['message*'])) {
86
-			Yii::$app->get('i18n')->translations['message*'] = [
87
-				'class' => PhpMessageSource::className(),
88
-				'basePath' => __DIR__ . '/messages',
89
-				'sourceLanguage' => 'en-US'
90
-			];
91
-		}
85
+        if (!isset(Yii::$app->get('i18n')->translations['message*'])) {
86
+            Yii::$app->get('i18n')->translations['message*'] = [
87
+                'class' => PhpMessageSource::className(),
88
+                'basePath' => __DIR__ . '/messages',
89
+                'sourceLanguage' => 'en-US'
90
+            ];
91
+        }
92 92
         if ($this->message === null) {
93 93
             $this->message = Yii::t('messages', 'You must fill at least {min} of the attributes {attributes}.');
94 94
         }
Please login to merge, or discard this patch.