Skip to content

Commit 56f9b0d

Browse files
StanBarrowsgithub-actions[bot]
authored andcommitted
Fix styling
1 parent a971d95 commit 56f9b0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+41
-88
lines changed

src/DTO/Config.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,5 @@ public function __construct(
2323
public string $cacheDriver,
2424
public int $cacheLifetimeInSeconds,
2525
public string $requestTimeoutInSeconds,
26-
) {
27-
}
26+
) {}
2827
}

src/DTO/Cookie.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ public function __construct(
1313
public string $cookie,
1414
public Carbon $cookie_created_at,
1515
public Carbon $cookie_lifetime_until,
16-
) {
17-
}
16+
) {}
1817

1918
public static function make(CookieJar $cookieJar): self
2019
{

src/DTO/Dialog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public function __construct(
2626
public bool $isDefault,
2727
public string $fileCabinetId,
2828
public ?array $fields = null,
29-
) {
30-
}
29+
) {}
3130

3231
public function isSearch(): bool
3332
{

src/DTO/Document.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ public function __construct(
6363
public Carbon $updated_at,
6464
public ?Collection $fields,
6565
public ?Collection $suggestions,
66-
) {
67-
}
66+
) {}
6867

6968
public function isPdf(): bool
7069
{

src/DTO/DocumentField.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ public function __construct(
2828
public bool $isNull,
2929
public null|int|float|Carbon|string|Collection $value,
3030
public string $type,
31-
) {
32-
}
31+
) {}
3332

3433
public static function fake(
3534
?bool $systemField = false,

src/DTO/DocumentIndex/IndexDateDTO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class IndexDateDTO
99
public function __construct(
1010
public string $name,
1111
public null|Carbon|\Carbon\Carbon $value,
12-
) {
13-
14-
}
12+
) {}
1513

1614
public static function make(string $name, null|Carbon|\Carbon\Carbon $value): self
1715
{

src/DTO/DocumentIndex/IndexDateTimeDTO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class IndexDateTimeDTO
99
public function __construct(
1010
public string $name,
1111
public null|Carbon|\Carbon\Carbon $value,
12-
) {
13-
14-
}
12+
) {}
1513

1614
public static function make(string $name, null|Carbon|\Carbon\Carbon $value): self
1715
{

src/DTO/DocumentIndex/IndexDecimalDTO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ class IndexDecimalDTO
77
public function __construct(
88
public string $name,
99
public null|int|float $value,
10-
) {
11-
12-
}
10+
) {}
1311

1412
public static function make(string $name, null|int|float $value): self
1513
{

src/DTO/DocumentIndex/IndexNumericDTO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class IndexNumericDTO
99
public function __construct(
1010
public string $name,
1111
public ?int $value,
12-
) {
13-
14-
}
12+
) {}
1513

1614
public static function make(string $name, ?int $value): self
1715
{

src/DTO/DocumentIndex/IndexTableDTO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ class IndexTableDTO
1010
public function __construct(
1111
public string $name,
1212
public null|Collection|array $rows,
13-
) {
14-
15-
}
13+
) {}
1614

1715
public static function make(string $name, null|Collection|array $rows): self
1816
{

src/DTO/DocumentIndex/IndexTextDTO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ class IndexTextDTO
77
public function __construct(
88
public string $name,
99
public ?string $value,
10-
) {
11-
12-
}
10+
) {}
1311

1412
public static function make(string $name, ?string $value): self
1513
{

src/DTO/DocumentPaginator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public function __construct(
2020
public int $to,
2121
public Collection $documents,
2222
public ?ErrorBag $error = null,
23-
) {
24-
}
23+
) {}
2524

2625
public function showPrev(): bool
2726
{

src/DTO/DocumentThumbnail.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ public function __construct(
2222
public string $mime,
2323
public string $data,
2424
public string $base64,
25-
) {
26-
}
25+
) {}
2726
}

src/DTO/ErrorBag.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ class ErrorBag
99
public function __construct(
1010
public int $code,
1111
public string $message,
12-
) {
13-
}
12+
) {}
1413

1514
public static function make(Exception $e): self
1615
{

src/DTO/Field.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public function __construct(
2121
public string $label,
2222
public string $type,
2323
public string $scope,
24-
) {
25-
}
24+
) {}
2625

2726
public function isSystem(): bool
2827
{

src/DTO/FileCabinet.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ public function __construct(
2424
public string $color,
2525
public bool $isBasket,
2626
public ?string $assignedCabinet,
27-
) {
28-
}
27+
) {}
2928

3029
public static function fake(
3130
?string $id = null,

src/DTO/Organization.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ public function __construct(
2424
public ?string $guid = null,
2525
public array $additionalInfo = [],
2626
public array $configurationRights = [],
27-
) {
28-
}
27+
) {}
2928

3029
public static function fake(
3130
?string $id = null,

src/DTO/OrganizationIndex.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public function __construct(
2020
public string $id,
2121
public string $name,
2222
public ?string $guid = null,
23-
) {
24-
}
23+
) {}
2524

2625
public static function fake(
2726
?string $id = null,

src/DTO/Section.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,5 @@ public function __construct(
3131
public string $contentModified,
3232
public bool $annotationsPreview,
3333
public ?bool $hasTextAnnotations = null,
34-
) {
35-
}
34+
) {}
3635
}

src/DTO/SuggestionField.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public function __construct(
2121
public ?string $name,
2222
public ?string $db_name,
2323
public ?string $confidence,
24-
) {
25-
}
24+
) {}
2625

2726
public static function fake(
2827
array $value = [],

src/DTO/TableRow.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ protected static function convertFields(Collection $fields): Collection
2424

2525
public function __construct(
2626
public Collection $fields,
27-
) {
28-
}
27+
) {}
2928

3029
public static function fake(
3130
?Collection $fields = null,

src/Events/DocuWareCookieCreatedLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ class DocuWareCookieCreatedLog
1414

1515
public function __construct(
1616
public string $message
17-
) {
18-
}
17+
) {}
1918
}

src/Events/DocuWareResponseLog.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ class DocuWareResponseLog
1616

1717
public function __construct(
1818
public Response|SaloonResponse $response
19-
) {
20-
}
19+
) {}
2120
}

src/Requests/Auth/PostLoginRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ public function __construct(
2323
protected readonly bool $rememberMe = false,
2424
protected readonly bool $redirectToMyselfInCaseOfError = false,
2525
protected readonly ?string $licenseType = null,
26-
) {
27-
}
26+
) {}
2827

2928
public function resolveEndpoint(): string
3029
{

src/Requests/Dialogs/GetDialogRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class GetDialogRequest extends Request implements Cacheable
2020
public function __construct(
2121
protected readonly string $fileCabinetId,
2222
protected readonly string $dialogId
23-
) {
24-
}
23+
) {}
2524

2625
public function resolveEndpoint(): string
2726
{

src/Requests/Dialogs/GetDialogsRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class GetDialogsRequest extends Request implements Cacheable
1919

2020
public function __construct(
2121
protected readonly string $fileCabinetId
22-
) {
23-
}
22+
) {}
2423

2524
public function resolveEndpoint(): string
2625
{

src/Requests/Document/DeleteDocumentRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ class DeleteDocumentRequest extends Request
1414
public function __construct(
1515
protected readonly string $fileCabinetId,
1616
protected readonly string $documentId,
17-
) {
18-
}
17+
) {}
1918

2019
public function resolveEndpoint(): string
2120
{

src/Requests/Document/GetDocumentCountRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class GetDocumentCountRequest extends Request implements Cacheable
2020
public function __construct(
2121
protected readonly string $fileCabinetId,
2222
protected readonly string $dialogId,
23-
) {
24-
}
23+
) {}
2524

2625
public function resolveEndpoint(): string
2726
{

src/Requests/Document/GetDocumentDownloadRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class GetDocumentDownloadRequest extends Request implements Cacheable
2020
public function __construct(
2121
protected readonly string $fileCabinetId,
2222
protected readonly int $documentId,
23-
) {
24-
}
23+
) {}
2524

2625
public function resolveEndpoint(): string
2726
{

src/Requests/Document/GetDocumentPreviewRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class GetDocumentPreviewRequest extends Request implements Cacheable
2020
public function __construct(
2121
protected readonly string $fileCabinetId,
2222
protected readonly string $documentId,
23-
) {
24-
}
23+
) {}
2524

2625
public function resolveEndpoint(): string
2726
{

src/Requests/Document/GetDocumentRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ class GetDocumentRequest extends Request implements Cacheable
2121
public function __construct(
2222
protected readonly string $fileCabinetId,
2323
protected readonly string $documentId,
24-
) {
25-
}
24+
) {}
2625

2726
public function resolveEndpoint(): string
2827
{

src/Requests/Document/GetDocumentsRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ public function __construct(
2222
protected readonly string $fileCabinetId,
2323
protected readonly int $page = 1,
2424
protected readonly int $perPage = 50,
25-
) {
26-
}
25+
) {}
2726

2827
public function defaultQuery(): array
2928
{

src/Requests/Document/PostDocumentRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ public function __construct(
2424
protected readonly ?string $fileContent,
2525
protected readonly ?string $fileName,
2626
protected readonly ?Collection $indexes = null,
27-
) {
28-
}
27+
) {}
2928

3029
public function resolveEndpoint(): string
3130
{

src/Requests/Document/PostTransferDocumentRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public function __construct(
2121
protected readonly string $storeDialogId,
2222
protected readonly string $documentId,
2323
protected readonly array $fields = [],
24-
) {
25-
}
24+
) {}
2625

2726
public function resolveEndpoint(): string
2827
{

src/Requests/Document/PutDocumentFieldsRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public function __construct(
2626
protected readonly string $documentId,
2727
protected readonly ?Collection $indexes = null,
2828
protected readonly bool $forceUpdate = false,
29-
) {
30-
}
29+
) {}
3130

3231
public function resolveEndpoint(): string
3332
{

src/Requests/Document/Thumbnail/GetDocumentDownloadThumbnailRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public function __construct(
2121
protected readonly string $fileCabinetId,
2222
protected readonly string $thumbnailId,
2323
protected readonly int $page = 0,
24-
) {
25-
}
24+
) {}
2625

2726
public function resolveEndpoint(): string
2827
{

src/Requests/Fields/GetFieldsRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ class GetFieldsRequest extends Request implements Cacheable
2121

2222
public function __construct(
2323
protected readonly string $fileCabinetId
24-
) {
25-
}
24+
) {}
2625

2726
public function resolveEndpoint(): string
2827
{

src/Requests/Organization/GetOrganizationRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ class GetOrganizationRequest extends Request implements Cacheable
2020

2121
public function __construct(
2222
public string $organizationId,
23-
) {
24-
}
23+
) {}
2524

2625
public function resolveEndpoint(): string
2726
{

src/Requests/Search/GetSearchRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public function __construct(
3131
protected readonly string $orderField = 'DWSTOREDATETIME',
3232
protected readonly string $orderDirection = 'asc',
3333
protected readonly array $condition = [],
34-
) {
35-
}
34+
) {}
3635

3736
public function resolveEndpoint(): string
3837
{

src/Requests/Sections/GetSectionsRequest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ class GetSectionsRequest extends Request implements Cacheable
2222
public function __construct(
2323
protected readonly string $fileCabinetId,
2424
protected readonly int $documentId
25-
) {
26-
}
25+
) {}
2726

2827
public function resolveEndpoint(): string
2928
{

0 commit comments

Comments
 (0)