Skip to content

Commit 7fc7432

Browse files
authored
🚨 Apply PHP CS Fixer fixes (#1219)
1 parent edb5aaf commit 7fc7432

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎Here.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ final class Here extends AbstractHttpProvider implements Provider
121121
* @param string $appCode an App code
122122
* @param bool $useCIT use Customer Integration Testing environment (CIT) instead of production
123123
*/
124-
public function __construct(ClientInterface $client, string $appId = null, string $appCode = null, bool $useCIT = false)
124+
public function __construct(ClientInterface $client, ?string $appId = null, ?string $appCode = null, bool $useCIT = false)
125125
{
126126
$this->appId = $appId;
127127
$this->appCode = $appCode;

‎Model/HereAddress.php‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function getLocationId()
5252
return $this->locationId;
5353
}
5454

55-
public function withLocationId(string $locationId = null): self
55+
public function withLocationId(?string $locationId = null): self
5656
{
5757
$new = clone $this;
5858
$new->locationId = $locationId;
@@ -68,7 +68,7 @@ public function getLocationType()
6868
return $this->locationType;
6969
}
7070

71-
public function withLocationType(string $locationType = null): self
71+
public function withLocationType(?string $locationType = null): self
7272
{
7373
$new = clone $this;
7474
$new->locationType = $locationType;
@@ -84,7 +84,7 @@ public function getLocationName()
8484
return $this->locationName;
8585
}
8686

87-
public function withLocationName(string $locationName = null): self
87+
public function withLocationName(?string $locationName = null): self
8888
{
8989
$new = clone $this;
9090
$new->locationName = $locationName;
@@ -103,7 +103,7 @@ public function getAdditionalData()
103103
/**
104104
* @param array<string, mixed>|null $additionalData
105105
*/
106-
public function withAdditionalData(array $additionalData = null): self
106+
public function withAdditionalData(?array $additionalData = null): self
107107
{
108108
$new = clone $this;
109109

@@ -142,7 +142,7 @@ public function hasAdditionalDataValue(string $name): bool
142142
/**
143143
* @param array<string, mixed>|null $shape
144144
*/
145-
public function withShape(array $shape = null): self
145+
public function withShape(?array $shape = null): self
146146
{
147147
$new = clone $this;
148148

0 commit comments

Comments
 (0)