8000 Fix styling · NativePHP/laravel@24c9695 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24c9695

Browse files
simonhampgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 49b7214 commit 24c9695

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/Commands/BundleCommand.php

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,13 @@ public function handle()
4242

4343
if ($this->option('fetch')) {
4444
if (! $this->fetchLatestBundle()) {
45-
$this->warn("Latest bundle not yet available. Try again soon.");
45+
$this->warn('Latest bundle not yet available. Try again soon.');
46+
4647
return static::FAILURE;
4748
}
4849

49-
$this->info("Latest bundle downloaded.");
50+
$this->info('Latest bundle downloaded.');
51+
5052
return static::SUCCESS;
5153
}
5254

@@ -138,21 +140,21 @@ private function finderToZip(Finder $finder, ZipArchive $zip, ?string $path = nu
138140
continue;
139141
}
140142

141-
$zip->addFile($file->getRealPath(), str($path)->finish(DIRECTORY_SEPARATOR) . $file->getRelativePathname());
143+
$zip->addFile($file->getRealPath(), str($path)->finish(DIRECTORY_SEPARATOR).$file->getRelativePathname());
142144
}
143145
}
144146

145147
private function sendToZephpyr()
146148
{
147149
return Http::withToken(config('nativephp-internal.zephpyr.token'))
148150
->attach('archive', fopen($this->zipPath, 'r'), $this->zipName)
149-
->post(str(config('nativephp-internal.zephpyr.host'))->finish('/') . 'api/build/' . $this->key);
151+
->post(str(config('nativephp-internal.zephpyr.host'))->finish('/').'api/build/'.$this->key);
150152
}
151153

152154
private function fetchLatestBundle(): bool
153155
{
154156
$response = Http::withToken(config('nativephp-internal.zephpyr.token'))
155-
->get(str(config('nativephp-internal.zephpyr.host'))->finish('/') . 'api/download/' . $this->key);
157+
->get(str(config('nativephp-internal.zephpyr.host'))->finish('/').'api/download/'.$this->key);
156158

157159
if ($response->failed()) {
158160
return false;

0 commit comments

Comments
 (0)
0