Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
JiSoft committed Feb 4, 2025
1 parent 32fe01b commit 0e750b2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/SignNow/Api/Document/Response/Data/FieldValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ public static function fromArray(array $data): self
$data['description'],
$data['scope'],
$data['error_message'] ?? '',
isset($data['display_json_attributes']) ? DisplayJsonAttribute::fromArray($data['display_json_attributes']) : null,
isset($data['display_json_attributes'])
? DisplayJsonAttribute::fromArray($data['display_json_attributes'])
: null,
$data['formula_calculation'] ?? '',
);
}
Expand Down
3 changes: 2 additions & 1 deletion src/SignNow/Api/Document/Response/DocumentGet.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ public function __construct(
private InsertCollection $inserts = new InsertCollection(),
private FieldsDataCollection $fieldsData = new FieldsDataCollection(),
private FieldValidatorCollection $fieldValidators = new FieldValidatorCollection(),
private DocumentGroupTemplateInfoCollection $documentGroupTemplateInfo = new DocumentGroupTemplateInfoCollection(),
private DocumentGroupTemplateInfoCollection $documentGroupTemplateInfo = new
DocumentGroupTemplateInfoCollection(),
) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ public function __construct(
private string $userToUpdate,
private string $replaceWithThisUser = '',
private ?InviteEmail $inviteEmail = null,
private UpdateInviteActionAttributeCollection $updateInviteActionAttributes = new UpdateInviteActionAttributeCollection(),
private UpdateInviteActionAttributeCollection $updateInviteActionAttributes = new
UpdateInviteActionAttributeCollection(),
) {
}

Expand Down
2 changes: 1 addition & 1 deletion src/SignNow/Core/Config/ConfigLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class ConfigLoader
{
const SIGNNOW_API_HOST = 'https://api.signnow.com';
private const SIGNNOW_API_HOST = 'https://api.signnow.com';

public function load(?string $path = null): array
{
Expand Down

0 comments on commit 0e750b2

Please sign in to comment.