Skip to content

Commit ebc0fc1

Browse files
committed
Lint code [LAB-18]
1 parent 96728ee commit ebc0fc1

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

app/Console/Commands/AI/AnalyzeAllWeb.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function handle()
3838
$this->analyzeModels();
3939
$this->info('Imported all web CMS content!');
4040
}
41-
4241
}
4342

4443
protected function analyzeModels()

app/Console/Commands/Import/ImportWebFull.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,15 @@ protected function query($endpoint, $page = 1, $limit = 10)
135135
*/
136136
protected function afterSave($resource)
137137
{
138-
if (in_array(get_class($resource), [
138+
if (
139+
in_array(get_class($resource), [
139140
\App\Models\Web\Article::class,
140141
\App\Models\Web\Highlight::class,
141142
\App\Models\Web\LandingPage::class,
142143
\App\Models\Web\DigitalPublicationArticle::class,
143144
\App\Models\Web\PrintedPublication::class,
144-
])) {
145+
])
146+
) {
145147
$this->generateAndSaveWebEmbeddngs($resource, $this);
146148
}
147149
return $resource;

database/migrations/2025_06_04_101043_add_is_ticketed_to_event_occurrences_table.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class () extends Migration {
98
public function up(): void
109
{
1110
Schema::table('event_occurrences', function (Blueprint $table) {

database/migrations/2025_06_04_153324_add_addition_web_event_fields.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use Illuminate\Database\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
66

7-
return new class extends Migration
8-
{
7+
return new class () extends Migration {
98
public function up(): void
109
{
1110
Schema::table('event_occurrences', function (Blueprint $table) {

0 commit comments

Comments
 (0)