Completed
Push — master ( 39b605...29ab5a )
by Maurício
19s queued 15s
created
src/Loader.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@  discard block
 block discarded – undo
42 42
      *
43 43
      * @static
44 44
      */
45
-    private static Loader|null $instance = null;
45
+    private static Loader | null $instance = null;
46 46
 
47 47
     /**
48 48
      * Factory to return a factory responsible for returning a `CacheInterface`
49 49
      *
50 50
      * @static
51 51
      */
52
-    private static CacheFactoryInterface|null $cacheFactory = null;
52
+    private static CacheFactoryInterface | null $cacheFactory = null;
53 53
 
54 54
     /**
55 55
      * Default gettext domain to use.
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
             }
158 158
 
159 159
             // If the locale name doesn't match POSIX style, just include it as-is.
160
-            if (! in_array($locale, $localeNames, true)) {
160
+            if (!in_array($locale, $localeNames, true)) {
161 161
                 $localeNames[] = $locale;
162 162
             }
163 163
         }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
     /**
169 169
      * Sets factory responsible for composing a `CacheInterface`
170 170
      */
171
-    public static function setCacheFactory(CacheFactoryInterface|null $cacheFactory): void
171
+    public static function setCacheFactory(CacheFactoryInterface | null $cacheFactory): void
172 172
     {
173 173
         self::$cacheFactory = $cacheFactory;
174 174
     }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 
187 187
         $this->domains[$this->locale] ??= [];
188 188
 
189
-        if (! isset($this->domains[$this->locale][$domain])) {
189
+        if (!isset($this->domains[$this->locale][$domain])) {
190 190
             $base = $this->paths[$domain] ?? './';
191 191
 
192 192
             $localeNames = self::listLocales($this->locale);
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      */
245 245
     public function setlocale(string $locale): string
246 246
     {
247
-        if (! empty($locale)) {
247
+        if (!empty($locale)) {
248 248
             $this->locale = $locale;
249 249
         }
250 250
 
Please login to merge, or discard this patch.