Completed
Push — master ( a54fc2...13f2f6 )
by Mārtiņš
01:58
created
src/MessageStorage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function saveTranslations(Translations $translations)
31 31
     {
32 32
         $locale = $translations->getLanguage();
33
-        $domain = (string)$translations->getDomain();
33
+        $domain = (string) $translations->getDomain();
34 34
 
35 35
         if (!$locale) {
36 36
             throw new InvalidTranslationException('Locale is missing');
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
         $item->key = $this->getKey($locale, $domain, $translation);
116 116
         $item->domain = $domain;
117 117
         $item->locale = $locale;
118
-        $item->context = (string)$translation->getContext();
118
+        $item->context = (string) $translation->getContext();
119 119
         $item->original = $translation->getOriginal();
120 120
         $item->translation = $translation->getTranslation();
121 121
         $item->originalPlural = $translation->getPlural();
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
     private function getTranslations(string $locale, $domain, bool $enabledOnly, bool $translatedOnly): Translations
168 168
     {
169
-        $domain = (string)$domain;
169
+        $domain = (string) $domain;
170 170
 
171 171
         $translations = new Translations;
172 172
         $translations->setDomain($domain);
Please login to merge, or discard this patch.