Passed
Push — main ( 0a896f...1b37a8 )
by Razon
12:06
created
Category
src/LocaleParser/HeaderParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
         usort(
40 40
             $langs,
41
-            fn ($a, $b): int =>  $a['quality']==$b['quality'] ? 0 : ($a['quality'] > $b['quality'] ? -1 : 1)
41
+            fn ($a, $b): int =>  $a['quality'] == $b['quality'] ? 0 : ($a['quality'] > $b['quality'] ? -1 : 1)
42 42
         );
43 43
 
44 44
         return $langs[0]['name'];
Please login to merge, or discard this patch.
src/TranslatorService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
         $lock = sprintf("%s::createTranslator", self::class);
69 69
         $this->synchronizer->execute(
70 70
             $lock,
71
-            function () use ($locale) {
71
+            function() use ($locale) {
72 72
                 if (!isset($this->translators[$locale])) {
73 73
                     $this->translators[$locale] = $this->translator->withLocale($locale);
74 74
                 }
Please login to merge, or discard this patch.