Completed
Push — master ( 04c811...404fbc )
by Elf
02:41
created
src/AppIdentifier.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
             $pattern = '#^https?://'.preg_quote($root, '#').'([\?/].*)?$#';
42 42
             if (preg_match($pattern, $url)) {
43 43
                 $len = strlen($root);
44
-                if (! isset($length) || $length < $len) {
44
+                if (!isset($length) || $length < $len) {
45 45
                     $length = $len;
46 46
                     $identifier = $id;
47 47
                 }
Please login to merge, or discard this patch.
src/AppsServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $this->setupAssets();
42 42
 
43
-        $this->app->rebinding('request', function () {
43
+        $this->app->rebinding('request', function() {
44 44
             AppIdentifier::refresh();
45 45
         });
46 46
     }
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 
59 59
         $this->mergeConfigFrom(__DIR__.'/../config/apps.php', 'apps');
60 60
 
61
-        if (! $this->app['config']->has('apps.domain')) {
62
-            $this->app['config']['apps.domain'] = array_map(function ($url) {
61
+        if (!$this->app['config']->has('apps.domain')) {
62
+            $this->app['config']['apps.domain'] = array_map(function($url) {
63 63
                 return parse_url($url, PHP_URL_HOST);
64 64
             }, $this->app['config']['apps.url']);
65 65
         }
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use ElfSundae\Laravel\Apps\AppIdentifier;
4 4
 
5
-if (! function_exists('app_id')) {
5
+if (!function_exists('app_id')) {
6 6
     /**
7 7
      * Get or check the current application identifier.
8 8
      *
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     }
21 21
 }
22 22
 
23
-if (! function_exists('app_url')) {
23
+if (!function_exists('app_url')) {
24 24
     /**
25 25
      * Generate an absolute URL to the given path.
26 26
      *
Please login to merge, or discard this patch.