Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdavis2001 committed Oct 8, 2024
1 parent 15295fa commit 1515855
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function companyName(): ?string
#[DoNotSerialize]
public function getCompanyName(): string
{
return $this->companyName;
return $this->companyName();
}

#[DoNotSerialize]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ public function jsonSerialize(): mixed
}

#[DoNotSerialize]
public function getCompanyName(): string|null
public function getCompanyName(): ?string
{
return $this->companyName;
return $this->name;
}

#[DoNotSerialize]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

interface TrustCorporationStatusInterface
{
public function getCompanyName(): string|null;
public function getCompanyName(): ?string;

public function getSystemStatus(): bool|string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function returns_2_if_trustCorporation_is_inactive_combined_format_sirius
$email = null,
$firstname = 'trust',
$firstnames = null,
$name = null,
$name = 'XYZ Ltd',
$otherNames = null,
$postcode = 'ABC 123',
$surname = 'test',
Expand Down

0 comments on commit 1515855

Please sign in to comment.