Test Failed
Pull Request — master (#5)
by AHMED JOHARI
14:19
created
src/Web/Hook.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
     {
165 165
         $this->method = $method;
166 166
 
167
-        $this->pathUri = Str::contains($url, '/') ? $url : Arr::get($this->hooks, $url.'.'.$method, $url);
167
+        $this->pathUri = Str::contains($url, '/') ? $url : Arr::get($this->hooks, $url . '.' . $method, $url);
168 168
     }
169 169
 
170 170
     /**
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 
255 255
         return [
256 256
             'method' => $this->method,
257
-            'endpoint' => Arr::first($request->getHeader('base_uri')).$request->getUri()->getPath(),
257
+            'endpoint' => Arr::first($request->getHeader('base_uri')) . $request->getUri()->getPath(),
258 258
             'request' => array_merge($this->configs, $this->options),
259 259
             'response' => null,
260 260
         ];
Please login to merge, or discard this patch.
src/Web/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
         if (is_string($config)) {
46 46
             $this->mapConfiguration(
47
-                config($config, config(self::CONF_DIR.$config))
47
+                config($config, config(self::CONF_DIR . $config))
48 48
             );
49 49
         } else {
50 50
             $this->configurable = $this->configurable->merge($config);
Please login to merge, or discard this patch.