Skip to content

Commit d8857b6

Browse files
committed
update to php 8
1 parent dc08135 commit d8857b6

8 files changed

Lines changed: 8 additions & 15 deletions

File tree

app/Console/Commands/SearchStats.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function handle()
6161
}
6262
});
6363
$uniqueTags = array_unique($allTags);
64-
64+
6565
if (count($uniqueTags) > 0) {
6666
$this->newLine();
6767
$this->line("🏷️ Total Unique Tags: <fg=green>" . count($uniqueTags) . "</>");

app/Http/Controllers/DataController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class DataController extends Controller
2222
public function __construct(
2323
protected FileProcessingService $fileProcessingService,
2424
protected DataFeedController $dataFeedController
25-
) {
26-
}
25+
) {}
2726

2827
/**
2928
* Feed data into the system (single document)

app/Http/Controllers/DataFeedController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class DataFeedController extends Controller
1313
{
1414
public function __construct(
1515
protected DataSourceService $dataSourceService
16-
) {
17-
}
16+
) {}
1817

1918
/**
2019
* Get all data from documents and data sources combined

app/Http/Controllers/DataSourceController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class DataSourceController extends Controller
1616
{
1717
public function __construct(
1818
protected DataSourceService $dataSourceService
19-
) {
20-
}
19+
) {}
2120

2221
/**
2322
* Get all data sources

app/Http/Controllers/SearchController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ class SearchController extends Controller
1414
{
1515
public function __construct(
1616
protected DataSourceService $dataSourceService
17-
) {
18-
}
17+
) {}
1918

2019
/**
2120
* Search documents using the Python AI search script

app/Services/DataSource/Drivers/ApiDriver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class ApiDriver extends AbstractDriver
1313
{
1414
public function __construct(
1515
protected DataParserFactory $parserFactory
16-
) {
17-
}
16+
) {}
1817

1918
/**
2019
* Fetch data from API source with authentication

app/Services/DataSource/Drivers/UrlDriver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ class UrlDriver extends AbstractDriver
1313
{
1414
public function __construct(
1515
protected DataParserFactory $parserFactory
16-
) {
17-
}
16+
) {}
1817

1918
/**
2019
* Fetch data from URL source

app/Services/DataSourceService.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ class DataSourceService
1616
*/
1717
public function __construct(
1818
protected DriverManager $driverManager
19-
) {
20-
}
19+
) {}
2120

2221
/**
2322
* Fetch data from a data source

0 commit comments

Comments
 (0)