Completed
Pull Request — master (#20)
by Philipp
05:07 queued 02:52
created
src/Misc/ConfigList.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@  discard block
 block discarded – undo
11 11
     {
12 12
         $locales = Config::supportedLocales();
13 13
 
14
-        if (empty($locales) || ! is_array($locales)) {
14
+        if (empty($locales) || !is_array($locales)) {
15 15
             throw new SupportedLocalesNotDefined();
16 16
         }
17 17
 
18
-        if (! $key) {
18
+        if (!$key) {
19 19
             return collect($locales);
20 20
         }
21 21
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
             return $this->getAliases($locale);
32 32
         }
33 33
 
34
-        if (! Arr::has($locales, "{$locale}.{$key}")) {
34
+        if (!Arr::has($locales, "{$locale}.{$key}")) {
35 35
             throw new SupportedLocalesNotDefined();
36 36
         }
37 37
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     {
50 50
         $bcp47 = data_get($locales, "{$locale}.regional");
51 51
 
52
-        if (! $bcp47) {
52
+        if (!$bcp47) {
53 53
             return $locale;
54 54
         } //locale is the "minimum" of BCP 47
55 55
 
Please login to merge, or discard this patch.
src/Misc/Url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     protected static function configDomainIsSet(): bool
30 30
     {
31
-        if (! $domain = Config::domain()) {
31
+        if (!$domain = Config::domain()) {
32 32
             return false;
33 33
         } // config was not set
34 34
 
Please login to merge, or discard this patch.