Skip to content

Commit 9dd060c

Browse files
tabunagithub-actions[bot]
authored andcommitted
Fixed code style
1 parent 4c42c63 commit 9dd060c

File tree

9 files changed

+7
-15
lines changed

9 files changed

+7
-15
lines changed

app/Console/Commands/CompareDocument.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected function updateVersion(string $version): void
4242
{
4343
Docs::every($version)->each(function (Docs $docs) {
4444
try {
45-
dispatch(fn() => $docs->update());
45+
dispatch(fn () => $docs->update());
4646
} catch (\Exception $exception) {
4747
// Log a warning if an error occurs during update
4848
$this->warn("Failed to update document: {$exception->getMessage()} {$exception->getFile()} {$exception->getLine()}");

app/Models/DocumentationSection.php

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Illuminate\Database\Eloquent\Concerns\HasUuids;
77
use Illuminate\Database\Eloquent\Factories\HasFactory;
88
use Illuminate\Database\Eloquent\Model;
9-
use Illuminate\Support\Str;
109
use Laravel\Scout\Searchable;
1110

1211
class DocumentationSection extends Model

database/migrations/2024_03_17_133145_create_documentation_sections_table.php

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
use Illuminate\Database\Migrations\Migration;
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
6-
use Illuminate\Support\Str;
76

87
return new class extends Migration
98
{

package-lock.json

+1-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/css/app.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ $input-padding-x: 1rem;
6868

6969
$badge-font-weight: normal;
7070

71-
$modal-backdrop-opacity: 0.675;
71+
$modal-backdrop-opacity: 0.675;
7272

7373
$utilities: (
7474
'line-clamp': (

resources/css/docs.scss

-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ main,
400400
margin: 0 auto;
401401
}
402402

403-
404403
.docs-result-item {
405404
max-height: 300px;
406405

resources/css/reset.scss

+1-3
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,9 @@ img {
9595
}
9696
}
9797

98-
99-
10098
.modal-sheet .modal-dialog {
10199
width: 480px;
102-
transition: bottom .75s ease-in-out;
100+
transition: bottom 0.75s ease-in-out;
103101
}
104102
.modal-sheet .modal-footer {
105103
padding-bottom: 2rem;

resources/js/controllers/search-docs_controller.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Controller} from '@hotwired/stimulus';
1+
import { Controller } from '@hotwired/stimulus';
22

33
export default class extends Controller {
44
static targets = ['text'];
@@ -22,9 +22,9 @@ export default class extends Controller {
2222
}
2323

2424
search() {
25-
clearTimeout(this.timeout)
25+
clearTimeout(this.timeout);
2626
this.timeout = setTimeout(() => {
2727
this.textTarget.form.requestSubmit();
28-
}, 340)
28+
}, 340);
2929
}
3030
}

routes/web.php

-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@
380380
Route::post('/docs/{versionOfDocs}/search', [DocsController::class, 'search'])->name('docs.search');
381381
Route::get('/docs/{page}', fn (string $page) => redirect()->route('docs', ['version' => Docs::DEFAULT_VERSION, 'page' => $page]));
382382

383-
384383
Route::get('nav/docs/{version?}', [DocsController::class, 'navigation'])
385384
->whereIn('version', Docs::SUPPORT_VERSIONS)
386385
->name('nav.docs');

0 commit comments

Comments
 (0)