Skip to content

Commit a95cf30

Browse files
authored
Fix StyleCI (#1084)
* Update .styleci.yml * Apply StyleCI fix * Update .styleci.yml * Apply StyleCI fix * Apply StyleCI fix
1 parent 70c3353 commit a95cf30

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

Here.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ final class Here extends AbstractHttpProvider implements Provider
6767
private $useCIT;
6868

6969
/**
70-
* @param HttpClient $client An HTTP adapter.
71-
* @param string $appId An App ID.
72-
* @param string $appCode An App code.
73-
* @param bool $useCIT Use Customer Integration Testing environment (CIT) instead of production.
70+
* @param HttpClient $client an HTTP adapter
71+
* @param string $appId an App ID
72+
* @param string $appCode an App code
73+
* @param bool $useCIT use Customer Integration Testing environment (CIT) instead of production
7474
*/
7575
public function __construct(HttpClient $client, string $appId, string $appCode, bool $useCIT = false)
7676
{

Model/HereAddress.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ final class HereAddress extends Address
4545
private $shape;
4646

4747
/**
48-
* @return null|string
48+
* @return string|null
4949
*/
5050
public function getLocationId()
5151
{
5252
return $this->locationId;
5353
}
5454

5555
/**
56-
* @param null|string $LocationId
56+
* @param string|null $LocationId
5757
*
5858
* @return HereAddress
5959
*/
@@ -66,15 +66,15 @@ public function withLocationId(string $locationId = null): self
6666
}
6767

6868
/**
69-
* @return null|string
69+
* @return string|null
7070
*/
7171
public function getLocationType()
7272
{
7373
return $this->locationType;
7474
}
7575

7676
/**
77-
* @param null|string $LocationType
77+
* @param string|null $LocationType
7878
*
7979
* @return HereAddress
8080
*/
@@ -87,15 +87,15 @@ public function withLocationType(string $locationType = null): self
8787
}
8888

8989
/**
90-
* @return null|string
90+
* @return string|null
9191
*/
9292
public function getLocationName()
9393
{
9494
return $this->locationName;
9595
}
9696

9797
/**
98-
* @param null|string $LocationName
98+
* @param string|null $LocationName
9999
*
100100
* @return HereAddress
101101
*/
@@ -108,15 +108,15 @@ public function withLocationName(string $locationName = null): self
108108
}
109109

110110
/**
111-
* @return null|array
111+
* @return array|null
112112
*/
113113
public function getAdditionalData()
114114
{
115115
return $this->additionalData;
116116
}
117117

118118
/**
119-
* @param null|array $additionalData
119+
* @param array|null $additionalData
120120
*
121121
* @return HereAddress
122122
*/
@@ -133,7 +133,7 @@ public function withAdditionalData(array $additionalData = null): self
133133

134134
/**
135135
* @param string $name
136-
* @param null|mixed $value
136+
* @param mixed|null $value
137137
*
138138
* @return HereAddress
139139
*/
@@ -147,7 +147,7 @@ public function addAdditionalData(string $name, $value = null): self
147147

148148
/**
149149
* @param string $name
150-
* @param null|mixed $default
150+
* @param mixed|null $default
151151
*
152152
* @return mixed
153153
*/
@@ -190,7 +190,7 @@ public function withShape(array $shape = null): self
190190

191191
/**
192192
* @param string $name
193-
* @param null|mixed $value
193+
* @param mixed|null $value
194194
*
195195
* @return HereAddress
196196
*/

Tests/HereTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function testGeocodeWithDefaultAdditionalData()
131131

132132
/**
133133
* Validation of some AdditionalData filters.
134-
* https://developer.here.com/documentation/geocoder/topics/resource-params-additional.html
134+
* https://developer.here.com/documentation/geocoder/topics/resource-params-additional.html.
135135
*
136136
* @throws \Geocoder\Exception\Exception
137137
*/

Tests/IntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function getAppId()
7575
}
7676

7777
/**
78-
* @return string the Here AppCode or substring to be removed from cache.
78+
* @return string the Here AppCode or substring to be removed from cache
7979
*/
8080
protected function getAppCode()
8181
{

0 commit comments

Comments
 (0)