Passed
Pull Request — master (#25)
by Geoffry Van
05:25
created
src/queries/EmailTemplateQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function withTranslation($language)
38 38
     {
39
-        return $this->with(['translations' => function ($query) use ($language) {
39
+        return $this->with(['translations' => function($query) use ($language) {
40 40
             /* @var ActiveQuery $query */
41 41
             $query->andWhere(['language' => $language]);
42 42
         }]);
Please login to merge, or discard this patch.
src/gii/default/email-template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
            $module = Yii::$app->getModule('email-templates');
58 58
            ?>
59 59
             <?php if ($module): ?>
60
-            <?php foreach(\motion\i18n\helpers\LanguageHelper::getInstance()->getLocales() as $language): ?>
60
+            <?php foreach (\motion\i18n\helpers\LanguageHelper::getInstance()->getLocales() as $language): ?>
61 61
             $this->insert($this->translationTableName, [
62 62
             'templateId'    => $templateId,
63 63
             'language'      => '<?= $language ?>',
Please login to merge, or discard this patch.