Skip to content

Commit a6f313b

Browse files
committed
style: fix formatting for styleci
1 parent 2464caf commit a6f313b

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

Diff for: framework/core/src/Api/Endpoint/Concerns/ExtractsListingParams.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function defaultExtracts(Context $context): array
103103
return [
104104
'filter' => RequestUtil::extractFilter($context->request),
105105
'sort' => RequestUtil::extractSort($context->request, $this->defaultSort, $this->getAvailableSorts($context)),
106-
'limit' => $limit = (RequestUtil::extractLimit($context->request, $this->limit, $this->maxLimit)),
106+
'limit' => $limit = RequestUtil::extractLimit($context->request, $this->limit, $this->maxLimit),
107107
'offset' => RequestUtil::extractOffset($context->request, $limit),
108108
];
109109
}

Diff for: framework/core/src/Frontend/Content/CorePayload.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
readonly class CorePayload
2121
{
2222
public function __construct(
23-
private LocaleManager $locales,
24-
private MaintenanceMode $maintenance,
23+
private LocaleManager $locales,
24+
private MaintenanceMode $maintenance,
2525
private SettingsRepositoryInterface $settings
2626
) {
2727
}

Diff for: framework/core/src/Http/Middleware/CheckForMaintenanceMode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{
2222
public function __construct(
2323
private MaintenanceMode $maintenance,
24-
private array $exemptRoutes,
24+
private array $exemptRoutes,
2525
) {
2626
}
2727

Diff for: framework/core/src/Install/AdminUser.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
readonly class AdminUser
1616
{
1717
public function __construct(
18-
private string $username,
18+
private string $username,
1919
#[\SensitiveParameter] private string $password,
20-
private string $email
20+
private string $email
2121
) {
2222
$this->validate();
2323
}

Diff for: framework/core/src/Install/DatabaseConfig.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
class DatabaseConfig implements Arrayable
1616
{
1717
public function __construct(
18-
private readonly string $driver,
19-
private readonly ?string $host,
20-
private readonly int $port,
21-
private string $database,
22-
private readonly ?string $username,
18+
private readonly string $driver,
19+
private readonly ?string $host,
20+
private readonly int $port,
21+
private string $database,
22+
private readonly ?string $username,
2323
#[\SensitiveParameter] private readonly ?string $password,
24-
private readonly ?string $prefix
24+
private readonly ?string $prefix
2525
) {
2626
$this->validate();
2727
}

Diff for: framework/core/src/Install/Steps/ConnectToDatabase.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
{
2929
public function __construct(
3030
private DatabaseConfig $dbConfig,
31-
private Closure $store,
32-
private string $basePath
31+
private Closure $store,
32+
private string $basePath
3333
) {
3434
}
3535

Diff for: framework/core/src/Install/Steps/CreateAdminUser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{
2020
public function __construct(
2121
private ConnectionInterface $database,
22-
private AdminUser $admin,
22+
private AdminUser $admin,
2323
#[\SensitiveParameter] private ?string $accessToken = null
2424
) {
2525
}

Diff for: framework/core/src/Install/Steps/RunMigrations.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
{
2020
public function __construct(
2121
private ConnectionInterface $database,
22-
private string $driver,
23-
private string $path
22+
private string $driver,
23+
private string $path
2424
) {
2525
}
2626

Diff for: framework/core/src/Install/Steps/StoreConfig.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
readonly class StoreConfig implements ReversibleStep
1717
{
1818
public function __construct(
19-
private bool $debugMode,
19+
private bool $debugMode,
2020
private DatabaseConfig $dbConfig,
21-
private BaseUrl $baseUrl,
22-
private string $configFile
21+
private BaseUrl $baseUrl,
22+
private string $configFile
2323
) {
2424
}
2525

Diff for: framework/core/src/Install/Steps/WriteSettings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{
1919
public function __construct(
2020
private ConnectionInterface $database,
21-
private array $custom
21+
private array $custom
2222
) {
2323
}
2424

Diff for: framework/core/src/Post/PostRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getIndexForNumber(int $discussionId, int $number, ?User $actor =
100100

101101
// We don't add $number as a binding because for some
102102
// reason doing so makes the bindings go out of order.
103-
->orderByRaw('ABS(CAST(number AS SIGNED) - '. $number .')');
103+
->orderByRaw('ABS(CAST(number AS SIGNED) - '.$number.')');
104104
});
105105

106106
return $query->count();

0 commit comments

Comments
 (0)