Skip to content

Commit b92ded0

Browse files
authored
style fixes
1 parent af6d0d0 commit b92ded0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/ExportPostman.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function handle(): void
4343
],
4444
],
4545
'info' => [
46-
'name' => $filename = date('Y_m_d_His') . '_postman',
46+
'name' => $filename = date('Y_m_d_His').'_postman',
4747
'schema' => 'https://schema.getpostman.com/json/collection/v2.1.0/collection.json',
4848
],
4949
'item' => [],
@@ -80,7 +80,7 @@ public function handle(): void
8080

8181
$request = $this->makeItem($route, $method, $routeHeaders);
8282

83-
if (!$structured) {
83+
if (! $structured) {
8484
$this->routes['item'][] = $request;
8585
}
8686

@@ -90,7 +90,7 @@ public function handle(): void
9090
$routeNames = $route->action['as'] ?? null;
9191
$routeNames = explode('.', $routeNames);
9292
$routeNames = array_filter($routeNames, function ($value) use ($not) {
93-
return !is_null($value) && $value !== '' && !in_array($value, $not);
93+
return ! is_null($value) && $value !== '' && ! in_array($value, $not);
9494
});
9595

9696
$destination = end($routeNames);
@@ -127,7 +127,7 @@ protected function ensurePath(array &$root, array $segments, array $request, str
127127

128128
unset($item);
129129

130-
if (!$matched) {
130+
if (! $matched) {
131131
$item = [
132132
'name' => $segment,
133133
'item' => [$request],
@@ -149,8 +149,8 @@ public function makeItem($route, $method, $routeHeaders)
149149
'method' => strtoupper($method),
150150
'header' => $routeHeaders,
151151
'url' => [
152-
'raw' => '{{base_url}}/' . $route->uri(),
153-
'host' => '{{base_url}}/' . $route->uri(),
152+
'raw' => '{{base_url}}/'.$route->uri(),
153+
'host' => '{{base_url}}/'.$route->uri(),
154154
],
155155
],
156156
];

0 commit comments

Comments
 (0)