@@ -54,8 +54,8 @@ |
||
54 | 54 | |
55 | 55 | $this->mergeConfigFrom(__DIR__.'/../config/apps.php', 'apps'); |
56 | 56 | |
57 | - if (! $this->app['config']->has('apps.domain')) { |
|
58 | - $this->app['config']['apps.domain'] = array_map(function ($url) { |
|
57 | + if (!$this->app['config']->has('apps.domain')) { |
|
58 | + $this->app['config']['apps.domain'] = array_map(function($url) { |
|
59 | 59 | return parse_url($url, PHP_URL_HOST); |
60 | 60 | }, $this->app['config']['apps.url']); |
61 | 61 | } |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! function_exists('is_app')) { |
|
3 | +if (!function_exists('is_app')) { |
|
4 | 4 | /** |
5 | 5 | * Check the current application identifier. |
6 | 6 | * |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | } |
26 | 26 | } |
27 | 27 | |
28 | -if (! function_exists('app_url')) { |
|
28 | +if (!function_exists('app_url')) { |
|
29 | 29 | /** |
30 | 30 | * Generate an absolute URL to the given path. |
31 | 31 | * |