Passed
Push — master ( 58026a...a54fc2 )
by Mārtiņš
01:54
created
src/MessageStorage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     public function saveTranslations(Translations $translations)
24 24
     {
25 25
         $locale = $translations->getLanguage();
26
-        $domain = (string)$translations->getDomain();
26
+        $domain = (string) $translations->getDomain();
27 27
 
28 28
         foreach ($translations as $v) {
29 29
             $this->saveSingleTranslation($locale, $domain, $v);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         $item->key = $this->getKey($locale, $domain, $translation);
94 94
         $item->domain = $domain;
95 95
         $item->locale = $locale;
96
-        $item->context = (string)$translation->getContext();
96
+        $item->context = (string) $translation->getContext();
97 97
         $item->original = $translation->getOriginal();
98 98
         $item->translation = $translation->getTranslation();
99 99
         $item->originalPlural = $translation->getPlural();
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
     private function getTranslations(string $locale, $domain, bool $enabledOnly): Translations
134 134
     {
135
-        $domain = (string)$domain;
135
+        $domain = (string) $domain;
136 136
 
137 137
         $translations = new Translations;
138 138
         $translations->setDomain($domain);
Please login to merge, or discard this patch.